Hi Floks,
Presently i have facing below issue for one of my Client .
"The Server "DynamicsNAV71" was unable to process the request. Close the application and start again .
Server instance: DynamicsNAV71
User: XXXXX\XXXXX
Type: System.UnauthorizedAccessException
Message: Access to the path 'C:\ProgramData\Microsoft\Microsoft Dynamics NAV\71\Server\MicrosoftDynamicsNavServer$DynamicsNAV71\assembly\Page46_421.dll' is denied.
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 sourceFileName, String& errors, Assembly& assembly)
at Microsoft.Dynamics.Nav.Runtime.AssemblyGetter.GetAssembly(ObjectType objectType, Int32 objectId)
at Microsoft.Dynamics.Nav.Runtime.NCLCodeLoader.GetApplicationObjectClrType(ObjectType objectType, Int32 objectId)
at Microsoft.Dynamics.Nav.Runtime.NCLMetaApplicationObject.CompileAndLoadClrObject()
at Microsoft.Dynamics.Nav.Runtime.NCLMetadata.GetMetaApplicationObject(ObjectType objectType, Int32 objectId, Boolean requireCompiled)
at Microsoft.Dynamics.Nav.Runtime.NavFormHandle.CreateTarget()
at Microsoft.Dynamics.Nav.Runtime.NavApplicationObjectBaseHandle`1.get_Target()
at Microsoft.Dynamics.Nav.Runtime.NavForm.TryGetUIPart(String uiPartName, NavForm& form)
at Microsoft.Dynamics.Nav.Service.NsDataAccess.Create(ITreeObject parent, NavRecordState state, Boolean instantiateNewForm, Guid parentFormHandle, String parentControlName, Boolean& instantiatedForm)
at Microsoft.Dynamics.Nav.Service.NSFormBatchOpen.Open(NavSession session)
at SyncInvokeOpenForm(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
Source: mscorlib
HResult: -2147024891
NAV Version : NAV 2013 R2 CU 51
NAV SERVICE Account :XXXX\NAV
SQL SERVICE Account : NETWORK SERVICE
1.We provide the full rights permission for both account for that folder.
2.We try to run both service with same Account but no output still Client having same issue .
3.We uninstall and re-install the NAV in that server.
Any Advise?
Regards
Subhashis