Last post Jul 24, 2015 01:19 PM by bbcompent1
Jul 16, 2015 09:40 AM|giokats|LINK
Hello to everyone! I am trying to connect with Web Admin Tools doing exactly what is saying this article: http://stackoverflow.com/questions/20541680/visual-studio-2013-and-asp-net-web-configuration-tool but my browser throws the above error.
Server Error in '/WebAdmin' Application.
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0122: 'System.Configuration.StringUtil' is inaccessible due to its protection level
Line 988: // Put together some unique app id
Line 989: string appId = StringUtil.GetNonRandomizedHashCode(String.Concat(appPath, appPhysPath)).ToString("x", CultureInfo.InvariantCulture);
Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\ASP.NETWebAdminFiles\App_Code\WebAdminPage.cs Line: 989
Any idea what happening?
Jul 16, 2015 10:06 AM|bbcompent1|LINK
You could try this instead (from
As many of you have noticed, the option to select “ASP.Net Web Configuration Manager” is no longer in Visual Studio 2013 Preview. This is due to the removal of the Visual Studio Development Server (or Cassini) from the product. However, we understand that
many people have gotten used to using the Tool, and so here are the steps by which you can still run the manager. Note that these instructions only work for sites running on the .NET Framework 4.0 and above.
Congratulations, you now have your ASP.net Web Site Administration Tool running as before.
Jul 16, 2015 10:24 AM|Rion Williams|LINK
string appId = StringUtil.GetNonRandomizedHashCode(String.Concat(appPath, appPhysPath)).ToString("x", CultureInfo.InvariantCulture);
Is the code mentioned above your actual code? As it sounds like this might just be an issue regarding the protection level of your actual StringUtil class. Is it defined using a non-restrictive access modifier like "public" or "protected" or is it defined
using something like static?
It doesn't sound like the actual error relates directly to the Web Configuration Tool itself.
Jul 17, 2015 03:53 AM|giokats|LINK
in Command Prompt, when i enter the command says "The following switch requires a value 'path'." What's going wrong?
Jul 24, 2015 01:19 PM|bbcompent1|LINK
Typo on part of the article, your command should be like this:
iisexpress.exe /path:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles" /vpath:”/ASP.NETWebAdminFiles” /port:[port] /clr: 4.0 /ntlm
Long paths should always be surrounded by double quotes. The other possibility is you do not have that path.