RTC shuts down after 20 seconds after SP1 installed
creynolds123
Member Posts: 3
Hello all,
This is going to be a long one....sorry...
I have installed SP1 on what will be our production NAV 2009 servers. Please note everything was running fine before SP1.
Now when I launch the RTC it opens up for 20 seconds then I get:
The server "net.tcp://servername:7046/dynamicsnav/Service" is going to shut down. The client application will close.
The RTC then closes.
On the NAV 2009 server I get the following error in the Application Event Log:
Event Type: Error
Event Source: MicrosoftDynamicsNAVServer
Event Category: None
Event ID: 0
Date: 9/22/2009
Time: 3:59:52 PM
User: N/A
Computer: NAV Server Name
Description:
Service:
User: userid
Type: System.Data.SqlClient.SqlException
Class: 14
LineNumber: 1
Number: 229
Server: USINPNDB
State: 5
Source: .Net SqlClient Data Provider
ErrorCode: -2146232060
Message: The SELECT permission was denied on the object 'Object Tracking', database 'database name', schema 'dbo'.
StackTrace:
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.TryExecuteReader()
at Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.CollectTrackingObjects()
at Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.TimerHandler(Object param)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Per another POST from EWIN on this forum I have tried everything in the blog located at:
http://blogs.msdn.com/nav_developer/arc ... -2009.aspx
I did find that the security for the $ndo$navlistner had been removed during the uninstall.
I have reset the permissions per the BLOG but this did not solve the issue.
One final note: I have a test environment setup almost identically (the only difference is the SQL 2008 in Production is clustered and in test it is not), I installed SP1 in the test environment and it works with no issues.
Any help would be appreciated.
Thanks,
CR
This is going to be a long one....sorry...
I have installed SP1 on what will be our production NAV 2009 servers. Please note everything was running fine before SP1.
Now when I launch the RTC it opens up for 20 seconds then I get:
The server "net.tcp://servername:7046/dynamicsnav/Service" is going to shut down. The client application will close.
The RTC then closes.
On the NAV 2009 server I get the following error in the Application Event Log:
Event Type: Error
Event Source: MicrosoftDynamicsNAVServer
Event Category: None
Event ID: 0
Date: 9/22/2009
Time: 3:59:52 PM
User: N/A
Computer: NAV Server Name
Description:
Service:
User: userid
Type: System.Data.SqlClient.SqlException
Class: 14
LineNumber: 1
Number: 229
Server: USINPNDB
State: 5
Source: .Net SqlClient Data Provider
ErrorCode: -2146232060
Message: The SELECT permission was denied on the object 'Object Tracking', database 'database name', schema 'dbo'.
StackTrace:
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.TryExecuteReader()
at Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.CollectTrackingObjects()
at Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.TimerHandler(Object param)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Per another POST from EWIN on this forum I have tried everything in the blog located at:
http://blogs.msdn.com/nav_developer/arc ... -2009.aspx
I did find that the security for the $ndo$navlistner had been removed during the uninstall.
I have reset the permissions per the BLOG but this did not solve the issue.
One final note: I have a test environment setup almost identically (the only difference is the SQL 2008 in Production is clustered and in test it is not), I installed SP1 in the test environment and it works with no issues.
Any help would be appreciated.
Thanks,
CR
0
Answers
-
Hello everyone,
I had to delete the user in SQL and recreate the user and reapply the security per the MSDN SQL scripts and it took care of the issue.
The scripts are located at the link below under the "Enabling the Object Change Listner" section:
http://msdn.microsoft.com/en-us/library/dd301254.aspx
Hope this helps and thanks ELWIN for pointing me in the right direction !!
Thanks,
CR0 -
This was indeed of use to me after installing NAV 2009 R2 (and of course first uninstalling SP1) getting the same errror. However I did not have to apply the full script. Only step 9:creynolds123 wrote:The scripts are located at the link below under the "Enabling the Object Change Listner" section: http://msdn.microsoft.com/en-us/library/dd301254.aspxALTER USER [ReplaceWithNAVServerAccount] WITH DEFAULT_SCHEMA = [$ndo$navlistener]; GRANT SELECT ON [Object Tracking] TO [ReplaceWithNAVServerAccount]; GO
as my ReplaceWithNAVServerAccount, being NT AUTHORITY\NETWORK SERVICE, did already exist.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
- 323 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
