Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics RMS (Archived)

Cashier Not Found in Offline Mode

Posted on by Microsoft Employee

Hello,

 

We are testing/familiarizing ourselves with the RMS POS software in prepartion for deploying and training users at several stores.  One of our scenerios is to put the register into offline mode by disconnecting the network cable.  When we did this we got a couple of SQL error messages (expected).  We then restarted the RMS POS software and was informed that it was not connected to the network and was starting in offline mode, as expected.  At this point the login window opens.  When we put in credentials, we are told that the cashier is not found (error 201).  We tried a different set of credentials which also was not found.  We use employee numbers for username and password initially so capitalization isn't an issue.

 

We looked at the local offline database and all of the cashiers are listed in the database table.  We compared the offline cashier data, user names and passwords fields, to the online database and they match.  We are not getting any errors when the register synchs with store database.

 

Can someone please help with this?

 

We are running:

Windows 7 Pro

IE 10

MS RMS 2.0 SP5

SQL Server 2008 R2 Express With Tools SP2

SQL Server 2005 Backward Compatibility stand-alone package

SQLServer2005_BC.msi

Local server: (local)\SQLEXPRESS2008R2

Local database: PGC_RMS_SO_OFFLINE

Thanks,

Terry

*This post is locked for comments

  • Suggested answer
    Liam Neesan Profile Picture
    Liam Neesan 20 on at
    RE: Cashier Not Found in Offline Mode

    I got the same issues. I found one kind of solution.

    Option 1

    GO TO Offline database via SSMS and go to DatabaseMetadata table (right click  -> edit top 200 rows). you can see 4 rows, try to delete 3 of rows except where PropertyName = 'DatabaseConfig'

    if you cannot delete, go to Option 2

    Option 2

    1.Delete Offline database

    2. Recreate Offline database from Store Operation Administrator by choosing master database. then GO TO Offline database via SSMS and go to DatabaseMetadata table (right click  -> edit top 200 rows). you can see 3 rows, Now delete 3 of rows except where PropertyName = 'DatabaseConfig'

    3. Now login to POS by connecting server. Then make Bind close(it will synchronise all data to offline).

    4. Now give the Database connection to a different name(wrong name), set timeout 10 sec(it will fast to connect offline).

    5. Then now you can login succesffully in OFFLINE mode.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Cashier Not Found in Offline Mode

    bump

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Cashier Not Found in Offline Mode

    Thank you for trying to replicate this.  I wonder if it has something to do with Windows 7 Enterprise?  At this point I exactly replicate this on two PCs.  I'll be trying it on 1 or 2 more on Monday.  Its interesting that we can view the encrypted password being encrypted differently between the online and offline modes.

  • RMS Wizard Profile Picture
    RMS Wizard 1,205 on at
    RE: Cashier Not Found in Offline Mode

    I am unable to replicate the problem using these steps on test PCs running Windows 8.1.

    1. Install RMS SO with SQL plus CU5 on register and back office PCs.
    2. Create sample database on back office PC using RMSsample.bck, login to Manager using default cashier (1, Password), add two more cashiers with numbers and alphanumeric passwords.
    3. Create local offline database at register PC using blank RMSdb.bck, configure/test Database and Offline tabs, login to POS, run Z report then login to sync offline with RMSsample.
    4. Set Database connection on register PC to invalid server name and change timeout to 15 to initiate offline faster.
    5. Start POS, offline message appears, login works with any cashier credentials.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Cashier Not Found in Offline Mode

    Well, I think I've found where the problem lies and it looks like it may be a bug in the software.

    We removed all the McAfee VirusScan software, including Host Intrusion Prevention.  We disabled the public and home firewalls.  None of this changed the result that the cashier is not found (error 201).

    I used SQL Server Management Studio (SSMS) to access the offline database and was able to perform reads and writes to different tables.  I created an Access 2007 database with an ODBC link to the cashier table in the offline database.  I was able to read and write to the table.  All this showed me that nothing was blocking, even partially, access to the database or its tables.  It also shows me that the database isn’t corrupted.

    I went to another PC with RMS that has all the security in place.  I disconnected it from the network and got the same result.  This PC was pointed to our very first store and had an account named (Administrator) that is only used for admin stuff.  We’ll this account is really secure with a user name of a single digit and a password of the same single digit.  I tried it and was able to log in.  I was shocked.  It worked.  I checked the network cable to make sure I was still disconnected.  I was.

    I exited RMS POS and tried it again and it still worked.  I exited again and tried some of the credentials I had previous tried and they continued to not work.

    From there I went back into SSMS to look at the cashier table.  I deleted the password for one of the cashiers that wasn’t being found.  Then I started RMS POS, while disconnected, entered the username, left the password blank and clicked OK.  The cashier was found and I was logged in.  I exited POS and restarted it.  This time I entered the username and then clicked Change Password.  I set the password to what it is when connected to the store database.  I clicked OK and was presented with the login screen.  I entered the username and the password I had been using all along and was able to successfully login.

    At this point I went back the SSMS and refreshed the listing for the offline cashier table.  I compared the offline encoded password to the encoded password on the store database.  They were now different.

    After I proved to my self that while I was offline I could repeatedly log in I exited RMS POS.  I then reconnected to the network and started the RMS POS using the same credentials.  It told me the store database was back on line and asked if I wanted to reconnect and upload my transactions.  I said yes and the upload process completed successfully.  All is well.  Not quite, I then entered my opening and closing amount and performed a Z report.  This results in a synchronizing of the offline database with data from the store database, including downloading the cashier table.  This overwrites the password in the offline database with the one in the store database.

    I disconnected again and tried to login again with the credentials that previously worked.  It fails.

    My conclusion is that it appears that the RMS POS software is using one algorithm to encrypt/decrypt the password while connected to the store database and a different one when in offline mode.

    Could someone try this to verify what I found?

    My agency regularly goes to different types of shows where they would use the offline mode.  This needs a solution as we need to be able to do this.

    A very ugly work around would be to create an Access (assuming Access is installed) database that has an auto execute macro that would run a pass through query, pointed at the local offline database.  The query would issue a command to delete all of the passwords in the cashier table.  Or possible and OSQL command to do it.  Like I said, VERY ugly.

    Terry

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Cashier Not Found in Offline Mode

    Still looking at possible network/pc security issues.  I've verified that the offline database is the same version as the software via Store Operations Admin.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Cashier Not Found in Offline Mode

    Hello Nicole,

    That is correct.  I am using the RMSDB.bck file.  I dropped the db and created it again from the file.  When I start RMS it looks for the main store db and doesn't find it (because I disconnected the PC from the network).  It then searches for and finds the offline db (RMS_Offline) and then prompts for the login.  If I change the name of the offline db, say from RMS_Offline to xRMS_Offline, and start RMS I will get an RMS error saying "could not connect to the database".  That tells me that RMS is finding the off line db when it is named RMS_Offline.  I am now looking at some of our agency's security settings to try to determine if SQL traffic is getting blocked somehow.

    Terry

  • Nicole Hellerud Profile Picture
    Nicole Hellerud 1,712 on at
    RE: Cashier Not Found in Offline Mode

    Hello Terry,

    Thank you for your post and updates.

    Are you creating the database using the RMSDB.bck file?

    Thanks,

    Nicole

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Cashier Not Found in Offline Mode

    Ed,

    Thank you for the reply.  I apologize for the delay in responding.  I've ensured that the compatibility pack is install.  That didn't change anything.  So I dropped the offline database, restored a new copy from the DBFiles directory and Z synched it.  I verified that the cashier data was in the offline database.  Tried to login with the network cable disconnected.  Unfortunately I'm getting the same results as described previously.

    Terry

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Cashier Not Found in Offline Mode

    have you also install the Backward Compatibility on the stations?  

    Have you tried to delete the offline database and then create a new one and Z synch again.  

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans