Discussion:
Access to Path Denied
(too old to reply)
frankvfox
2008-08-05 16:35:01 UTC
Permalink
Working in VB 2005 windows application. Want to use a little .ini file to
hold the name of the database server. Placed the .ini file next to the .exe
file. Apparently Server 2003 is telling me I can't access a text file!
First run in VS debug folder then moved to a desktop folder (both .exe and
.ini) and get the same error. I'm running as the administrator.
Anybody else gotten this error before? I'm a developer and clueless when it
comes to this kind of thing. It's never happened before.
Any help will be appreciated.
frankvfox
2008-08-07 02:00:01 UTC
Permalink
Looks like nobody is reading this list. I got around my problem by using an
app.config file. One note ... System.Configuration has to be added to your
project manually in the References section of Solution Explorer. Using just
the Imports statement in the source code won't do it.
Post by frankvfox
Working in VB 2005 windows application. Want to use a little .ini file to
hold the name of the database server. Placed the .ini file next to the .exe
file. Apparently Server 2003 is telling me I can't access a text file!
First run in VS debug folder then moved to a desktop folder (both .exe and
.ini) and get the same error. I'm running as the administrator.
Anybody else gotten this error before? I'm a developer and clueless when it
comes to this kind of thing. It's never happened before.
Any help will be appreciated.
Continue reading on narkive:
Loading...