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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
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
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 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,
quote:Originally posted by Chrisull
OK - first up, let's check to see IIS is working.
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.
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
Source: Microsoft SQL isapi extension
Description: Query not specified
I am experiencing the same problems setting up the WroxUnited website and IIS.
Windows XP Pro SP2
Visual Studio .NET 2005 Pro
SQL Server 2005 Express
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...