Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 8th, 2006, 01:44 PM
Authorized User
 
Join Date: Jun 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access to the path ... is denied

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

 
Old February 10th, 2006, 02:07 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
 
Old April 6th, 2006, 11:35 PM
Registered User
 
Join Date: Nov 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JRMotz
Default

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
 
Old April 7th, 2006, 12:43 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
 
Old April 14th, 2006, 04:55 PM
Registered User
 
Join Date: Nov 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JRMotz
Default

thanks that helped alot





Similar Threads
Thread Thread Starter Forum Replies Last Post
401.3 Access denied due to Access Control List cforsyth .NET Framework 2.0 8 May 28th, 2009 01:56 PM
access is denied shanwaj ASP.NET 1.0 and 1.1 Basics 0 December 28th, 2007 03:04 AM
Crystal Report in asp.net - path is denied kssiva_s Crystal Reports 0 February 12th, 2005 09:30 AM
Access is Denied khautinh General .NET 1 March 26th, 2004 04:44 PM
Access Denied tys MySQL 0 March 25th, 2004 03:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.