We have a Test Database. This DB was running perfectly until yesterday and no changes in permissions was made.
We start having this error when execute some pages:
"Either the caller does not have the required permission or the specified path is read-only."
Now we haven't access. Event Log is:
FIRST ERROR
Nombre de registro:Application
Origen: MicrosoftDynamicsNAVServer
Fecha: 22/05/2018 16:29:42
Id. del evento:0
CategorÃa de la tarea:Ninguno
Nivel: Error
Palabras clave:Clásico
Usuario: No disponible
Equipo: NAVISRV.xxxxxxx.local
Descripción:
Server instance: DynamicsNAV70UP
Session type: RoleTailoredClient
Session ID: 3
User: xxxxxxxxx
Type: System.UnauthorizedAccessException
Message: Access to the path 'C:\ProgramData\Microsoft\Microsoft Dynamics NAV\70\Server\MicrosoftDynamicsNavServer$DynamicsNAV70UP\source\Record\Record98.cs' is denied.
StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at Microsoft.Dynamics.Nav.Runtime.AssemblyGetter.DoWriteTheFile(String sourceFileName, String source, Int64 objectTimestamp)
Source: mscorlib
HResult: -2147024891
XML de evento:
<Event xmlns="schemas.microsoft.com/.../event">
<System>
<Provider Name="MicrosoftDynamicsNAVServer" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-05-22T14:29:42.000000000Z" />
<EventRecordID>118046</EventRecordID>
<Channel>Application</Channel>
<Computer>NAVISRV.xxxxxxxxx.local</Computer>
<Security />
</System>
<EventData>
<Data>Server instance: DynamicsNAV70UP
Session type: RoleTailoredClient
Session ID: 3
User: xxxxxxxx
Type: System.UnauthorizedAccessException
Message: Access to the path 'C:\ProgramData\Microsoft\Microsoft Dynamics NAV\70\Server\MicrosoftDynamicsNavServer$DynamicsNAV70UP\source\Record\Record98.cs' is denied.
StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at Microsoft.Dynamics.Nav.Runtime.AssemblyGetter.DoWriteTheFile(String sourceFileName, String source, Int64 objectTimestamp)
Source: mscorlib
HResult: -2147024891
</Data>
</EventData>
</Event>
SECOND ERROR (And application crash):
Nombre de registro:Application
Origen: Application Error
Fecha: 22/05/2018 16:29:42
Id. del evento:1000
CategorÃa de la tarea:(100)
Nivel: Error
Palabras clave:Clásico
Usuario: No disponible
Equipo: NAVISRV.xxxxxxxx.local
Descripción:
Nombre de la aplicación con errores: Microsoft.Dynamics.Nav.Client.exe, versión: 7.0.34298.0, marca de tiempo: 0x5116ba99
Nombre del módulo con errores: KERNELBASE.dll, versión: 6.1.7601.17514, marca de tiempo: 0x4ce7bafa
Código de excepción: 0xe0434352
Desplazamiento de errores: 0x0000b727
Id. del proceso con errores: 0xe270
Hora de inicio de la aplicación con errores: 0x01d3f1d9528ae83d
Ruta de acceso de la aplicación con errores: C:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe
Ruta de acceso del módulo con errores: C:\Windows\syswow64\KERNELBASE.dll
Id. del informe: 90c7b3cd-5dcc-11e8-8be1-00505687704d
XML de evento:
<Event xmlns="schemas.microsoft.com/.../event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-05-22T14:29:42.000000000Z" />
<EventRecordID>118049</EventRecordID>
<Channel>Application</Channel>
<Computer>NAVISRV.xxxxxx.local</Computer>
<Security />
</System>
<EventData>
<Data>Microsoft.Dynamics.Nav.Client.exe</Data>
<Data>7.0.34298.0</Data>
<Data>5116ba99</Data>
<Data>KERNELBASE.dll</Data>
<Data>6.1.7601.17514</Data>
<Data>4ce7bafa</Data>
<Data>e0434352</Data>
<Data>0000b727</Data>
<Data>e270</Data>
<Data>01d3f1d9528ae83d</Data>
<Data>C:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe</Data>
<Data>C:\Windows\syswow64\KERNELBASE.dll</Data>
<Data>90c7b3cd-5dcc-11e8-8be1-00505687704d</Data>
</EventData>
</Event>