Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5 > BOOK: Beginning ASP.NET 4.5 : in C# and VB
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB 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 Search this Thread Display Modes
  #1 (permalink)  
Old January 30th, 2014, 01:36 AM
Registered User
Points: 16, Level: 1
Points: 16, Level: 1 Points: 16, Level: 1 Points: 16, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2014
Posts: 4
Thanks: 1
Thanked 1 Time in 1 Post
Default Where is the Website Administration Tool?

Hello,
Apparently MS has removed the option for "Web Site Administration Tool" in VS 2013. To get this option back, I followed the directions from the link below but it did not work. I'm really working hard to understand but cannot figure it out. Would someone mind helping? I've spent 16 hrs. trying to solve the problem.
  • Currently using "Visual Studio Express 2013 for Web"
  • Chapter 16 pg. 629 of "Beginning ASP.NET 4.5: in C# and VB"

Link to instructions on getting back the Admin Tool:
http://blogs.msdn.com/b/webdev/archi...dex=2#comments

How can I proceed with this book without the option?


Thanks,

Aubrey
Reply With Quote
  #2 (permalink)  
Old January 30th, 2014, 04:49 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

Can you define "did not work"? What's going wrong?

Here's an excerpt from the updated book for VS 2013 that might help:

1. Start a command prompt by typing CMD on the Windows home screen and press enter.

2. Navigate to the folder where IIS is installed (which by default is C:\Program Files\IIS Express) by entering the following command followed by the Enter Key:

cd c:\Program Files\IIS Express

3. Enter the following command and hit enter:
Code:
iisexpress.exe /path:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles" /vpath:"/ASP.NETWebAdminFiles" /port:8082 /clr:4.0 /ntlm
Note: You should enter all of this one line. This command should work on 32 and 64 bits versions of Windows, but check the path to the ASP.NETWebAdminFiles folder in case you get an error when running the command.
When you press enter, you should see that IIS Express has started correctly
Don’t close the command prompt as that will also close IIS Express.

4. Start your browser and navigate to the following URL:
Code:
http://localhost:8082/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=C:\BegASPNET\Site&applicationUrl=/
Again, all of this should be on one line without any spaces. Update the path for the applicationPhysicalPath parameter in case you placed your site in a folder other than C:\BegASPNET\Site. When asked for a user name and password, enter the credentials you use to log in to your Windows machine. After a short delay, the Web Site Administration Tool is loaded

Hope this helps,

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!

Last edited by Imar; January 31st, 2014 at 05:04 AM..
Reply With Quote
The Following 2 Users Say Thank You to Imar For This Useful Post:
AlanWheeler (February 4th, 2014), daveharney (February 13th, 2014)
  #3 (permalink)  
Old January 30th, 2014, 11:17 PM
Registered User
Points: 16, Level: 1
Points: 16, Level: 1 Points: 16, Level: 1 Points: 16, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2014
Posts: 4
Thanks: 1
Thanked 1 Time in 1 Post
Default Solved :: Where is the Website Administration Tool?

Imar,

Thanks for the help. I tried it and got further. I did do the following and solved it though. Unfortunately this has all been a guessing game for me but your suggestion led me to the answer.

Below is how I solved it -only slight variation from your suggestion.

1. Start a command prompt by typing CMD on the Windows home screen and press enter.

2. Navigate to the folder where IIS is installed (which by default is C:\Program Files\IIS Express) by entering the following command followed by the Enter Key:

Code:
cd c:\Program Files\IIS Express
3. Copy and Past the following string exactly as it appears, into the command prompt:

Code:
"C:\Program Files\IIS Express\iisexpress.exe" /path:c:\windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles /vpath:"/asp.netwebadminfiles" /port:8089 /clr:4.0 /ntlm
4. Open your browser and paste in the following URL string as it appears and press Enter:
Code:
http://localhost:8089/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=C:\BegASPNET\Site\&applicationUrl=/
5. -And you're in!!

Last edited by Aubreylc; January 30th, 2014 at 11:19 PM..
Reply With Quote
  #4 (permalink)  
Old January 31st, 2014, 05:03 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

I don't see much difference from my suggestion other than the inclusion of the full path to IISExpress (which shouldn't be necessary as you were already in that folder) and some quotes. I think my and your solution should both work. Or am I overlooking something?

Note: the Wrox forum messed up the path to the site in step 4. I updated my post so that should now look good.

If you have the time, can you confirm my solution works on your machine as well? It does on mine, and that's how I currently have it in the update for the book, but if it doesn't on yours, I still have time to correct it before the book goes to print.

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!
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
Aubreylc (February 5th, 2014)
  #5 (permalink)  
Old January 31st, 2014, 10:04 AM
Registered User
Points: 16, Level: 1
Points: 16, Level: 1 Points: 16, Level: 1 Points: 16, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2014
Posts: 4
Thanks: 1
Thanked 1 Time in 1 Post
Default

Imar,

You are absolutely correct and your updated procedure worked. I think my error was excess spaces in the command.

--the computer only does what you tell it to do and nothing more!--


Thanks much,

-Aubrey
Reply With Quote
  #6 (permalink)  
Old January 31st, 2014, 02:17 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Great, thanks for confirming.

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!
Reply With Quote
  #7 (permalink)  
Old February 4th, 2014, 06:12 PM
Authorized User
Points: 416, Level: 7
Points: 416, Level: 7 Points: 416, Level: 7 Points: 416, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2013
Posts: 84
Thanks: 29
Thanked 2 Times in 2 Posts
Default

That was awesome, Imar. Worked perfect 1st time.

When I went looking on the web people seemed pretty upset about this, so I truly appreciate you providing a bulletproof access to WSAT.

Is there any reason we can't put that all in a batch file?

Best Regards,
Alan

Last edited by AlanWheeler; February 13th, 2014 at 07:26 PM.. Reason: spelling
Reply With Quote
  #8 (permalink)  
Old February 4th, 2014, 11:00 PM
Registered User
Points: 16, Level: 1
Points: 16, Level: 1 Points: 16, Level: 1 Points: 16, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2014
Posts: 4
Thanks: 1
Thanked 1 Time in 1 Post
Default

Alan,

I created a batch file and it worked no problem.

Aubrey
Reply With Quote
The Following User Says Thank You to Aubreylc For This Useful Post:
AlanWheeler (February 5th, 2014)
  #9 (permalink)  
Old February 5th, 2014, 12:01 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Yes, that should work just fine. You may even be able to create an external tool in VS that starts the batch file and pass the path of the site to it. Haven't tried it though. Hopefully, someone is going to create an extension for this at some point.

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!
Reply With Quote
  #10 (permalink)  
Old February 13th, 2014, 06:36 PM
Authorized User
Points: 353, Level: 6
Points: 353, Level: 6 Points: 353, Level: 6 Points: 353, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2011
Posts: 86
Thanks: 20
Thanked 3 Times in 3 Posts
Default Good to know

Hi Imar,

I happened to notice this post, tried it and it worked as advertised! I tried other explanations for doing this without any success.

Starting on page 737 in Professional ASP.NET 4.5 in C# and VB there are some little programs I've been using to get around this problem. If for some reason one is not able to find the admin program on their machine these do most of the job.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Cannot run website administration tool flashmanTom ASP.NET 2.0 Professional 9 November 12th, 2010 03:20 PM
Help With : Administration Tool - Data Provider Mr.Hammad ASP.NET 2.0 Basics 0 October 3rd, 2007 07:52 AM
Administration tool question kherrerab ASP.NET 2.0 Professional 0 February 9th, 2007 10:16 AM
Help! Website Administration Tool Problem agf2309 ASP.NET 2.0 Basics 2 August 29th, 2006 07:25 AM
The Web Site Administration Tool alanmdunsmuir BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 0 July 10th, 2006 12:35 PM



All times are GMT -4. The time now is 01:04 AM.


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