 |
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
|
|
|
|
|

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

January 11th, 2006, 06:11 PM
|
|
Registered User
|
|
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|

January 16th, 2006, 11:11 AM
|
|
Wrox Author
|
|
Join Date: Jun 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

January 17th, 2006, 09:37 PM
|
|
Registered User
|
|
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

January 18th, 2006, 06:13 AM
|
|
Wrox Author
|
|
Join Date: Jun 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

January 18th, 2006, 11:01 AM
|
|
Registered User
|
|
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

January 18th, 2006, 06:37 PM
|
|
Registered User
|
|
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'm getting this error
HTTP 500 - Internal server error
Internet Explorer
|
|

January 19th, 2006, 07:10 AM
|
|
Wrox Author
|
|
Join Date: Jun 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

January 20th, 2006, 07:32 AM
|
|
Wrox Author
|
|
Join Date: Jun 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|
 |