Login default provider

C

coder316

Hello,
I have a login control. When i submit it, it comes back with an error
'couldnt connect to SqlServer Express....'.
The Docs. say:
Unless you specify otherwise, the Login control uses the default
membership provider defined in the Web.config file.

I dont have a membership provider in my web config, so where did it
find the provider?
Thanks
 
G

Gregory A. Beamer

I have a login control. When i submit it, it comes back with an error
'couldnt connect to SqlServer Express....'.
The Docs. say:
Unless you specify otherwise, the Login control uses the default
membership provider defined in the Web.config file.

I dont have a membership provider in my web config, so where did it
find the provider?

It didn't. That is why it is erroring. Unfortunately, like so many
times, the developers made an assumption that the only reason it would
fail at this point is a bad connection string, not a missing one. Note
that SQL Express is also assumed, but if you use the web admin tool, it
will use Express by default, if you do not specify a connection string
up front.

Peace and Grace,

--
Gregory A. Beamer (MVP)

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top