SBX - Search With Button

SBX - Forum Post Title

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

Microsoft Dynamics RMS Forum

Dalar asked a question on 2 Mar 2012 6:56 AM

Question Status

Suggested Answer

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

Reply
Gerald Rothaus responded on 4 Mar 2012 12:00 PM
My Badges

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

Reply
trent.b responded on 5 Mar 2012 6:41 AM
My Badges
Suggested Answer

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.

Reply
Bruce Liao responded on 1 May 2014 2:12 PM
My Badges

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

Reply
trent.b responded on 5 Mar 2012 6:41 AM
My Badges
Suggested Answer

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.

Reply

SBX - Two Col Forum

SBX - Migrated JS