Odd ASP.NET Web Configuration Error!

N

Nick

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?
 
C

Christopher Reed

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top