HighTechTalks DotNet Forums  

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

Dotnet Framework microsoft.public.dotnet.framework


Discuss asp.net config...why doesn't it create membership provider? in the Dotnet Framework forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Darrel
 
Posts: n/a

Default asp.net config...why doesn't it create membership provider? - 10-29-2007 , 09:26 PM






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



Reply With Quote
  #2  
Old   
Darrel
 
Posts: n/a

Default Re: asp.net config...why doesn't it create membership provider? - 10-29-2007 , 09:34 PM






Quote:
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




Reply With Quote
  #3  
Old   
Andrew Faust
 
Posts: n/a

Default Re: asp.net config...why doesn't it create membership provider? - 10-30-2007 , 02:07 AM



Quote:
Is something wrong with my web configuration wizard?
Maybe

Quote:
Am I doing something wrong?
Maybe

Quote:
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.

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


"Darrel" <notreal (AT) nospam (DOT) com> wrote

Quote:
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



Reply With Quote
  #4  
Old   
Darrel
 
Posts: n/a

Default Re: asp.net config...why doesn't it create membership provider? - 10-30-2007 , 08:29 AM



Quote:
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




Reply With Quote
  #5  
Old   
Andrew Faust
 
Posts: n/a

Default Re: asp.net config...why doesn't it create membership provider? - 10-30-2007 , 09:51 PM



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.

Quote:
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.

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


"Darrel" <notreal (AT) nospam (DOT) com> wrote

Quote:
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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.