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

March 1st, 2006, 01:10 PM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
WroxUnited and IIS - The page cannot be found
Hello all,
I just purchased the Beginning ASP.NET 2.0 book and I am trying to set up my machine to view the WroxUnited sample using IIS. At this point, I am getting the following error message:
"The page cannot be found: HTTP 400 - Bad Request"
I am able to view the demo using Cassini, just not IIS. My system specs are as follows:
- Windows XP Professional
- Visual Web Developer Express
- SQL Express
- IIS
I have read though most of the posts on this forum and have tried several of the suggestions including adding Default.aspx to the default documents, setting the ASP.NET version to 2.0.50727, running the aspnet_regiis -i command, and others. No luck.
Thank you for your help,
- Derek
|
|

March 2nd, 2006, 07:46 AM
|
|
Wrox Author
|
|
Join Date: Jun 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
OK - first up, let's check to see IIS is working.
What happens if you type in http://localhost, is everything fine?
If so I have another query waiting...
Chris
Chris Ullman
Programmer/Technical Author
http://www.cuasp.co.uk
|
|

March 7th, 2006, 10:10 AM
|
|
Authorized User
|
|
Join Date: Mar 2006
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Hi,
I found the stuff in this post:
http://p2p.wrox.com/topic.asp?TOPIC_ID=37298
cured the problem for me. But it sounds as though you have already tried this.
However, you need to make sure you are running the correct version of 'aspnet_regiis.exe'.
It is in this folder:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
You do [u] NOT</u> want the one in this folder:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
Is this definitely the version you are running?
|
|

March 7th, 2006, 08:44 PM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Chris!
Thank you for the reply. When I type in http://localhost, everything is fine. I get the default start page with the Microsoft Windows XP Professional logo at the top, "Your Web service is now running." message, information about IIS 5.1, etc.
IIS seems to be working just fine, just not with the Wrox United sample site.
Awaiting your next query,
- Derek
Quote:
quote:Originally posted by Chrisull
OK - first up, let's check to see IIS is working.
What happens if you type in http://localhost, is everything fine?
If so I have another query waiting...
Chris
Chris Ullman
Programmer/Technical Author
http://www.cuasp.co.uk
|
|
|

March 7th, 2006, 09:32 PM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank you for your input... I ran aspnet_regiis.exe out of the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 folder. Still having problems with the page not being displayed.
- Derek
Quote:
quote:Originally posted by holf
Hi,
I found the stuff in this post:
http://p2p.wrox.com/topic.asp?TOPIC_ID=37298
cured the problem for me. But it sounds as though you have already tried this.
However, you need to make sure you are running the correct version of 'aspnet_regiis.exe'.
It is in this folder:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
You do [u]NOT</u> want the one in this folder:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
Is this definitely the version you are running?
|
|
|

March 20th, 2006, 10:57 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hello Chris,
It has been 18 days and I still have not heard from you. I am still trying to solve this problem and any help would be appreciated.
Frustrated,
- Derek
Quote:
quote:Originally posted by Chrisull
OK - first up, let's check to see IIS is working.
What happens if you type in http://localhost, is everything fine?
If so I have another query waiting...
Chris
Chris Ullman
Programmer/Technical Author
http://www.cuasp.co.uk
|
|
|

March 21st, 2006, 01:39 PM
|
|
Wrox Author
|
|
Join Date: Jun 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi,
Sorry Derek I missed this one in the list of recent queries. Ok - next query is can you run any other applications under IIS, apart from WroxUnited?
Also what happens if you try to run http://127.0.0.1/WroxUnited?
The HTTP 4.0 - Bad request is usually a config error, but because it's non-specific it can be quite hard to solve. Various solutions I have found seem to involve updating the hosts file, or downloading a patch for IIS 5.0 on Win 2000, but none seem particularly related to the problem and setup you have here.
Chris
Chris Ullman
Programmer/Technical Author
http://www.cuasp.co.uk
|
|

March 29th, 2006, 01:10 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hello everyone,
I am having trouble running the Wrox United Application on Appendix B on the ASP.NET 2.0 book. I have Visual Studios 2005 Professional installed.
Have done the outlined steps installed iis, downloaded the code, created a virtual directory but get the following error when trying to run under iis and typing into internet explorer http://localhost/WroxUnited ...
ERROR: 400.100 Bad Request
HResult: 0x80004005
Source: Microsoft SQL isapi extension
Description: Query not specified
Any feedback would be greatly appreciated
Thanks
|
|

March 30th, 2006, 04:14 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I am experiencing the same problems setting up the WroxUnited website and IIS.
I have:
Windows XP Pro SP2
Visual Studio .NET 2005 Pro
SQL Server 2005 Express
IIS 5.1
At first, before following the errata for Appendix B, I got a 403. Then, after restoring a drive image and following the errata, I got a 400. That lasted for a while until I finally tweaked too many settings and now I'm getting a 500. Back to that image...
I'm new at web development, be kind. Please help.
|
|

March 30th, 2006, 04:33 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
also - Cassini runs it just fine
and using 127.0.0.1 instead of localhost prompts me with a login which I have no idea how to deal with since I have no user password for my windows account
thanks
|
|
 |