Event log error 216

gnaaktgeboren
Member Posts: 18
Hi all,
At a customer site I keep error 216 in the eventlog at random times during the day.
The errorlog says: No access to a disposed object.
Both SQL and NAV2018 are installed on the same server.
Microsoft says that: This event ID is used for various errors that occur when the Microsoft Dynamics NAV Server cannot start or establish a connection to the Dynamics NAV database on SQL Server.
https://docs.microsoft.com/en-us/dynamics-nav/microsoft-dynamics-nav-server-events
We have changed the hostname for SQL to localhost to prevent any network issues but that also did not solve the problem.
Can anyone point in the direction I should be looking?
Thanks is advance.
At a customer site I keep error 216 in the eventlog at random times during the day.
The errorlog says: No access to a disposed object.
Both SQL and NAV2018 are installed on the same server.
Microsoft says that: This event ID is used for various errors that occur when the Microsoft Dynamics NAV Server cannot start or establish a connection to the Dynamics NAV database on SQL Server.
https://docs.microsoft.com/en-us/dynamics-nav/microsoft-dynamics-nav-server-events
We have changed the hostname for SQL to localhost to prevent any network issues but that also did not solve the problem.
Can anyone point in the direction I should be looking?
Thanks is advance.
0
Answers
-
Hi all,
In addition to the question above, the following stacktrace keeps occuring.
Any help would be appreciated.
Message: <ii>Object reference not set to an instance of an object.</ii>
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.IsPermissionCheckNeeded(Boolean readingOnly)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.VerifyPermissions(PermissionMask permissionMask, Boolean checkForEmptyTable)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.IssueFindRequest(DataError errorLevel, Boolean reversed, FindType findType, Boolean useCache)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.FindFirstRecord(DataError errorLevel)
at Microsoft.Dynamics.Nav.Runtime.NavRecord.ALFindFirst(DataError errorLevel)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50002.GetDestinationForProduct_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50002.GetDestinationForProduct(NavText inputUID, NavText inputTray, NavText barcode)
at Microsoft.Dynamics.Nav.BusinessApplication.Page50010.Integrationa58a58BarcodeReceived_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Page50010.Integrationa58a58BarcodeReceived(NavVariant sender, NavDotNet e)
at Microsoft.Dynamics.Nav.BusinessApplication.Integration_Eventhandler_Page50010.BarcodeReceived(Object senderParam, Object eParam)
at Microsoft.Dynamics.Nav.Runtime.NavInteropEventHandlerBase.HandleEvent[TArg1,TArg2](Action`2 innerHandler, TArg1 arg1, TArg2 arg2)
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2147467261
</ii>
the message resource is present but the message is not found in the string/message table
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