web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • Bruce Liao Profile Picture
    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
    Trent Bourgois Profile Picture
    on at
    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
    2,934 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans