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 October 12th, 2004, 01:49 PM
Registered User
 
Join Date: Sep 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't Run the Code

I have installed the code and corrected the code according to the instructions in readme.txt, but it still does not run. The error message is as follows:

An unexpected error has occurred on this page.The system administrators have been notified.

The error occurred in:
http://localhost/ThePhileVB/Default.aspx

Error Message:
Access to the path "C:\wrox\ThePhileVB\Config\Polls.Config" is denied.

Error Stack:
System.UnauthorizedAccessException: Access to the path "C:\wrox\ThePhileVB\Config\Polls.Config" 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.Polls.Configuration.ModuleConfig.G etSettings() in C:\wrox\ThePhileVB\WebModules\Polls\Polls.Configur ation\ModuleConfig.vb:line 35
   at Wrox.WebModules.Polls.Business.Question.GetCurrent Id() in C:\wrox\ThePhileVB\WebModules\Polls\Polls.Business \Question.vb:line 224
   at Wrox.WebModules.Polls.Web.Controls.User.Poll.DataB ind() in C:\wrox\ThePhileVB\WebModules\Polls\Poll.ascx.vb:l ine 260
   at Wrox.WebModules.Polls.Web.Controls.User.Poll.Page_ Load(Object sender, EventArgs e) in C:\wrox\ThePhileVB\WebModules\Polls\Poll.ascx.vb:l ine 62
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain()

Anyone can help me to resolve the problem?

 
Old October 12th, 2004, 09:08 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

http://p2p.wrox.com/topic.asp?TOPIC_ID=640

http://p2p.wrox.com/topic.asp?TOPIC_ID=4845





Similar Threads
Thread Thread Starter Forum Replies Last Post
Run Code on Install niall29 Visual Basic 2005 Basics 0 October 17th, 2007 11:14 AM
Run code in Macro Corey Access VBA 4 February 5th, 2007 10:54 AM
run code on save?? Vince.Bixby Word VBA 3 December 29th, 2006 04:28 AM
code run in IE but not in FireFox .... help me ! soi den Dreamweaver (all versions) 1 July 18th, 2006 03:09 AM
Better way to run this code harpua Classic ASP Databases 6 February 27th, 2004 03:41 PM





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