Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 13th, 2007, 08:25 PM
Registered User
 
Join Date: Nov 2007
Location: , , .
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.



  #2 (permalink)  
Old November 13th, 2007, 08:59 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
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
================================================== =========
  #3 (permalink)  
Old November 13th, 2007, 10:44 PM
Registered User
 
Join Date: Nov 2007
Location: , , .
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?

  #4 (permalink)  
Old November 13th, 2007, 10:49 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
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
================================================== =========
  #5 (permalink)  
Old November 13th, 2007, 11:18 PM
Registered User
 
Join Date: Nov 2007
Location: , , .
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.

  #6 (permalink)  
Old November 15th, 2007, 10:50 AM
Authorized User
 
Join Date: Mar 2007
Location: , , .
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.


  #7 (permalink)  
Old November 15th, 2007, 12:07 PM
Registered User
 
Join Date: Nov 2007
Location: , , .
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.

  #8 (permalink)  
Old November 15th, 2007, 01:00 PM
Authorized User
 
Join Date: Mar 2007
Location: , , .
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.



 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:29 AM.


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