I am currently having an issue with the "Create Directory" component in a workflow 7.1 project.
I have a project for creating new Active Directory users and their homedrives on the relevant file server.
The AD account is created successfully, however when trying to create a folder on a remote Server the error "Access to path is denied" is displayed.
I have given the workflow service account permission to the folder and when project is ran in debug mode the folder creates succesfully.
I have also tried using the Execute batch component with the "mkdir" command but get the same error.
Does the project run as a different user in debug and published mode ?
Is there any other way to create a folder on a remote server ?
Error Message Displayed Below:
System.Exception: Execution Exception ---> System.Exception: exception component created: ---> LogicBase.Framework.BusinessRuleException: The critical error failed execution on component Create Directory : Access to the path '\\fileserver\users\dept\joe.bloggs' is denied. : at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at LogicBase.Components.Default.IO.CreateDirectory.Run(IData data) at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context) at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunComponent(TLExecutionContext context, IData data, IOrchestrationComponent comp)
--- End of inner exception stack trace ---
at LogicBase.Core.ExecutionEngine.ExceptionComponentDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
--- End of inner exception stack trace ---
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunEngine(List`1 executionQueue)