21
Views
3
Comments
Solved
An error occurred in task 'Preparing working directories for 'EmployeeMappingSystem''
Application Type
Reactive

Hi all, I am trying to publish my module and getting this error today, previously it was working fine. Can anyone let me know what is causing this error and how to resolve it, Thank you.


Internal Error


An error occurred in task 'Preparing working directories for 'EmployeeMappingSystem'':

Access to the path 'OutSystemsDataGrid.GridAuxFeature.js' is denied.

Details : System.UnauthorizedAccessException: Access to the path 'OutSystemsDataGrid.GridAuxFeature.js' is denied.

   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)

   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)

   at cs#lcbtgtej.cs#ptgljvvj.cs#wmcbxlqe()

   at OutSystems.RuntimeCommon.Retry.<>c__DisplayClass2_0.b__0()

   at OutSystems.RuntimeCommon.Retry.DoWithRetries[T](Func`1 functionToExecute, Int32 maxRetries, Int32 delayBetweenRetriesMs, Action`2 logException)

   at OutSystems.RuntimeCommon.Retry.DoWithRetries(Action actionToExecute, Int32 maxRetries, Int32 delayBetweenRetriesMs, Action`2 logException)

   at cs#lcbtgtej.cs#oohhbgpj(String rl)

   at cs#lcbtgtej.cs#oohhbgpj(String rl)

   at cs#lcbtgtft.Execute(cs#lcbtgtfs input, IMessageBroker messageBroker, SetWorkspaceResult& result)

   at OutSystems.Server.Infrastructure.Tasks.AbstractTask`1.InnerRun(InputType input, IMessageBroker messageBroker, Func`1 executeAction)


Exception Details:

[1] Internal Error: An error occurred in task 'Preparing working directories for 'EmployeeMappingSystem'':

Access to the path 'OutSystemsDataGrid.GridAuxFeature.js' is denied.

Details : System.UnauthorizedAccessException: Access to the path 'OutSystemsDataGrid.GridAuxFeature.js' is denied.

   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)

   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)

   at cs#lcbtgtej.cs#ptgljvvj.cs#wmcbxlqe()

   at OutSystems.RuntimeCommon.Retry.<>c__DisplayClass2_0.b__0()

   at OutSystems.RuntimeCommon.Retry.DoWithRetries[T](Func`1 functionToExecute, Int32 maxRetries, Int32 delayBetweenRetriesMs, Action`2 logException)

   at OutSystems.RuntimeCommon.Retry.DoWithRetries(Action actionToExecute, Int32 maxRetries, Int32 delayBetweenRetriesMs, Action`2 logException)

   at cs#lcbtgtej.cs#oohhbgpj(String rl)

   at cs#lcbtgtej.cs#oohhbgpj(String rl)

   at cs#lcbtgtft.Execute(cs#lcbtgtfs input, IMessageBroker messageBroker, SetWorkspaceResult& result)

   at OutSystems.Server.Infrastructure.Tasks.AbstractTask`1.InnerRun(InputType input, IMessageBroker messageBroker, Func`1 executeAction)

at OutSystems.Server.Infrastructure.Tasks.AbstractTask`1.InnerRun(InputType input, IMessageBroker messageBroker, Func`1 executeAction)

   at OutSystems.Server.Infrastructure.Tasks.AbstractTask`2.Run(InputType input, IMessageBroker messageBroker, OutputType& result)

   at cs#lcbtgtiq.Execute(cs#lcbtgtip input, IMessageBroker messageBroker, PrepareCompileOutput& result)

   at OutSystems.Server.Infrastructure.Tasks.AbstractTask`1.InnerRun(InputType input, IMessageBroker messageBroker, Func`1 executeAction)

   at OutSystems.Server.Infrastructure.Tasks.AbstractTask`2.Run(InputType input, IMessageBroker messageBroker, OutputType& result)

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)

   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)

   at System.Threading.ThreadPoolWorkQueue.Dispatch()

[2] System.UnauthorizedAccessException: Access to the path 'OutSystemsDataGrid.GridAuxFeature.js' is denied.

   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)

   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)

   at cs#lcbtgtej.cs#ptgljvvj.cs#wmcbxlqe()

   at OutSystems.RuntimeCommon.Retry.<>c__DisplayClass2_0.b__0()

   at OutSystems.RuntimeCommon.Retry.DoWithRetries[T](Func`1 functionToExecute, Int32 maxRetries, Int32 delayBetweenRetriesMs, Action`2 logException)

   at OutSystems.RuntimeCommon.Retry.DoWithRetries(Action actionToExecute, Int32 maxRetries, Int32 delayBetweenRetriesMs, Action`2 logException)

   at cs#lcbtgtej.cs#oohhbgpj(String rl)

   at cs#lcbtgtej.cs#oohhbgpj(String rl)

   at cs#lcbtgtft.Execute(cs#lcbtgtfs input, IMessageBroker messageBroker, SetWorkspaceResult& result)

   at OutSystems.Server.Infrastructure.Tasks.AbstractTask`1.InnerRun(InputType input, IMessageBroker messageBroker, Func`1 executeAction)

 

Solution

Let me suggest something quick and easy first which may help to solve this issue. Restart OutSystems services on dev server (or server you are using for publish) then try to publish again.

If the first option is not working, Let say you are trying to publish on dev server so there is a windows user account on this server which is associated with OutSystems servers.

This windows user account should have some privileges on number of directories to perform some read and write operations. The issue now some of these privileges removed from this user on specific directories that why OutSystems deployment service not able to change to mentioned file or directory into error message (as per error its a delete operation ).

So please check and make sure administrator user on this server has full control permission to all OutSystems folder .

Hello,

It seems it access permission on OutSystems server for IIS user used by OutSystems.

You may need help from your system engineers into your team to check server and path mentioned into this access denied error and check permissions of user to this path. User should have read write permission.

Could you explain it bit further?

Solution

Let me suggest something quick and easy first which may help to solve this issue. Restart OutSystems services on dev server (or server you are using for publish) then try to publish again.

If the first option is not working, Let say you are trying to publish on dev server so there is a windows user account on this server which is associated with OutSystems servers.

This windows user account should have some privileges on number of directories to perform some read and write operations. The issue now some of these privileges removed from this user on specific directories that why OutSystems deployment service not able to change to mentioned file or directory into error message (as per error its a delete operation ).

So please check and make sure administrator user on this server has full control permission to all OutSystems folder .

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.