473,386 Members | 1,830 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.

how do I remove asp.net web configuration?

I added security using the asp.net web site configuration tool and now I
want to remove it. I tried removing default provider via the asp.net
settings but it won't let me. It gives an error stating the provider name
must be at least 1 character long.

I want to use authentication but the simplified version of storing user
names and passwords in the web.config.

thanks
Aug 29 '07 #1
5 3300
Have you tried editing the web.config file in NotePad?

--
HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Coaster" <Co*****@Coaster.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>I added security using the asp.net web site configuration tool and now I
want to remove it. I tried removing default provider via the asp.net
settings but it won't let me. It gives an error stating the provider name
must be at least 1 character long.

I want to use authentication but the simplified version of storing user
names and passwords in the web.config.

thanks

Aug 29 '07 #2
Hi,

"Coaster" <Co*****@Coaster.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>I added security using the asp.net web site configuration tool and now I
want to remove it. I tried removing default provider via the asp.net
settings but it won't let me. It gives an error stating the provider name
must be at least 1 character long.

I want to use authentication but the simplified version of storing user
names and passwords in the web.config.
You should post this kind of questions in the ASP.net NG.
Aug 29 '07 #3
I removed add security related settings from the web.config and it worked as
expected . Then I added the forms authentication and credentials directing
it to a login.aspx page that should direct it to a default.aspx but instead
I get an error message stating
Default Membership Provider must be specified

Its like it thinks its using the old provider. I'm don't know where its
getting this from

This is what I have in web.config
<authorization>

<deny users="?"/>

</authorization>

<authentication mode="Forms">

<forms loginUrl="Login.aspx">

<credentials>

<user name="joe" password="Smith" />

<user name="azam" password="hello" />

</credentials>

</forms>

</authentication>

"Kevin Spencer" <un**********@nothinks.comwrote in message
news:uY**************@TK2MSFTNGP02.phx.gbl...
Have you tried editing the web.config file in NotePad?

--
HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Coaster" <Co*****@Coaster.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>I added security using the asp.net web site configuration tool and now I
want to remove it. I tried removing default provider via the asp.net
settings but it won't let me. It gives an error stating the provider name
must be at least 1 character long.

I want to use authentication but the simplified version of storing user
names and passwords in the web.config.

thanks


Aug 29 '07 #4
I got it, the login control is looking for the provider. I removed that and
replaced with some text boxes and forms auth.
"Coaster" <Co*****@Coaster.netwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>I removed add security related settings from the web.config and it worked
as expected . Then I added the forms authentication and credentials
directing it to a login.aspx page that should direct it to a default.aspx
but instead I get an error message stating
Default Membership Provider must be specified

Its like it thinks its using the old provider. I'm don't know where its
getting this from

This is what I have in web.config
<authorization>

<deny users="?"/>

</authorization>

<authentication mode="Forms">

<forms loginUrl="Login.aspx">

<credentials>

<user name="joe" password="Smith" />

<user name="azam" password="hello" />

</credentials>

</forms>

</authentication>

"Kevin Spencer" <un**********@nothinks.comwrote in message
news:uY**************@TK2MSFTNGP02.phx.gbl...
>Have you tried editing the web.config file in NotePad?

--
HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Coaster" <Co*****@Coaster.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>>I added security using the asp.net web site configuration tool and now I
want to remove it. I tried removing default provider via the asp.net
settings but it won't let me. It gives an error stating the provider name
must be at least 1 character long.

I want to use authentication but the simplified version of storing user
names and passwords in the web.config.

thanks



Aug 30 '07 #5
You might want to read the following article, to help you go further with
it:

http://www.15seconds.com/issue/020220.htm

--
HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Coaster" <Co*****@Coaster.netwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
>I got it, the login control is looking for the provider. I removed that and
replaced with some text boxes and forms auth.
"Coaster" <Co*****@Coaster.netwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>>I removed add security related settings from the web.config and it worked
as expected . Then I added the forms authentication and credentials
directing it to a login.aspx page that should direct it to a default.aspx
but instead I get an error message stating
Default Membership Provider must be specified

Its like it thinks its using the old provider. I'm don't know where its
getting this from

This is what I have in web.config
<authorization>

<deny users="?"/>

</authorization>

<authentication mode="Forms">

<forms loginUrl="Login.aspx">

<credentials>

<user name="joe" password="Smith" />

<user name="azam" password="hello" />

</credentials>

</forms>

</authentication>

"Kevin Spencer" <un**********@nothinks.comwrote in message
news:uY**************@TK2MSFTNGP02.phx.gbl...
>>Have you tried editing the web.config file in NotePad?

--
HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Coaster" <Co*****@Coaster.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl.. .
I added security using the asp.net web site configuration tool and now I
want to remove it. I tried removing default provider via the asp.net
settings but it won't let me. It gives an error stating the provider
name must be at least 1 character long.

I want to use authentication but the simplified version of storing user
names and passwords in the web.config.

thanks



Aug 30 '07 #6

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

Similar topics

2
by: Dominik Amon | last post by:
Hi, I'm using HttpModules in my ASP.NET Application (Note, i'm not using HttpHandlers!). Well, it works correctly for the hole application, but i wan't to remove the httpModule for a special...
14
by: Diego F. | last post by:
Hi. I want to delete an assembly registered in the GAC, but I get an error. How can I remove it? I'm using VS 2005 beta1 and the assembly is in the GAC from framework 2.0 -- Regards, Diego...
0
by: kev_Eldridge | last post by:
Is there a way in asp.net 2.0 to remove programatically an HttpModule from the http pipeline when the http request is processed? For instance, if some condition is verified in the...
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...
31
by: smachin1000 | last post by:
Hi All, Does anyone know of a tool that can automatically analyze C source to remove unused #includes? Thanks, Sean
0
by: GACKiller | last post by:
The GAC is hell. To remove pesky assemblies that will not remove no matter what you try... Do this: 1.) Look for your assemblyname in the registry under...
0
by: =?Utf-8?B?UnVzc2VsbCBCb2xhbmQ=?= | last post by:
In the codeSubDirectories and controsl configuration sections, the <remove /> and <clear /tags are not recognized. Because of this, there is no way to reverse these settings for any child...
7
by: Arno R | last post by:
Hi all, I am sending mail from my apps with CDO nowadays. However I have one client where this will not work until now. I am thinking this is related to the provider where the client has his...
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: 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
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...

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.