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 April 5th, 2004, 11:33 AM
Registered User
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error: Polls.Config already exists.

I keep getting this error:

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

The error occurred in:


Error Message:

The file "D:\Webpages\Wrox\ThePhileVB\Config\Polls.Config" already exists.

Error Stack:

System.IO.IOException: The file "D:\Webpages\Wrox\ThePhileVB\Config\Polls.Config" already exists.
   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.GetSettings() in D:\Webpages\Wrox\ThePhileVB\WebModules\Polls\Polls.Configuration\ModuleConfig.vb:line 35
   at Wrox.WebModules.Polls.Business.Question.GetCurrentId() in D:\Webpages\Wrox\ThePhileVB\WebModules\Polls\Polls.Business\Question.vb:line 224
   at Wrox.WebModules.Polls.Web.Controls.User.Poll.DataBind() in D:\Webpages\Wrox\ThePhileVB\WebModules\Polls\Poll.ascx.vb:line 260
   at Wrox.WebModules.Polls.Web.Controls.User.Poll.Page_Load(Object sender, EventArgs e) in D:\Webpages\Wrox\ThePhileVB\WebModules\Polls\Poll.ascx.vb:line 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()

Running on Windows XP Pro SP1 with all updates.

Can anyone help?

Old April 7th, 2004, 09:44 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts

Did you give the IUSR_machine account permission to write to that file?

Similar Threads
Thread Thread Starter Forum Replies Last Post
File Already exists Error srsandhu Classic ASP Basics 7 February 23rd, 2007 04:21 PM
Error After Deleting Polls CrassMaestro BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 February 7th, 2007 12:18 AM
Polls.Config is denied. eugz BOOK: ASP.NET Website Programming Problem-Design-Solution 1 November 18th, 2006 08:07 AM
Config error--machine.config sunithavasudevan ASP.NET 1.0 and 1.1 Professional 2 October 10th, 2006 07:14 AM
Polls.Config nabeelalkaff BOOK: ASP.NET Website Programming Problem-Design-Solution 4 September 11th, 2006 09:21 PM

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