 |
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
|
|
|
|
|

July 20th, 2014, 08:50 AM
|
|
Registered User
|
|
Join Date: Jul 2014
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Chapter 16 on Page 614
Hi Imar, I'm working on Chapter 16 and trying to gain access to the WAST to manage user accounts and roles. This is the "Try It Out" on page 614.
I can get through step #4 after entering Credential i get this error
" An error was encountered. Please return to the previous page and try again.
The following message may help in diagnosing the problem: System.ArgumentException: The parameter 'PhysicalDirectory' is invalid. Parameter name: PhysicalDirectory at System.Web.Configuration.VirtualDirectoryMapping.. ctor(VirtualPath virtualDirectory, String physicalDirectory, Boolean isAppRoot, String configFileBaseName) at System.Web.Configuration.VirtualDirectoryMapping.. ctor(String physicalDirectory, Boolean isAppRoot) at System.Web.Administration.WebAdminPage.OpenWebConf iguration(String path, String appPhysPath, Boolean getWebConfigForSubDir) at System.Web.Administration.WebAdminPage.VerifyAppVa lid()"
Please Help me
|
|

July 20th, 2014, 09:00 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Take a look at this:
The parameter 'PhysicalDirectory' is invalid.
Looks like you're passing the wrong path to your site. Can you post the full command you're entering?
Cheers,
Imar
|
|

July 20th, 2014, 09:12 AM
|
|
Registered User
|
|
Join Date: Jul 2014
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Step 3 on page 614 I used this command from exercise
iisexpress.exe /path:"C:\Windows\Microsoft.NET\Framework\v4.0.3031 9\ASP.NETWebAdminFiles"
/vpath:"/ASP.NETWebAdminFiles" /port:8082 /clr:4.0 /ntlm
then Step #4 i pasted also link from book on page 615
http://localhost:8082/asp.netwebadminfile /default.aspx?applicationPhysicalPath=
C:\BegASPNET\Site&applicationUrl=/
i think step 3 is OK cause i didn't get any error ...
|
|

July 20th, 2014, 02:39 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Two questions:
1. Is the line break you posted here part of the command or just a formatting issue on this forum? In the former case, try entering everything on one line.
2. Is your site indeed located at C:\BegASPNET\Site?
Cheers,
Imar
|
|

July 21st, 2014, 02:11 PM
|
|
Registered User
|
|
Join Date: Jul 2014
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank you.
|
|

July 21st, 2014, 03:14 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
For future visitors to this thread, would you mind sharing if the issue has been resolved, and if so, how you resolved it?
Thanks!
Imar
|
|

July 21st, 2014, 04:28 PM
|
|
Registered User
|
|
Join Date: Jul 2014
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Issue solved ( i pasted link from e-book in browser! THAT link had a blank space that is why i get the error.) thanks for ur help.
|
|

September 29th, 2014, 11:48 PM
|
|
Registered User
|
|
Join Date: Sep 2014
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Chapter 16 Page 615
Hi Imar,
I am also having difficulties with this try it out exercise, all steps have worked except step 4. I get a "The resource cannot be found error".
I have saved my site in a slightly different location, but have made the adjustments in the url, and the path matches what I type in the url but still get the error.
Can you help? :)
|
|

September 30th, 2014, 03:11 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Can you post the full location of your site?
Cheers,
Imar
|
|

September 30th, 2014, 03:19 AM
|
|
Registered User
|
|
Join Date: Sep 2014
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Hi Imar,
This is the url i have been putting in:
http://localhost:8082/asp.netwebadmi...plicationUrl=/
The site is in C:\VSSWorkingFolders\BegASPNET\Site
Cheers,
|
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 |
|
 |
|