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)

DB Connection Error

(0) ShareShare
ReportReport
Posted on by 40

I have a database connection question.

I recently moved the RMS store database from one server to another. We had a server hardware failure.

I took a backup of the database and retored it on the new server. I setup a new user account for the staff in the store to connect to the database via Store Operations and it all works smoothly. To set the user connction for each computer we edited the Configuration dialogue box in Store Administator and clicked on Test Connection. It worked so Administrator was closed down.

Store Operations Manager works as expected.

We have since opened Store Administrator and tried to Connect to Database.   The error is as follows:

"Cannot execute as the database principal because the principal 'guest' does not exist.  This type of principal cannot be inpersonated or does not exist. "

It is suggesting that the connection is made as 'guest' but I have specified a different user. It's possible that when Administrator makes it's connection it assumes the 'guest' role from some stored function or something coded into the Administrator application or in a stored procedure in the database. I looked for stored procedures in the database and couldn't see anything that I thought might be a problem.

So I'm left wondering if the 'guest' user on the database server requires a certain level of permission in SQL 2012 that may have already been assumed/default in SQL 2000.

At the point of the hardware failure I used a simple PC as a remedial stop-gap until we purchased the new server. This ran SQL 2008 and the problem was not evident there.

Finally, this is not a problem when connecting to the database via SQL Management Studio, so it leads me to believe it is particular to the RMS Administrator program in some way.

Thanks for your help.

*This post is locked for comments

I have the same question (0)
  • Jeff @ Check Point Software Profile Picture
    13,382 on at
    Re: DB Connection Error

    The SQL 2012 version will only work with RMS 2.0.1000 (FP2) or above.

    When you install the FP2, it installs additional SQL2k12 files that are required by RMS to run properly.

  • Shawn Hamilton Profile Picture
    40 on at
    Re: DB Connection Error

    OK,  I'm not interested in bumping this thread and upsetting anyone.  

    I've just added sys_admin role to my SQL user.  It allows me to connect fine and it appears that everything else is ok so far.

    Does anyone see any problems with adding the sys_admin role or am I safe?

    Thanks again.

  • Shawn Hamilton Profile Picture
    40 on at
    Re: DB Connection Error

    Just had a thought...

    Is this referring to the SQL User Accounts created within SQL Managment Studio or the Server (Windows 2008 R2) Accounts?

    ...and if anyone can suggest good Windows 2008 accounts to run the services at, that would be a huge help for me.

    Many thanks

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans