473,672 Members | 2,539 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3324
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*****@Coaste r.netwrote in message
news:%2******** ********@TK2MSF TNGP03.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*****@Coaste r.netwrote in message
news:%2******** ********@TK2MSF TNGP03.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
<authorizatio n>

<deny users="?"/>

</authorization>

<authenticati on mode="Forms">

<forms loginUrl="Login .aspx">

<credentials>

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

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

</credentials>

</forms>

</authentication>

"Kevin Spencer" <un**********@n othinks.comwrot e in message
news:uY******** ******@TK2MSFTN GP02.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*****@Coaste r.netwrote in message
news:%2******** ********@TK2MSF TNGP03.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*****@Coaste r.netwrote in message
news:%2******** ********@TK2MSF TNGP05.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
<authorizatio n>

<deny users="?"/>

</authorization>

<authenticati on mode="Forms">

<forms loginUrl="Login .aspx">

<credentials>

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

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

</credentials>

</forms>

</authentication>

"Kevin Spencer" <un**********@n othinks.comwrot e in message
news:uY******** ******@TK2MSFTN GP02.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*****@Coaste r.netwrote in message
news:%2******* *********@TK2MS FTNGP03.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*****@Coaste r.netwrote in message
news:%2******** *******@TK2MSFT NGP05.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*****@Coaste r.netwrote in message
news:%2******** ********@TK2MSF TNGP05.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>

<authenticatio n mode="Forms">

<forms loginUrl="Login .aspx">

<credentials >

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

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

</credentials>

</forms>

</authentication>

"Kevin Spencer" <un**********@n othinks.comwrot e in message
news:uY******* *******@TK2MSFT NGP02.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*****@Coaste r.netwrote in message
news:%2****** **********@TK2M SFTNGP03.phx.gb l...
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
3762
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 subfolder (a WebService Folder). I defined the Module as followed: <configuration> ....
14
5087
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 F.
0
1504
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 Application_BeginRequest event, is there the possibility to dinamically remove a custom HttpModule which has been added in the httpModules configuration node in the web.config ? Thanks in advance for any answer. Kev
1
6425
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....
31
8594
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
866
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 HKLM\Software\Microsoft/Fusion\References 2.) Delete the references (i.e. delete the registry keys)
0
1394
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 applications. In the case of codeSubDirectories, the same subdirectories must be created under App_Code for any child applications, or the application will fail because the directory could not be found. For controls, you cannot remove references to the...
7
7277
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 internet-account. I am using cdosys with 'late binding'. I try to send mail with an attachment to a few mailaddresses (strTo) The *exact same code* (with other smtpserver-login and pw strings) does work on various other PC's with various other...
3
12051
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
8828
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
8608
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
8680
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6238
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4227
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...
0
4418
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2819
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
2063
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.