Groups | Blog | Home
all groups > dotnet windows forms > march 2004 >

dotnet windows forms : Error accessing .config file when using manifest file


Jan Hornych
3/31/2004 7:11:09 PM
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

Brandon Schenz
3/31/2004 8:33:44 PM
Is \\192.168.1.20\myDir\myApp.exe being served by IIS or just a network
share?


[quoted text, click to view]

Jan Hornych
4/1/2004 8:26:07 AM
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

[quoted text, click to view]

AddThis Social Bookmark Button