Error accessing .config file when using manifest file

  • Thread starter Thread starter Jan Hornych
  • Start date Start date
J

Jan Hornych

Hi,
my program is written in .NET as a classic desktop application. I moved the
application to a fileserver now. The server is in the same network, I can
start the application like \\192.168.1.20\myDir\myApp.exe (I configured .Net
Framework permissions to Full Trust for URL file://192.168.1.20/* before).

The problem is that I get an exception when I read values from config file
myApp.exe.config in the same directory (using AppSettingsReader).

After some testing I found, that removing myApp.exe.manifest from the
directory solves the problem. The manifest file contains definition of
CommonControls 6.0.0.0.

I have no idea how these two things can coincident but I need to have both
files there.

Thanks for help,
Jan
 
Just a network share. When I map the share to a drive letter (eg. Z:), it
works fine. Not when using \\server\share\myApp.exe
 
Back
Top