Error using ASP.NET Website Administration tool. Please help

K

keithb

Can someone suggest a course of action? Thanks, Keith

Using the ASP.NET Website Administration tool to set up security, I get the
following error message:

An error was encountered. Please return to the previous page and try again.

The following message may help in diagnosing the problem: Specified argument
was out of the range of valid values. Parameter name: site at
System.Web.Configuration.WebConfigurationHost.InitForConfiguration(String&
locationSubPath, String& configPath, String& locationConfigPath,
IInternalConfigRoot configRoot, Object[] hostInitConfigurationParams) at
System.Configuration.Configuration..ctor(String locationSubPath, Type
typeConfigHost, Object[] hostInitConfigurationParams) at
System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type
typeConfigHost, Object[] hostInitConfigurationParams) at
System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel
webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site,
String locationSubPath, String server, String userName, String password,
IntPtr tokenHandle) at
System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel
webLevel, ConfigurationFileMap fileMap, String path, String site, String
locationSubPath, String server, String userName, String password, IntPtr
userToken) at
System.Web.Configuration.WebConfigurationManager.OpenMappedWebConfiguration(WebConfigurationFileMap
fileMap, String path) at
System.Web.Administration.WebAdminPage.OpenWebConfiguration(String path,
String appPhysPath, Boolean getWebConfigForSubDir) at
System.Web.Administration.WebAdminPage.OpenWebConfiguration(String path,
Boolean getWebConfigForSubDir) at
ASP.security_permissions_managepermissions_aspx.BindGrid() at
ASP.security_permissions_managepermissions_aspx.Page_Load() at
System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) at
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender,
EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint)
 
K

Ken Cox - Microsoft MVP

I'd try putting a known good web.config file. You might have a syntax error
in yours.
 
G

Gideonr1

Make sure you do not have any non Alphabet characters in your path (such
as # or non English)
-> c:\c#\myProj won't work change to c:\css\MyProj .... and magic :)
eek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top