I have the same error, but I fixed it by changing the path for reading files from "ConfigFile.xml" to AppDomain.CurrentDomain.BaseDirectory.ToString () + "ConfigFile.xml"
In my case, this error is due to a file path error, because the task manager starts the program from "System32" as the starting path, but in the folder that we thought.
RUTIS Feb 16 '16 at 1:09 2016-02-16 01:09
source share