NAV2013 Upgrade
BenSydney
Member Posts: 56
Hi,
We are in the process of performing a test upgrade for one of our clients.
We are busy with going through the steps and are getting the following error message when we try to do the initial accessing of the database with the RTC (Task 11 in the upgrade documentation):
The SELECT permission was denied on the object 'User Property', database XXXX, schema 'dbo'
We can access the database via the 'Development Environment' without any issues.
Any help with resolving will be greatly appreciated.
Regards,
Ben
We are in the process of performing a test upgrade for one of our clients.
We are busy with going through the steps and are getting the following error message when we try to do the initial accessing of the database with the RTC (Task 11 in the upgrade documentation):
The SELECT permission was denied on the object 'User Property', database XXXX, schema 'dbo'
We can access the database via the 'Development Environment' without any issues.
Any help with resolving will be greatly appreciated.
Regards,
Ben
0
Comments
-
Which one is task 11?0
-
I think it is documented somewhere; you need to be dbowner on the database (the dbo schema).
The reason for this is that we have a few SQL scripts in the upgrade code that need direct access to the database, hence the user WHO runs the upgrade must have full access to the database. So please check if you are set up as dbowner.Bardur Knudsen
Microsoft - Dynamics NAV0 -
Doing the exact same thing today.
Message I get when trying to run the page is:
Microsoft Dynamics NAV Development Environment
There are no NAV Server instances available for this database. You must ensure that a NAV Server instance is running and is configured to use the database before you perform this activity.
OK
I have a servicetier setup and running.
If I try to just run the RTC, I get your error message.
I did use a dbo login when upgrading
0 -
Hi,
Confirming that the user that is attempting to start the data conversion step is 'dbo'.
Any other ideas?
Regards,
Ben0 -
Hi,
I could get passed the problem by changing the login account of the NAV Server service.
It was set to 'Network Service' but if I change to specific user with 'dbo' schema then it works.
Regards,
Ben0 -
I just got it running when logging straight in to the RTC client.
Followed clausl's advice on this post
http://www.mibuso.com/forum/viewtopic.php?t=55197Yes that solved the issue I just did the following:
1. Open SQL Studio
2. Double clicked on the "NT AUTHORITY\NETWORK SERVICE" user under "Security / Logins"
3. Selected "User Mapping"
4. Check marked the database I needed access to
5. And copied in "$ndo$navlistener" into "Default Schema" for selected database
6. And at last checked marked:
db_datareader
db_datawriter
db_ddadmin
Then without restarting service or RTC it just worked
/Claus Lundstrøm
After doing this I got a message that I wasn't a Authorized user :x .
The upgrade does do away with the (2000000053) Windows Access Control and the (2000000054) Windows Login tables when running the upgrade so I guess it kind of makes sense.
Anyways to overcome that I used a modified version of Waldo's script to get into the SQL database.
You have to find the Windows Security ID.
To get the SID, open a command prompt and type:
wmic useraccount get name,sid
Then replace the database, domain/user, and put in the SID in the following script.USE [Database to use]
DECLARE @USERSID uniqueidentifier, @WINDOWSSID nvarchar(119), @USERNAME nvarchar(50)
SET @USERNAME = '<domain\user>'
SET @WINDOWSSID = '<windows security id>'
SET @USERSID = NEWID()
INSERT INTO [dbo].[User]
([User Security ID],[User Name],[Full Name],[State],[Expiry Date],
[Windows Security ID],[Change Password],[License Type])
VALUES
(@USERSID,@USERNAME,'',0,'1753-01-01 00:00:00.000',@WINDOWSSID,0,0)
INSERT INTO [dbo].[User Property]
([User Security ID],[Password],[Name Identifier],[Authentication Key],[WebServices Key],[WebServices Key Expiry Date])
VALUES
(@USERSID,'','','','','1753-01-01 00:00:00.000')
INSERT INTO [dbo].[Access Control]
([User Security ID],[Role ID],[Company Name])
VALUES
(@USERSID,'SUPER','')
GO
Hope it helps.
0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
