Skip to main content

Notifications

Announcements

No record found.

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

  • Jeff @ Check Point Software Profile Picture
    Jeff @ Check Point ... 13,380 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
    Shawn Hamilton 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
    Shawn Hamilton 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

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans