Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 May 1st, 2005, 05:44 AM
Registered User
 
Join Date: Aug 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP.NET Website Programming Problem-Design-Solutio

I am using the sample code for this book and have created my own solution using just the Users and Forums modules. However, I have a problem with access to files. I keep getting the error :

An unexpected error has occurred on this page. The system administrators have been notified. Please feel free to contact us with the information surrounding this error.
The error occurred in: http://localhost/forums/Modules/Forums/Default.aspx
Error Message: Access to the path "c:\inetpub\wwwroot\forums\Config\Forums.Confi g" is denied.
--------------------------------------------------------------------------------
Stack Trace:
System.UnauthorizedAccessException: Access to the path "c:\inetpub\wwwroot\forums\Config\Forums.Confi g" is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode) at Wrox.WebModules.Forums.Configuration.ModuleConfig. GetSettings() in C:\Documents and Settings\Mike\My Documents\Visual Studio Projects\forums\Forums.Configuration\Configuration .cs:line 29 at Wrox.WebModules.Forums.Business.Category.GetCatego ries() in C:\Documents and Settings\Mike\My Documents\Visual Studio Projects\forums\Forums.Business\Category.cs:line 95 at Wrox.WebModules.Forums.Web._Default.BindList() in c:\inetpub\wwwroot\forums\modules\forums\default.a spx.cs:line 65 at Wrox.WebModules.Forums.Web._Default.Page_Load(Obje ct sender, EventArgs e) in c:\inetpub\wwwroot\forums\modules\forums\default.a spx.cs:line 53 at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain()

Can anybody tell me what I need to do to get the right access rights for my files?


Cheers,

Mike

 
Old May 2nd, 2005, 01:42 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Could you post the code? I don't have the book.

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Website Programming: Problem - Design - So YourPhobia ASP.NET 1.0 and 1.1 Basics 0 March 5th, 2006 10:15 AM
ASP.NET E-Commerce Programming Problem-Design-Solu kenzhen All Other Wrox Books 1 April 27th, 2005 06:50 AM
ASP.NET E-commerce Programming: Problem - Design - rmccue Wrox Book Feedback 1 February 9th, 2004 09:30 AM
Professional Asp.Net Website Programming Michael Randall All Other Wrox Books 1 January 11th, 2004 10:33 AM
ASP.NET E-Commerce Programming Problem - Design - nodoubt223rd All Other Wrox Books 8 June 30th, 2003 09:29 PM





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