Wrox Programmer Forums
|
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
 
Old December 16th, 2015, 03:50 AM
Registered User
 
Join Date: Dec 2015
Posts: 2
Thanks: 2
Thanked 0 Times in 0 Posts
Default Chapter 16 page 614 Try it out step 3

After entering the code for step 3 all on 1 line as follows:
iisexpress.exe /path:"C:\Windows\Microsoft.NET\Framework\v4.0.3031 9\ASP.NETWebAdminFiles" /vpath:"/ASP.NETWebAdminFiles" /port:8082 /clr:4.0 /ntlm

It returns the message:
Successfully registered URL "http://localhost:8082/" for site "Development Web Site" application "/"
Successfully registered URL "http://localhost:8082/ASP.NETWebAdminFiles/" for site "Development Web Site" application "/ASP.NETWebAdminFiles"
Registration completed

It doesn't metnion copying the template config file or updated the configuration file or starting the IIS Express

I did attempt to go on to step 4 and open a browser and paste: http://localhost:8082/asp.netwebadmi...plicationURL=/

But when it ask for my user name and password and I enter it, the page reloads and just ask the the username and password again. When I switch back to the command prompt it has added:
Request started: "GET" http://localhost:8082/asp.netwebadmi...plicationURL=/
Request ended: http://localhost:8082/asp.netwebadmi...plicationURL=/ with HTTP status 401.2

Any help would be greatly appreciated
 
Old December 16th, 2015, 10:50 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

>> It doesn't metnion copying the template config file or updated the configuration file or starting the IIS Express

You don't have to copy or edit the config file at this point, and it's IIS Express that's being started with this command.

Can you access the site's folder directly in Windows without issues? Have you tried granting the Everyone account full control to the Site folder temporarily to rule out permission issues?

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
mrjhov79 (December 16th, 2015)
 
Old December 16th, 2015, 11:13 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Oh, I see now that you're referring to picture 16-16 with this:

>>? It doesn't metnion copying the template config file or updated the configuration file or starting the IIS Express

It's odd that it doesn't mention it started. It does it consistently on my machine. In addition, it's odd that it is registering incoming requests when it hasn't started.

Could it be a permissions issue? Are you on a locked down machine?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
mrjhov79 (December 16th, 2015)
 
Old December 16th, 2015, 04:08 PM
Registered User
 
Join Date: Dec 2015
Posts: 2
Thanks: 2
Thanked 0 Times in 0 Posts
Default Chapter 16 page 614 Try it out step 3

I am able to access the folder using the windows explorer, it shows it contains 8 folders beginning with App_Code and also includes multiple .aspx & .master files, as well as, one .config and .ascx file. But I am still not able to duplicate the full command prompt that shows in Figure 16-16 nor am I able to log onto the WSAT like shown in figure 16-17. After It continues to ask for username and password, reloads after I submit and ask for the same information again. I'm using a personal laptop with only one user account and I'm running the command prompt as an administrator. Whateverthe problem was, it seems to have corrected itself after I powered down my computer and tried it again the command prompt did not display the same as 16-16 but I was able to access the WSAT tool after entering the site.

Thanks for the swift reply, back to the book I go!
 
Old December 21st, 2015, 04:14 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Great, glad to hear it's working.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 16 on Page 614 ngupange BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 43 November 13th, 2015 03:18 AM
Chapter 8 - Page 232, Step 5 Building the Master Page bisigreat BOOK: Professional SharePoint 2010 Branding and User Interface Design 0 May 8th, 2013 12:58 PM
Page 456 Step 16 - NullReferenceException mivanov007 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 17 November 24th, 2010 03:36 AM
Chapter 16 Try It Out Page 498 Step 7 workib BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 1 October 9th, 2008 08:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.