|
|
 |
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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

November 13th, 2007, 08:25 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

November 13th, 2007, 08:59 PM
|
|
Wrox Author
Points: 12,827, Level: 49 |
|
|
Join Date: Oct 2005
Location: Akron, Ohio, USA.
Posts: 4,029
Thanks: 1
Thanked 42 Times in 42 Posts
|
|
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
================================================== =========
|

November 13th, 2007, 10:44 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Can't I use the server that is built into VWD instead of using IIS?
|

November 13th, 2007, 10:49 PM
|
|
Wrox Author
Points: 12,827, Level: 49 |
|
|
Join Date: Oct 2005
Location: Akron, Ohio, USA.
Posts: 4,029
Thanks: 1
Thanked 42 Times in 42 Posts
|
|
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
================================================== =========
|

November 13th, 2007, 11:18 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

November 15th, 2007, 10:50 AM
|
|
Authorized User
|
|
Join Date: Mar 2007
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

November 15th, 2007, 12:07 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

November 15th, 2007, 01:00 PM
|
|
Authorized User
|
|
Join Date: Mar 2007
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |