 |
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
 | This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 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
|
|
|
|
|

September 30th, 2014, 04:25 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
That's odd that you get an error as that command looks fine.
Do you get a confirmation that everything worked fine in step 3? Could you have other software on the same machine that is taking up the port? Try running step 3 with a different port such as 8076 and try again.
Cheers,
Imar
|
|

October 1st, 2014, 12:21 AM
|
|
Registered User
|
|
Join Date: Sep 2014
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Hi Imar,
Step 3 looks to be running ok, I get the same in IISExpress as the screen shot in the book.
I tried using a different port number but unfortunately received the same error :(
In the IISExpress I get "Request started: "GET" (then the url) with HTTP status 401.2"
Then same again but with "status 404.0"
Then "Request started: "GET" http://localhost:8076/favicon.ico"
"Request ended: http://localhost:8076/favicon.ico with HTTP status 404.0"
Cheers,
|
|

October 1st, 2014, 03:02 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Really odd; are you sure the command is 100% correct and has no spaces etc.?
Also, what are the permissions on the Site folder that contains your site?
Try adding a static html page (e.g. something like index.html) in your Site folder. Can you request that in the browser using something like http://localhost:8076/index.html
Finally, does your BegASPNET\Site folder contain the site files (such as Default.aspx etc. directly) or did you place it in a sub folder?
Imar
|
|

October 1st, 2014, 03:26 AM
|
|
Registered User
|
|
Join Date: Sep 2014
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Hi Imar,
There is definetely no spaces, I have full administration rights.
Tried adding the Index.html page but again I come up with the 404.0 error.
The default.aspx page is placed in the site folder.
Cheers,
|
|

October 1st, 2014, 03:28 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
>> I have full administration rights.
You may, but maybe not the account that IIS Express uses (although that should be yours anyway).
Imar
|
|

October 1st, 2014, 03:40 AM
|
|
Registered User
|
|
Join Date: Sep 2014
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Hi Imar,
Ran compand prompt as administrator, can get to the ASP.Net Web Site Administration Tool Page however instead of saying "Welcome to the Web Site Administration Tool" I get "An error was encounted. Please return to the previous page and try again"
At least Im one step closer now :)
Cheers,
|
|

October 1st, 2014, 05:28 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Try to (temporarily) grant full control to the Everyone account for the Sites folder and then try again to see if that makes a difference...
Imar
|
|

October 1st, 2014, 07:53 PM
|
|
Registered User
|
|
Join Date: Sep 2014
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Hi Imar,
Gave that a shot but still get the error, it loads the admin tool but doesnt ask me for a username or password. Clicked the "How do I use this tool?" in the top right hand corner and the subtabs appear on the screen but the message underneath changes to "Tool has timed out".
I am willing to grant you access if you would prefer to have a look at it yourself :)
Cheers,
|
|

October 2nd, 2014, 02:05 AM
|
|
Registered User
|
|
Join Date: Sep 2014
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Hi Imar,
I have been trying to get step 4 to work using google chrome, I thought i would give it a go using internet explorer & it worked!!! :)
So not sure why it would work on IE & not on google chrome. Have you got any thoughts on this? And if anyone else has a problem with this suggest using a different browser lol.
Thanks for all your help! Muchly appreciated!
Cheers,
Tegan
|
|
The Following User Says Thank You to tegandatagaard For This Useful Post:
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Chapter 16, Page 584 |
JHubschman |
BOOK: Beginning ASP.NET 4 : in C# and VB |
5 |
August 26th, 2011 05:56 PM |
| Chapter 16 Page 558 |
runner1181 |
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 |
1 |
February 9th, 2010 03:18 AM |
| Chapter 1 Page 16 - Try It Out |
bradnerdhss |
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 |
1 |
January 31st, 2006 02:11 PM |
|
 |
|