The process cannot access the file 'C:\ProgramData\Microsoft\Microsoft Dynamics NAV\90\
jwilder
Member Posts: 263
All of a sudden I cannot start any of my service tiers (fortunately this is in test). Here is the error message:
Server instance: DynamicsNAV90
Tenant ID:
User:
Type: System.IO.IOException
Message: The process cannot access the file 'C:\ProgramData\Microsoft\Microsoft Dynamics NAV\90\Server\MicrosoftDynamicsNavServer$DynamicsNAV90\assembly\Record5407_47.dll' because it is being used by another process.
StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at Microsoft.Dynamics.Nav.Runtime.CSharpCompiler.CompileCSharpSourceToAssembly(String assemblyFileName, String[] sourceFileNames, Boolean deleteAfterRead, String& errors, Assembly& assembly)
at Microsoft.Dynamics.Nav.Runtime.AssemblyGetter.GetAssembly(ObjectType objectType, Int32 objectId, NavAppGroup appGroup)
Source: mscorlib
HResult: -2147024864
The object (in this case Record5407) seems to change each time.
We have 3 services tiers. I have restarted all of them, still same error. I have restarted SQL Server same error. I restarted all of the machines themselves same error. I compiled all objects (some didn't compile but that is nothing new), still same problem. I can't get a service tier to start to run the Object Tracking table. Maybe I should run the Object Tracking table in sql and delete everything and then re-compile again?
Anyone ever run into this?
Server instance: DynamicsNAV90
Tenant ID:
User:
Type: System.IO.IOException
Message: The process cannot access the file 'C:\ProgramData\Microsoft\Microsoft Dynamics NAV\90\Server\MicrosoftDynamicsNavServer$DynamicsNAV90\assembly\Record5407_47.dll' because it is being used by another process.
StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at Microsoft.Dynamics.Nav.Runtime.CSharpCompiler.CompileCSharpSourceToAssembly(String assemblyFileName, String[] sourceFileNames, Boolean deleteAfterRead, String& errors, Assembly& assembly)
at Microsoft.Dynamics.Nav.Runtime.AssemblyGetter.GetAssembly(ObjectType objectType, Int32 objectId, NavAppGroup appGroup)
Source: mscorlib
HResult: -2147024864
The object (in this case Record5407) seems to change each time.
We have 3 services tiers. I have restarted all of them, still same error. I have restarted SQL Server same error. I restarted all of the machines themselves same error. I compiled all objects (some didn't compile but that is nothing new), still same problem. I can't get a service tier to start to run the Object Tracking table. Maybe I should run the Object Tracking table in sql and delete everything and then re-compile again?
Anyone ever run into this?
Jason Wilder
jwilder@stonewallkitchen.com
jwilder@stonewallkitchen.com
0
Answers
-
This sometimes happens if you change service account used to run the NST.
Stop all the NSTs, delete (or move somewhere) everything in C:\ProgramData\Microsoft\Microsoft Dynamics NAV\90\Server\ folder, then restart the services.
SlawekSlawek Guzek - www.yitron.co.uk
Business Central, MS SQL Server, Wherescape RED;0 -
I did try that but it did not work, thanks for the response though!Jason Wilder
jwilder@stonewallkitchen.com0
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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 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
