473,401 Members | 2,139 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,401 software developers and data experts.

Security Setup Wizard not working

Ben
I'm in the process of learning how to set up personalization for a page with
web parts, and I've hit a problem I can't resolve.

I built an example that works, and in that project, I can open the Web Site
Administration Tool and fire up the Security Setup Wizard. No problem so
far.

I create a new project, copy all the code exactly from the prior project,
including the web.config, and I make sure that the settings for the two
sites in IIS are identical. When I attempt to use the Security Setup Wizard
I get this lengthy message. I also get the same message if I attempt to
build the project one step at a time, or even create a new project (web
site).

Has anyone seen this before, and can you give me any guidance on how to
resolve it? Here's the 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_wizard_wizardpermission_ascx.BindGrid () at
ASP.security_wizard_wizardpermission_ascx.Page_Loa d() 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.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint)

Thanks,
Ben
bf*************@removethisabovetheline.biz
Jul 1 '06 #1
0 1092

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: icb | last post by:
Hi I have a front-end/back-end setup. The front-end utilises all unbound forms populating the back-end via the code I have written. All fine so far. Prior to splitting the database I ran the...
4
by: Chris Tyson | last post by:
My problem is this: I have created a database, using Workgroup security features. Unique Workgroup. New users added. Permissions to Admins, Admin, and Users revoked. 'Ownership' of database...
1
by: Prashanti | last post by:
Hi , I have built a windows application in c sharp which using the methods of COM Object. The application is working fine. Now need to make this application a package to deploy at client...
3
by: Joachim | last post by:
In the Install-Start-Welcome dialog - how can I change the text "Welcome to the MyApp Setup Wizard"? For instance, if I would like it to be in another language.
4
by: Daniel | last post by:
OK, I have Windows 2000 & Visual Studio 2003. I have a project to which I have added the setup wizard. I build the wizard and it outputs my MSI file. Problem, when I try to install the MSI, I...
1
by: Aleks Kleyn | last post by:
I have Visual Studio 2005 and SQL Server. I tried to use Login control. When I select security tab temporary database was created. Later temporary db was substituted by regular db. When I...
0
by: adeebraza | last post by:
My Dear, Salman1karim As you have finished your first project in vb6, MS Access 2003 and crystal reports 11 and you want to create setup file. You need Pdcmdln.EXE file to create setup program of...
0
slashcanadian
by: slashcanadian | last post by:
Hallo, I have some question about creating and editing some setup wizard in .net. I want to create some "custom installation" in my setup wizard. Can someone help me how to create the custom...
3
by: sanghavi | last post by:
how to create a set up project in vb.net..how to run an application on a different machine
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.