|
Subject:
|
Access to the path ... is denied
|
|
Posted By:
|
BenCh
|
Post Date:
|
2/8/2006 12:44:03 PM
|
I have (as well as my other problem in my other post) a problem with the accounts module. The supporting classes in the business tier cannot get to the database connection string because they are denied access to the configuration file. This file resides in d:\inetpub\wwwroot\modules\accounts\module.config
If I run pages using this module, I get a custom error page, displaying the error below...
Error Message:
Access to the path 'D:\Inetpub\wwwroot\Modules\Accounts\Module.config' is denied.
...I have set the permissions on this folder to allow script access, and the web sharing options are set to "share this folder" but for some reasons my classes are still not allowed access to it.
Any ideas?
Many thanks in advance
|
|
Reply By:
|
englere
|
Reply Date:
|
2/10/2006 1:07:52 PM
|
It's an NTFS permission problem. The ASPNET (no period) user needs to have permission to those folders. Right click in Explorer and check the security tab.
|
|
Reply By:
|
JRMotz
|
Reply Date:
|
4/6/2006 11:35:57 PM
|
I am having a similar problem. Now when you say to right click in the explorer are you talking about the IIS explorer in the admin tools?
I am a little confused here. If you could simplify it for my I would appreciate it.
Thanks
|
|
Reply By:
|
Imar
|
Reply Date:
|
4/7/2006 12:43:10 AM
|
For a more detailed explanation that'll clear your confusion in minutes, take a look here: http://imar.spaanjaars.com/QuickDocId.aspx?QUICKDOC=263
HtH,
Imar --------------------------------------- Imar Spaanjaars Everyone is unique, except for me. Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
|
|
Reply By:
|
JRMotz
|
Reply Date:
|
4/14/2006 4:55:23 PM
|
thanks that helped alot
|