Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

"Run-Time Error '91': Object variable or with block variable not set"

(0) ShareShare
ReportReport
Posted on by 100

I get this issue in Store Operations POS at random events. Have not seen this run time error before. Someone that has a clue?

 

Best Regards David Larsson

*This post is locked for comments

  • Bruce Liao Profile Picture
    Bruce Liao 265 on at
    RE: "Run-Time Error '91': Object variable or with block variable not set"

    We have same issue, but after we remove current 401 WS and issue a new one, problem solved....

  • Suggested answer
    Re: "Run-Time Error '91': Object variable or with block variable not set"

    Hello Dalar,

    Thank you for your questions.

    Thank you Gerald for providing some steps to try.

    Have you completed the steps in this article? :

    Error message is randomly displayed in Microsoft Dynamics RMS Store Operations: "Error 91 Object Block or Variable Not defined"
    https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;EN-US;2020106

    Let us know if you have any other questions.

  • Gerald Rothaus Profile Picture
    Gerald Rothaus 2,930 on at
    Re: "Run-Time Error '91': Object variable or with block variable not set"

    This error is generally an indication that something is missing from a query, like 'select * from item where [id]=' & somthing & ';", but it could also mean it it lost a data connection (those are the most common) so it begs a lot of questions about your database, how you got your data in there, hoq is your sql connection done, is the open rowset checked on your surface area config ( a common faux pas).

    How did you get your data into rms?

    Is your network solid?

    We need more info.

    Hope that helps a little.

    -Jerry

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,403 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans