Reputation: 11
My executable developed on C#, WPF is shared on network. When I input this and run, \192.168.0.15\D$\App\WinApp.exe the application kicks off, but when I just do \192.168.0.15\App\WinApp.exe the application does not kicks off. I have logger implementation in the App() constructor but it does not even reach that point. On the event viewer, got exception code 0xc0000005
Upvotes: 1
Views: 615
Reputation: 8353
0xc0000005
reads a security issue, in fact you cannot run .Net code from a network share unless you explicitly allow for it. I assume that the first invocation is not recognized as a remote share (maybe it is the same machine).
You have many options to solve this:
Upvotes: 1