Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 November 13th, 2007, 08:25 PM
Registered User
 
Join Date: Nov 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Visual Web Developer 2005 Express Edition - Limits

I am using Visual web developer and I am getting the following error:

"Error 102 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."

It seems that I am getting this error because VWD doesn't support multi-project solutions. Can someone help?

Thank you.



 
Old November 13th, 2007, 08:59 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

This has nothing to do with VWD. Goto Start --> Run --> Inetmgr to open the IIS console and right click on the directory that contains your website and make sure that it is configured as an application. (This process will vary on Vista)

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========
 
Old November 13th, 2007, 10:44 PM
Registered User
 
Join Date: Nov 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can't I use the server that is built into VWD instead of using IIS?

 
Old November 13th, 2007, 10:49 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

Hmm you got me there, I do not use Cassini at all. Check out google: http://www.google.com/search?hl=en&r...as+application

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========
 
Old November 13th, 2007, 11:18 PM
Registered User
 
Join Date: Nov 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Let me try to be a little more specific.

The source code for TheBeerHouse is contained a folder named "TheBeerHouse". The folder contains a solution file and 4 sub-folders many of which contain project files.

The reason why I think that my problem might be related to a limitation in VWD regarding multi-projects solutions is because if I open up the TBH_Web folder in VWD then I am able to build the application without a problem (using the built-in server). I only get the error mentioned above if I open the "TheBeerHouse" folder in VWD.

On the other hand, it might have s/t to do with IIS, because before I installed IIS on my computer I don't think I got the error.

 
Old November 15th, 2007, 10:50 AM
Authorized User
 
Join Date: Mar 2007
Posts: 39
Thanks: 0
Thanked 1 Time in 1 Post
Default

I get the same error. VWD can't create/build solutions, you need full version of VS to do solutions. Just open TBH_Web as a project in VWD and you will be fine.


 
Old November 15th, 2007, 12:07 PM
Registered User
 
Join Date: Nov 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's fine for running the code; however, I can't recreate the project myself by following the steps in the book. The author says that VWD can be used - so there must be a way.

 
Old November 15th, 2007, 01:00 PM
Authorized User
 
Join Date: Mar 2007
Posts: 39
Thanks: 0
Thanked 1 Time in 1 Post
Default

You can just open TBH_CustomEvents as a project to view/edit the code. If I remember correctly - VWD cannot compile TBH_CustomEvents to DLL, but you can download a command utility that VS uses to create DLL's if you really want to make your own DLL.

I did not bother with trying to create the CustomEvents.dll so I can't be sure about the exact procedure.

Hope this helps.








Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Web Developer 2008.. Express Edition Neamat .NET Framework 3.5 14 August 3rd, 2008 09:47 AM
Visual Basic 2005 Express Edition thomasks BOOK: Beginning VB.NET Databases 8 January 3rd, 2007 02:11 AM
Microsoft Visual Web Developer 2005 Express Editio FT BOOK: ASP.NET Website Programming Problem-Design-Solution 10 April 24th, 2006 12:25 AM
SQL Server 2005 Express with Visual Web Developer steffteo SQL Server 2005 1 March 19th, 2006 04:28 PM
ASP.Net 2.0 Visual Web Developer 2005 Express Ed cpanson BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 2 February 26th, 2006 12:36 PM





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