Installation SP1: Service disabled when opening RTC

elwin68
Member Posts: 153
Hello,
This week we have upgraded our servers with NAV2009SP1. After installing NAV2009SP1 the servers are restarted.
Opening a NAV2009SP1-database on server 1 with a RTC works very well.
When opening a NAV2009SP1-database on server 2 with a RTC the following happens:
- The database is opened and the Role Centre is shown.
- After 20 seconds the following error occures:
The server net.[url=tcp://]tcp://[/url]<servername>:7046/<company>/Service is closed. The cliënt will be closed.
- The NAV service on server 2 is not started anymore.
- The event viewer of server 2 shows 4 errors (see attachment)
- Opening the information of the first event will give the following:
Service:
User: <username which is opening the RTC>
Type: System.Data.SqlClient.SqlException
Class: 14
LineNumber: 1
Number: 229
Server: <name of server 2>
State: 5
Source: .Net SqlClient Data Provider
ErrorCode: -2146232060
Message: The SELECT permission was denied on the object 'Object Tracking', database 'DB_NAV2009', schema 'dbo'.
StackTrace:
bij System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
bij System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
bij System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
bij System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
bij System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
bij System.Data.SqlClient.SqlDataReader.get_MetaData()
bij System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
bij System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
bij System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
bij System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
bij System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
bij System.Data.SqlClient.SqlCommand.ExecuteReader()
bij Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.TryExecuteReader()
bij Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.CollectTrackingObjects()
bij Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.TimerHandler(Object param)
To check if the database on server 2 is ok I have copied a good working database from server 1 to server 2.
The same errors occured when opening the database.
Does someone have a clue what can be wrong?
Thanks in advance.
This week we have upgraded our servers with NAV2009SP1. After installing NAV2009SP1 the servers are restarted.
Opening a NAV2009SP1-database on server 1 with a RTC works very well.
When opening a NAV2009SP1-database on server 2 with a RTC the following happens:
- The database is opened and the Role Centre is shown.
- After 20 seconds the following error occures:
The server net.[url=tcp://]tcp://[/url]<servername>:7046/<company>/Service is closed. The cliënt will be closed.
- The NAV service on server 2 is not started anymore.
- The event viewer of server 2 shows 4 errors (see attachment)
- Opening the information of the first event will give the following:
Service:
User: <username which is opening the RTC>
Type: System.Data.SqlClient.SqlException
Class: 14
LineNumber: 1
Number: 229
Server: <name of server 2>
State: 5
Source: .Net SqlClient Data Provider
ErrorCode: -2146232060
Message: The SELECT permission was denied on the object 'Object Tracking', database 'DB_NAV2009', schema 'dbo'.
StackTrace:
bij System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
bij System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
bij System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
bij System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
bij System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
bij System.Data.SqlClient.SqlDataReader.get_MetaData()
bij System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
bij System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
bij System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
bij System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
bij System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
bij System.Data.SqlClient.SqlCommand.ExecuteReader()
bij Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.TryExecuteReader()
bij Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.CollectTrackingObjects()
bij Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.TimerHandler(Object param)
To check if the database on server 2 is ok I have copied a good working database from server 1 to server 2.
The same errors occured when opening the database.
Does someone have a clue what can be wrong?
Thanks in advance.
0
Answers
-
I have found the solution myself.
Look at http://blogs.msdn.com/nav_developer/arc ... -2009.aspx to get the solution.
After adding the $ndo$navlistener in the Default schema field everthing works well.
The strange thing is this problem occures after a deinstallation of NAV209 and installation of NAV2009 SP1 on 1 server. The same deinstallation and installation is done on another server and there the problem does not occure.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions