FATAL NServiceBus Failure to process messages
System.UnauthorizedAccessException: Access to the path is denied.
i have a simple setup with 2 console projects, one sends a command, the other handles, works fine.
I also have a web api, in the web api (local IIS, dev machine), i have the same console code in my global.asax file.
But when i run i get spammed with the same message, full stack trace below:
2017-12-14 15:58:28.699 FATAL NServiceBus Failure to process messages System.UnauthorizedAccessException: Access to the path is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost) at NServiceBus.DirectoryBasedTransaction.BeginTransaction(String incomingFilePath) at NServiceBus.LearningTransportMessagePump.<InnerProcessMessages>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at NServiceBus.LearningTransportMessagePump.<ProcessMessages>d__6.MoveNext() Event 7 was called with 5 argument(s) , but it is defined with 6 paramenter(s).
Anyone have an idea why this would happen? I can provide some code if required but its fairly simple beginner implimentation