By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,087 Members | 1,513 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,087 IT Pros & Developers. It's quick & easy.

Error using ASP.NET Website Administration tool. Please help

P: n/a
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.Init ForConfiguration(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.InternalConfigConfig urationFactory.System.Configuration.Internal.IInte rnalConfigConfigurationFactory.Create(Type
typeConfigHost, Object[] hostInitConfigurationParams) at
System.Web.Configuration.WebConfigurationHost.Open Configuration(WebLevel
webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site,
String locationSubPath, String server, String userName, String password,
IntPtr tokenHandle) at
System.Web.Configuration.WebConfigurationManager.O penWebConfigurationImpl(WebLevel
webLevel, ConfigurationFileMap fileMap, String path, String site, String
locationSubPath, String server, String userName, String password, IntPtr
userToken) at
System.Web.Configuration.WebConfigurationManager.O penMappedWebConfiguration(WebConfigurationFileMap
fileMap, String path) at
System.Web.Administration.WebAdminPage.OpenWebConf iguration(String path,
String appPhysPath, Boolean getWebConfigForSubDir) at
System.Web.Administration.WebAdminPage.OpenWebConf iguration(String path,
Boolean getWebConfigForSubDir) at
ASP.security_permissions_managepermissions_aspx.Bi ndGrid() at
ASP.security_permissions_managepermissions_aspx.Pa ge_Load() at
System.Web.Util.CalliHelper.ArglessFunctionCaller( IntPtr fp, Object o) at
System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(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)
Mar 18 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I'd try putting a known good web.config file. You might have a syntax error
in yours.

"keithb" <kb******@dslextreme.com> wrote in message
news:ev**************@TK2MSFTNGP10.phx.gbl...
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.Init ForConfiguration(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.InternalConfigConfig urationFactory.System.Configuration.Internal.IInte rnalConfigConfigurationFactory.Create(Type
typeConfigHost, Object[] hostInitConfigurationParams) at
System.Web.Configuration.WebConfigurationHost.Open Configuration(WebLevel
webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site,
String locationSubPath, String server, String userName, String password,
IntPtr tokenHandle) at
System.Web.Configuration.WebConfigurationManager.O penWebConfigurationImpl(WebLevel
webLevel, ConfigurationFileMap fileMap, String path, String site, String
locationSubPath, String server, String userName, String password, IntPtr
userToken) at
System.Web.Configuration.WebConfigurationManager.O penMappedWebConfiguration(WebConfigurationFileMap
fileMap, String path) at
System.Web.Administration.WebAdminPage.OpenWebConf iguration(String path,
String appPhysPath, Boolean getWebConfigForSubDir) at
System.Web.Administration.WebAdminPage.OpenWebConf iguration(String path,
Boolean getWebConfigForSubDir) at
ASP.security_permissions_managepermissions_aspx.Bi ndGrid() at
ASP.security_permissions_managepermissions_aspx.Pa ge_Load() at
System.Web.Util.CalliHelper.ArglessFunctionCaller( IntPtr fp, Object o) at
System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(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)

Mar 18 '06 #2

P: n/a

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

--
Gideonr1
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Dec 12 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.