Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 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 16th, 2009, 05:56 AM
Registered User
 
Join Date: Feb 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Using VWD2008 - can't get started

Hi,

By way of background my experience is in Visual Studio 2005, work with VB.NET and mainly Access databases, with a little bit of SQL.
I do have a MS SBS2003 server with SQL running but on this I have tried to work on the laptop.
I'm interested in using ASP for web database applications, previous web experience is Macromedia Studio 8 - dreamweaver etc.

I did want to use this book with VS2005 but read a thread that suggested it would be better using VWD, so I downloaded the latest Web Platform Installer and followed that through. It seems to have installed without errors. I am working on MS Vista SP1.
I have followed the original App B to set up the WroxUnited app, albeit some menus are slightly different. So I think I've set up the IIS virtual directory, I think SQL has started.

Rather than stumble on in the dark I'm hoping someone can switch on a light or two.

Thanks, Mike

When I try to:
Debug via F5 in VWD - I get this error:
Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. C:\Users\mkirkman\Documents\Visual Studio 2005\Projects\wroxunited\Begin\Chapter02\Web.config 26 (bold is the virtual directory i registered)


If I try to browse to http://localhost/wroxunited i get:
HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.


ModuleIIS Web CoreNotificationBeginRequestHandlerNot yet determinedError Code0x80070005Config ErrorCannot read configuration file due to insufficient permissions Config File\\?\C:\Users\mkirkman\Documents\Visual Studio 2005\Projects\wroxunited\web.config
Requested URLhttp://localhost:80/wroxunitedPhysical PathC:\Users\mkirkman\Documents\Visual Studio 2005\Projects\wroxunitedLogon MethodNot yet determinedLogon UserNot yet determined


... i hope you can help - refer me to the correct material ....
 
Old February 16th, 2009, 03:03 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

IIS 7 is the devil incarnate. Seriously.

I can help you with the first error which may clear up your second error. The first error is because you have not configured your website as an 'Application' under IIS. Start the IIS Manager and under your default website find the directory where your code is, right click on it, and click 'Create Application'. If the folder with your code does not appear in the list you will need to create a virtual directory underneath the Default website node that points to the directory with your code in it.

This tutorial should help you along.

http://www.netomatix.com/Development...iguration.aspx

hth.
-Doug
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================





Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Started... aweTastic SharePoint Development 2 April 10th, 2009 04:42 AM
Getting Started CocoKrish BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 February 5th, 2008 10:09 AM
Getting Started? seananderson Reporting Services 0 August 3rd, 2007 07:45 AM
Getting Started st3ve Javascript How-To 1 February 3rd, 2005 08:49 PM





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