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 January 7th, 2006, 08:49 AM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Setting up IIS

I cannot find the IIS VIRTUAL DIRECTORY MANAGEMENT in the MMC. I follwoed all your instructions. Do I have to install this utiltiy ? If so, how ? I am using Windows XP Professional.

Thanks

 
Old January 11th, 2006, 06:11 PM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have the same problem so i just use the IIS snapin to create the
virtual directory. But i get an error when i try to run the site.


 
Old January 16th, 2006, 11:11 AM
Wrox Author
 
Join Date: Jun 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok the missing link option "IIS virtual directory management for sql server" is only available in SQL XML 3.0 (installed with old SQL parts) and they dropped support for it in 2005 at some point. I was thinking it would be in SQL 2005 and SQL 2005 Express and the later version of SQL XML, I was wrong. So if you want to do it as per the book then go to this link:

http://www.microsoft.com/downloads/d...DisplayLang=en

and install SQL XML 3.0. Then this option will appear in the Add Standalone Snap-In menu and you can continue as per the steps in the book.

Chris

Chris Ullman
Programmer/Technical Author
http://www.cuasp.co.uk
 
Old January 17th, 2006, 09:37 PM
Registered User
 
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK, I've followed all the steps in the book including downloading this item. When I try to get to the site via the url I get This Page Cannot Be Displayed.

I'm still thinking there is some permission problems or something. Do I have to set anything on the security tab? Looks like it needs a sql user/password there?

Frustrated,
Rut
 
Old January 18th, 2006, 06:13 AM
Wrox Author
 
Join Date: Jun 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by rutledj
 OK, I've followed all the steps in the book including downloading this item. When I try to get to the site via the url I get This Page Cannot Be Displayed.

I'm still thinking there is some permission problems or something. Do I have to set anything on the security tab? Looks like it needs a sql user/password there?

Frustrated,
Rut
Hi Rut,
        OK hang in there, we're here to help. Ok there's lots of reason a page might not be displayed. I'm guessing you're seeing some sort of HTTP error right? Can you let me know the number of the precise error you're seeing when you type in http://localhost/WroxUnited/default.aspx? And the error message. I'm thinking it might be a 403 one...

It could well be a permissions problem, however it won't need a sql user id and password. It should just need some more enabling of permissions, if this is the case. Also I'm assuming this is with IIS. Having you tried getting it working with Cassini too? Getting it working with Cassini is simpler than IIS, and also it can give more clues as to why it might not be working with IIS. However first step, is to let me know the precise error code and message, and hopefully it'll be something easy to fix.

Chris

Chris

Chris Ullman
Programmer/Technical Author
http://www.cuasp.co.uk
 
Old January 18th, 2006, 11:01 AM
Registered User
 
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK, I'll have to wait until I get home from work tonight but I don't remember an error number listed.

Have not tried it with Cassini as I will eventually be required to use IIS for the platform. I'm using xp pro, Visual Studio Pro, sqlexpress. I've downloaded the complete file package and unzipped it into folder c:\websites\wroxunited. There were a lot of files including the still zipped individual chapter files.

Set up IIS as outlined in Appendix B. Set permissions for the wroxunited folder (added NETWORK SERVICE and gave it read/write permissions). Set the asp version for the wroxunited virtual directory in IIS to 2.0......

I'll let you know what html error I'm getting later this evening.

Thanks
Rut
 
Old January 18th, 2006, 06:37 PM
Registered User
 
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm getting this error

HTTP 500 - Internal server error
Internet Explorer



 
Old January 19th, 2006, 07:10 AM
Wrox Author
 
Join Date: Jun 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok - I'm on it. That's probably the least helpful error message in the entire canon of the ASP/ASP.NET error messages :-). So I'm going to have attempt to recreate the error myself. I'll get back to you.

Chris

Chris Ullman
Programmer/Technical Author
http://www.cuasp.co.uk
 
Old January 19th, 2006, 10:31 PM
Registered User
 
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please see this thread for latest problems.

http://p2p.wrox.com/topic.asp?TOPIC_ID=37465

 
Old January 20th, 2006, 07:32 AM
Wrox Author
 
Join Date: Jun 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok all further answers will be on that thread (except this one). A word of warning... it's a lot hard to get it working with SQl 2005 than it is with SQL Express. This answer deals with SQL Express and IIS.

Have you tried to run aspnet_regiis -i ? Here's a quote of my text from the new edition:

Quote:
quote:
often non-specific errors can be fixed if you run the aspnet_regiis executable with the –i switch, To do this go to the command prompt and go to the C:\Windows\Microsoft.Net\Framework\v2.0.50727 folder.
From this folder type in:
aspnet_regiis –i
and hit return.
It's a permission problem, but one you shouldn't have if ASP.NET has installed and registered itself correctly. This command reregisters it.

One last thing to bear in mind, if you are using server 2003, then you need to enable asp.net within IIS manager (it is disabled by default for security reasons).

Chris



Chris Ullman
Programmer/Technical Author
http://www.cuasp.co.uk





Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS setting up question zhengfengyang Dreamweaver (all versions) 4 March 7th, 2006 09:21 PM
Setting up Virtual Dir in IIS dsuratman ASP.NET 1.0 and 1.1 Basics 4 June 20th, 2005 07:57 AM
ASP cache & IIS setting kalunalan Classic ASP Basics 2 February 25th, 2004 10:52 PM
setting up PC as a web server with IIS kathryne Classic ASP Basics 7 October 9th, 2003 04:55 PM
Setting up PHP4 on Win IIS digitalepiphany BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 September 8th, 2003 02:44 PM





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