Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / August 2007

Tip: Looking for answers? Try searching our database.

how do I remove asp.net web configuration?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Coaster - 29 Aug 2007 12:36 GMT
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
Kevin Spencer - 29 Aug 2007 12:59 GMT
Have you tried editing the web.config file in NotePad?

Signature

HTH,

Kevin Spencer
Microsoft MVP

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

>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
[quoted text clipped - 5 lines]
>
> thanks
Coaster - 29 Aug 2007 23:58 GMT
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>

> Have you tried editing the web.config file in NotePad?
>
[quoted text clipped - 7 lines]
>>
>> thanks
Coaster - 30 Aug 2007 01:10 GMT
I got it, the login control is looking for the provider. I removed that and
replaced with some text boxes and forms auth.

>I removed add security related settings from the web.config and it worked
>as expected . Then I added the forms authentication and credentials
[quoted text clipped - 39 lines]
>>>
>>> thanks
Kevin Spencer - 30 Aug 2007 12:58 GMT
You might want to read the following article, to help you go further with
it:

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

Signature

HTH,

Kevin Spencer
Microsoft MVP

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

>I got it, the login control is looking for the provider. I removed that and
>replaced with some text boxes and forms auth.
[quoted text clipped - 42 lines]
>>>>
>>>> thanks
Ignacio Machin ( .NET/ C# MVP ) - 29 Aug 2007 15:07 GMT
Hi,

>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
[quoted text clipped - 3 lines]
> 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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.