web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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

I have the same question (0)
  • Gerald Rothaus Profile Picture
    2,934 on at

    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

  • Suggested answer
    Trent Bourgois Profile Picture
    Microsoft Employee on at

    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.

  • Bruce Liao Profile Picture
    265 on at

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans