Wrox Programmer Forums
|
BOOK: Professional VB.NET, 2nd Edition or 2003
This is the forum to discuss the Wrox book Professional VB.NET, 2nd Edition by Fred Barwell, Richard Case, Bill Forgey, Billy Hollis, Tim McCarthy, Jonathan Pinnock, Richard Blair, Jonathan Crossland, Whitney Hankison, Rockford Lhotka, Jan D. Narkiewicz, Rama Ramachandran, Matthew Reynolds, John Roth, Bill Sheldon, Bill Sempf; ISBN: 9780764544002
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional VB.NET, 2nd Edition or 2003 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 May 21st, 2005, 09:34 PM
Registered User
 
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default chap 15 web controls needs iis6?

"I am working with the examples from vb.net 2003 pro. i am on windows xp using iis5 and vs.net 2003 academic ed.
i can't get the examples from chap 15 to work. I am guessing that all asp.net 1.1 examples are made to work with iis6 only?
is this true? if so what are my cheapest options for getting iis6 up and running.

i'm not really interested in learning asp.net 1.1 so much as just trying out the examples from the book. specifically
the "Simple Web User Control" example.

thanks in advance for any suggestions...."
 
Old May 22nd, 2005, 05:09 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

.NET 1.1 will run successfully on IIS 5.1 (on Windows XP IIS is 5.1, not 5), so AFAIK, there is no need to use IIS6 for the example. (To get IIS 6, you'd need to install Windows Server 2003)

Get you provide more details? E.g. what exactly is going wrong, and what error do you get?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Mesh by New Order (Track 3 from the album: Substance - Disc 2) What's This?
 
Old May 22nd, 2005, 08:36 AM
Registered User
 
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i hope you are right because i really cannot afford to buy windows 2003 server right now.

anyway when i try to load the example (from chap 15) i get the following error

"Visual Studio .NET cannot create or open the application. The likeliest problem is that required components are not installed on the local Web server. Run Visual Studio .NET setup and add the Web Development component."

(I have already tried installing iis 5.1 with all the options as well as vs.Net 2003 Academic Edition with all the options. I also have sql server 2000 installed too.)
 
Old May 22nd, 2005, 08:56 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

This sounds like a mismatch between your local IIS settings and the location you're trying to open the project from.

When you open a solution, VS.NET tries to locate the files from the folder mapped to the virtual application location of the solution. So, when the existing solution assumes something like http://localhost/WebApplication1, the project files must be located on the physical folder that maps to http://localhost/WebApplication1, which is usually c:\inetpub\wwwroot\WebApplication1.

There are a few ways to fix this:

1. Move the solution files from the book to under your web root, so the mappings are correct. Then use the Open Project command to open the project.

2. Create a new, empty ASP.NET web site using File | New Project. Once the project is ready, drag the necessary files (.aspx, .vb, .cs, ascx, .config etc etc) from a Windows Explorer into Visual Studio in your Web Project. That adds the original files to your new web project.

And yes, I am right. I do all my ASP.NET development on Windows XP.

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old May 24th, 2005, 08:29 AM
Registered User
 
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks so much for helping! yes your advice worked!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Pro PHP Chap 15 kgmcmillen Pro PHP 1 April 20th, 2006 02:38 PM
chap 15 manal_sag BOOK: Beginning ASP 3.0 2 July 10th, 2005 03:29 AM
help in chap 15 manal_sag BOOK: Beginning ASP 3.0 2 May 25th, 2005 02:59 AM
Sessions - Chap 15 mminnie BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 1 January 10th, 2005 04:25 AM
Chap 15 - Notifying the Bidder airhart BOOK: Beginning ASP 3.0 2 September 4th, 2003 03:05 PM





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