.NET web site permission and FP03

D

Dennis

Hi

I am trying to run a .NET web site that gets data from a mdb. The server map
path is set to the root directory of IIS so I have put the mdb in
http://localhost/inetpub/wwwroot/_database. When I try to access pages that
retrieve data from the mdb I get a "Access denied to 'c:\inetpub\wwwroot"
error. I added write permissions to the web site directory in IIS (5.1) and
created an application. I tried to run the pages again and got "Access
denied to 'c:\inetpub\wwwroot\clt_gain\" which is the web site location. I
have checked permissions on the _database directory and that looks fine.
This site used to work on a previous XP install.

I have reinstalled XP and published the old site to localhost from a backup
(from HD not from CD). The drive is NTFS. I have also tried republishing
site to localhost from backup again, rebooted PC and IIS.

Any Ideas???
 
B

Bob Lehmann

The AspNet user account needs change permissions on the directory.
You should also reconsider the use of wwwroot as the location of your DB.

Bob Lehmann
 
D

Dennis

Thanks, I'll have a look at the permissions again. I would like to change
the location of the db but all the server path mapping on each asp.net page
would have to change so we plan to do this in the next build of the web
site.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top