Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 1st, 2006, 12:10 PM
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

Reply With Quote
  #2 (permalink)  
Old March 2nd, 2006, 06:46 AM
Wrox Author
 
Join Date: Jun 2004
Location: Liskeard, Cornwall, United Kingdom.
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #3 (permalink)  
Old March 7th, 2006, 09:10 AM
Authorized User
 
Join Date: Mar 2006
Location: , , .
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
Default

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?

Reply With Quote
  #4 (permalink)  
Old March 7th, 2006, 07:44 PM
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #5 (permalink)  
Old March 7th, 2006, 08:32 PM
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?

Reply With Quote
  #6 (permalink)  
Old March 20th, 2006, 09:57 AM
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #7 (permalink)  
Old March 21st, 2006, 12:39 PM
Wrox Author
 
Join Date: Jun 2004
Location: Liskeard, Cornwall, United Kingdom.
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #8 (permalink)  
Old March 29th, 2006, 12:10 AM
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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




Reply With Quote
  #9 (permalink)  
Old March 30th, 2006, 03:14 AM
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #10 (permalink)  
Old March 30th, 2006, 03:33 AM
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to open WroxUnited using IIS jjjones3860 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 19 May 24th, 2008 12:52 AM
WroxUnited not working with IIS Solved TieDyeGeek BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 October 13th, 2007 04:28 PM
IIS - Server Error in '/WroxUnited' Application lukemack BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 July 18th, 2006 11:23 AM
error on IIS when installing WroxUnited lukemack ASP.NET 2.0 Basics 1 May 1st, 2006 08:45 AM
Local WroxUnited on IIS - Unrecognized config B_Rad BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 November 20th, 2005 07:18 AM



All times are GMT -4. The time now is 02:05 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.