473,386 Members | 1,726 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,386 software developers and data experts.

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're 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 1306
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**************@TK2MSFTNGP09.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're 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
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...
2
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....
1
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...
3
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...
2
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...
10
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...
1
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...
8
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
by: aSoundMind | last post by:
Hi there, I recieve this error Server Error in '/integrate' Application. -------------------------------------------------------------------------------- Configuration Error Description: An...
3
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
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
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...

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.