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 / .NET Framework / New Users / October 2007

Tip: Looking for answers? Try searching our database.

asp.net config...why doesn't it create membership provider?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Darrel - 30 Oct 2007 02:26 GMT
So I'm reading/watching tutorials showing me how to set up roles and users
via the Web Configuration Wizard.

However, I constantly run into issues with it just not working.

It appears that to enable all of this, it's supposed to be adding
information to my web.config file for me:

http://msdn2.microsoft.com/en-us/library/ms731049.aspx

At this point, I can create roles, but not users using the Web Configuration
wizard. When I go to 'create user' I just get an "An error was encountered.
Please return to the previous page and try again."

Is something wrong with my web configuration wizard? Am I doing something
wrong? Does it just not work?

-Darrel
Darrel - 30 Oct 2007 02:34 GMT
> Is something wrong with my web configuration wizard? Am I doing something
> wrong? Does it just not work?

As a follow-up, I can drag the CreateUserWizard control on to a page, build
the project, and then add users via the web interface. I can then see these
users in the Web Configuration Wizard. I just can't create new ones.

-Darrel
Andrew Faust - 30 Oct 2007 07:07 GMT
> Is something wrong with my web configuration wizard?

Maybe

> Am I doing something  wrong?

Maybe

> Does it just not work?

It works fine for me.

If you want better answers than this you're going to need to post more
information such as your Web.Config file.

Signature

Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com

> So I'm reading/watching tutorials showing me how to set up roles and
> users via the Web Configuration Wizard.
[quoted text clipped - 14 lines]
>
> -Darrel
Darrel - 30 Oct 2007 13:29 GMT
> If you want better answers than this you're going to need to post more
> information such as your Web.Config file.

It's the default 'web site' config file.

Maybe I need to step back a minute. My understanding is that VS 2007 along
with ASP.net 2.0 should enable the whole concept of 'drag n drop' Rapid
development more palatable. Previously, I avoided it, as I loathed the code
and the markup that 1.0 used, so tended to write a lot of back end code.

I'm trying to get out of the habit, but I'm struggling to even get my
web.config file set up.

In VS.2005, if I create a SQL Express DB, how should the connection string
be added to web.config? Do I still go in there and type it myself, or should
I be using some sort of GUI interface widget within VS.net to handle that?

I'm fine typing it all, I just feel that it's counter to all I hear about
VS.net 2005.

-Darrel
Andrew Faust - 31 Oct 2007 02:51 GMT
For the default database (SQL Express in the data directory) it should just
work without adding anything to Web.Config so I'm not sure why it's not
working for you. However, for anything other than the default you'll need
to add the entries to the web.config file. Unfortunately, I don't know of
any mechanism other than manually entering it. Maybe someone else will know
of a better method.

> I'm fine typing it all, I just feel that it's counter to all I hear about
> VS.net 2005.

Asp.Net certainly gets rid of a lot of code you would have to write
manually compared to web development languages (like PHP) that I've used.
However, it can't get rid of all of it.

Signature

Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com

>> If you want better answers than this you're going to need to post more
>> information such as your Web.Config file.
[quoted text clipped - 19 lines]
>
> -Darrel

Rate this thread:







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.