473,794 Members | 2,983 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Odd ASP.NET Web Configuration Error!

Can someone please explain why?

In VS2005, I created a starter kit personal website. Then used web
configuration tool to setup user / roles etc (just like it says to in the
welcome screen)... Everything is nice and happy.

Now, I got to fiddling with other things... As part of that fiddling, I
removed the LocalSQLServer entry from the GLOBAL settings on my local web
server. (don't ask why..)

Later I load up VS2005, open my website project... view in browser... looks
just like it did yesterday... I even use the website to test uploading a
photo and registering a new user... all is right in the world.

Next, I open up .NET Web Admin tool... go to the security tab and attempt to
create a third user... I get "An error was encountered. Please return to the
previous page and try again." with no additional explanation at all. I
click the back button... I find my other two users...they're still there. I
look at the roles....they'r e still there. I even added a new role...
"Enemies"

Ok so I tired a number of different things... but create user always brings
up the unhelpful error message, and most of the other admin tasks work fine.

On a hunch, I put back the LocalSQLServer entry, and re-launched VS 2005 and
Web Admin... Now "Create User" works again...

What gives? Why does it need (but not use) the global entry if my local
application overrides it?




Dec 21 '05 #1
1 1327
The default for the security functionality under the Web Admin tool is to
use the LocalSQLServer entry. Your security settings has to be stored
somewhere, so you have to a data repository. You can remove the global
setting, but it still has to be replaced by something else. Look at some of
the MSDN documentation regarding the Web Admin tool.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Nick" <nf************ *******@ccmcinc .com> wrote in message
news:es******** ******@TK2MSFTN GP09.phx.gbl...
Can someone please explain why?

In VS2005, I created a starter kit personal website. Then used web
configuration tool to setup user / roles etc (just like it says to in the
welcome screen)... Everything is nice and happy.

Now, I got to fiddling with other things... As part of that fiddling, I
removed the LocalSQLServer entry from the GLOBAL settings on my local web
server. (don't ask why..)

Later I load up VS2005, open my website project... view in browser...
looks just like it did yesterday... I even use the website to test
uploading a photo and registering a new user... all is right in the
world.

Next, I open up .NET Web Admin tool... go to the security tab and attempt
to create a third user... I get "An error was encountered. Please return
to the previous page and try again." with no additional explanation at
all. I click the back button... I find my other two users...they're still
there. I look at the roles....they'r e still there. I even added a new
role... "Enemies"

Ok so I tired a number of different things... but create user always
brings up the unhelpful error message, and most of the other admin tasks
work fine.

On a hunch, I put back the LocalSQLServer entry, and re-launched VS 2005
and Web Admin... Now "Create User" works again...

What gives? Why does it need (but not use) the global entry if my local
application overrides it?




Dec 22 '05 #2

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

Similar topics

6
391
by: chokk | last post by:
All, I am getting the following error when I try to run a form page. Can someone tell me what this is about and show me how to fix it. Thnaks. Server Error in '/' Application -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and...
2
1614
by: Chris_24 | last post by:
To all, I am experiencing difficulties with an asp.net web application and its web.config file. No matter what I try I keep getting the following error: Server Error in '/action' Application. -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on the server. The current custom
1
2853
by: Ramanfromoz | last post by:
Hi, Developing a new we application. Everything okay on my local WIN XP PROFESSIONAL, IIS 5.0 running locally. The website is running smoothly. Now, the same code I am copying over to a WINDOWS 2003 SERVER, I created a new website, allocated port number 6000. Created a release version on my local machine and copied the WEB project from my local to http://ACTYD003:6000
3
2392
by: hB | last post by:
Hi. Error = "The configuration system can only be set once. Configuration system is already set" Exception Details: System.InvalidOperationExcepti­on: The configuration system can only be set once. Configuration system is already set
2
390
by: Terry Holland | last post by:
I posted a follow up to an earlier post but did not receive response so here it is again (with original post and response) > This could be because you are running the index service over this web > application. try to stop indexing this application (from IIS management > console, clear "Index this resource") or stop the index service to test if > you still get error or not. I removed this option but still get the error. The error...
10
3740
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server Error in '/QuickStartv20' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file
1
6436
by: Jess Chadwick | last post by:
I am attempting to use the Enterprise Library (Jan 2006) Cryptography block to encrypt a credit card number in my ASP.NET 2.0 Commerce Server application. Everything is configured correctly, as evidenced by the fact that it is running on a production box using the same web.config (but not the same parent web.config). When I call the EncryptSymmetric() method, I get this error: Server Error in '/Store' Application....
8
10223
by: Alberto | last post by:
Can you tell me how to read and modify a value in the app.config file using this class? Thank you very much
4
57116
by: aSoundMind | last post by:
Hi there, I recieve this error Server Error in '/integrate' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
3
12062
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (machine.config) ---> System.Security.SecurityException: Request for the permission of type
0
9672
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10435
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10213
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10163
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6779
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.