473,395 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Error using ASP.NET Website Administration tool. Please help

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

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: azgoddess1 | last post by:
During the installation I get these error messages: ***** SQL1390C The environment variable DB2Instance is not defined or is invalid An error ocured while loading the command "C:\Program...
8
by: martin.lundberg | last post by:
Hello! I've just donwloaded February 2005 Community Technical Preview Release of both Web Developer Express and Sql Server Express and when I'm in Web developer express goes to the menu item...
2
by: Sophia | last post by:
Hello, I hope somebody can help me with this, I am getting crazy! When I click on the security tab on the WSAT page (Website/ASP.NET configuration) I get the following message: "There is a...
1
by: needin4mation | last post by:
When I run the asp.net website administration tool from Visual Studio, and click the Security tab, I always get that it cannot connect to sql server. What if I want to use Active Directory? ...
5
by: Vishal Gupta | last post by:
Hi This is Vishal this side.I have been trying to create a new sample website using the new Membership Provider Class. Now when I try to a create a new website and then hit on the Website...
0
by: Shimon Sim | last post by:
I have following error when I try to "Manage access rules". I am using my role provider and wanted to know if this could be caused by my code. Thanks....
3
by: Ted | last post by:
In WSAT, I get the following error when trying to set up my provider: Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site...
4
by: freeflytim | last post by:
I'm trying to implement a custom MembershipProvider (and RoleProvider) together with a custom MembershipUser class in C#, Asp.Net 2.0, MS Visual Studio 2005. Everything has worked fine so far,...
3
by: Junior | last post by:
Vista SP1 IIS7 I'm trying to configure web.config following MSDN docs but keep getting errors I don't know how to resolve.. <configuration> <!--error--> <appSettings...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.