473,287 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Membership Provider Error

Hi

This is Vishal this side.I have been trying to create a new sample website
using the new Membership Provider Class.

Now when I try to a create a new website and then hit on the Website
Administrator Tool and then hit on Security I get this error

"There is a problem with your selected data store. This can be caused by an
invalid server name or credentials, or by insufficient permission. It can
also be caused by the role manager feature not being enabled. Click the
button below to be redirected to a page where you can choose a new data
store.

The following message may help in diagnosing the problem: Unable to connect
to SQL Server database. "

Where do we specify the SQL Server Database details?
I appreciate if you anyone help fix this issue.

Regards,

Vishal Gupta
May 16 '06 #1
5 2005
Please review the Membership documentation...

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

Specifically, you configure ASP.NET applications to use Membership in the
<connectionstrings>, <providers> and <membership> elements in the application's web.config :

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

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vishal Gupta" <vi**********@acs-inc.com> wrote in message
news:ux**************@TK2MSFTNGP04.phx.gbl...
Hi

This is Vishal this side.I have been trying to create a new sample website
using the new Membership Provider Class.

Now when I try to a create a new website and then hit on the Website
Administrator Tool and then hit on Security I get this error

"There is a problem with your selected data store. This can be caused by an
invalid server name or credentials, or by insufficient permission. It can
also be caused by the role manager feature not being enabled. Click the
button below to be redirected to a page where you can choose a new data
store.

The following message may help in diagnosing the problem: Unable to connect
to SQL Server database. "

Where do we specify the SQL Server Database details?
I appreciate if you anyone help fix this issue.

Regards,

Vishal Gupta

May 16 '06 #2
Thanks, it works by providing the connection string ,provider, membership
entries in the web.config.I also had to manually install the aspnetdb
through the aspnet_regsql utiltily.

However, I still have a doubt in all the videos i saw on ASP.net Membership
classes it works simply without providing any of these entries or any such
settings.(http://msdn.microsoft.com/asp.net/le...todevelopment/)
Is there some settings at the time installation or any rights which we need
to take care.
Please let me know if you have clues.
Vishal

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Please review the Membership documentation...

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

Specifically, you configure ASP.NET applications to use Membership in the
<connectionstrings>, <providers> and <membership> elements in the
application's web.config :

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

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vishal Gupta" <vi**********@acs-inc.com> wrote in message
news:ux**************@TK2MSFTNGP04.phx.gbl...
Hi

This is Vishal this side.I have been trying to create a new sample
website
using the new Membership Provider Class.

Now when I try to a create a new website and then hit on the Website
Administrator Tool and then hit on Security I get this error

"There is a problem with your selected data store. This can be caused by
an
invalid server name or credentials, or by insufficient permission. It can
also be caused by the role manager feature not being enabled. Click the
button below to be redirected to a page where you can choose a new data
store.

The following message may help in diagnosing the problem: Unable to
connect
to SQL Server database. "

Where do we specify the SQL Server Database details?
I appreciate if you anyone help fix this issue.

Regards,

Vishal Gupta


May 16 '06 #3
I tried the same thing (installing VS2005) on Windows 2003 x64 bit OS and
when i create a new website and hit on Website Adminstration Tool (WSAT)
and ther after hit on Security tab, everything works perfect and i am able
to create users/roles....
I wanted to know why is not working on my local system. It is Windows XP
with a network domain account.
Does the WSAT tool require some adminsitrative privileges to run or what ??

Please help...................

"Vishal Gupta" <vi**********@acs-inc.com> wrote in message
news:eR**************@TK2MSFTNGP03.phx.gbl...
Thanks, it works by providing the connection string ,provider, membership
entries in the web.config.I also had to manually install the aspnetdb
through the aspnet_regsql utiltily.

However, I still have a doubt in all the videos i saw on ASP.net
Membership classes it works simply without providing any of these entries
or any such
settings.(http://msdn.microsoft.com/asp.net/le...todevelopment/)
Is there some settings at the time installation or any rights which we
need to take care.
Please let me know if you have clues.
Vishal

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Please review the Membership documentation...

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

Specifically, you configure ASP.NET applications to use Membership in the
<connectionstrings>, <providers> and <membership> elements in the
application's web.config :

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

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vishal Gupta" <vi**********@acs-inc.com> wrote in message
news:ux**************@TK2MSFTNGP04.phx.gbl...
Hi

This is Vishal this side.I have been trying to create a new sample
website
using the new Membership Provider Class.

Now when I try to a create a new website and then hit on the Website
Administrator Tool and then hit on Security I get this error

"There is a problem with your selected data store. This can be caused by
an
invalid server name or credentials, or by insufficient permission. It
can
also be caused by the role manager feature not being enabled. Click the
button below to be redirected to a page where you can choose a new data
store.

The following message may help in diagnosing the problem: Unable to
connect
to SQL Server database. "

Where do we specify the SQL Server Database details?
I appreciate if you anyone help fix this issue.

Regards,

Vishal Gupta



May 16 '06 #4
Did you install SQL Server 2005 Express locally ?
The default installation requires SQL Server 2005 Express.

You have to do some customization if you want to run Membership against other databases.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vishal Gupta" <vi**********@acs-inc.com> wrote in message
news:uh**************@TK2MSFTNGP02.phx.gbl...
I tried the same thing (installing VS2005) on Windows 2003 x64 bit OS and when i create a new
website and hit on Website Adminstration Tool (WSAT)
and ther after hit on Security tab, everything works perfect and i am able to create
users/roles....
I wanted to know why is not working on my local system. It is Windows XP with a network domain
account.
Does the WSAT tool require some adminsitrative privileges to run or what ??

Please help...................

"Vishal Gupta" <vi**********@acs-inc.com> wrote in message
news:eR**************@TK2MSFTNGP03.phx.gbl...
Thanks, it works by providing the connection string ,provider, membership entries in the
web.config.I also had to manually install the aspnetdb through the aspnet_regsql utiltily.

However, I still have a doubt in all the videos i saw on ASP.net Membership classes it works
simply without providing any of these entries or any such
settings.(http://msdn.microsoft.com/asp.net/le...todevelopment/)
Is there some settings at the time installation or any rights which we need to take care.
Please let me know if you have clues.
Vishal

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Please review the Membership documentation...

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

Specifically, you configure ASP.NET applications to use Membership in the
<connectionstrings>, <providers> and <membership> elements in the application's web.config :

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

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vishal Gupta" <vi**********@acs-inc.com> wrote in message
news:ux**************@TK2MSFTNGP04.phx.gbl...
Hi

This is Vishal this side.I have been trying to create a new sample website
using the new Membership Provider Class.

Now when I try to a create a new website and then hit on the Website
Administrator Tool and then hit on Security I get this error

"There is a problem with your selected data store. This can be caused by an
invalid server name or credentials, or by insufficient permission. It can
also be caused by the role manager feature not being enabled. Click the
button below to be redirected to a page where you can choose a new data
store.

The following message may help in diagnosing the problem: Unable to connect
to SQL Server database. "

Where do we specify the SQL Server Database details?
I appreciate if you anyone help fix this issue.

Regards,

Vishal Gupta



May 16 '06 #5
Yes i have SQL Sever 2005 on my local machine.The only point to note is that
earlier both SQL2000 and SQL2005 was installed with 2000 been the default
instance.But now i have removed 2000 from my machine.

Enclosed is the SQL Server detail

Microsoft SQL Server Management Studio 9.00.1399.00
Microsoft Analysis Services Client Tools 2005.090.1399.00
Microsoft Data Access Components (MDAC) 2000.085.1117.00
(xpsp_sp2_rtm.040803-2158)
Microsoft MSXML 2.6 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 6.0.2900.2180
Microsoft .NET Framework 2.0.50727.42
Operating System 5.1.2600
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ej**************@TK2MSFTNGP04.phx.gbl...
Did you install SQL Server 2005 Express locally ?
The default installation requires SQL Server 2005 Express.

You have to do some customization if you want to run Membership against
other databases.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vishal Gupta" <vi**********@acs-inc.com> wrote in message
news:uh**************@TK2MSFTNGP02.phx.gbl...
I tried the same thing (installing VS2005) on Windows 2003 x64 bit OS and
when i create a new website and hit on Website Adminstration Tool (WSAT)
and ther after hit on Security tab, everything works perfect and i am
able to create users/roles....
I wanted to know why is not working on my local system. It is Windows XP
with a network domain account.
Does the WSAT tool require some adminsitrative privileges to run or what
??

Please help...................

"Vishal Gupta" <vi**********@acs-inc.com> wrote in message
news:eR**************@TK2MSFTNGP03.phx.gbl...
Thanks, it works by providing the connection string ,provider,
membership entries in the web.config.I also had to manually install the
aspnetdb through the aspnet_regsql utiltily.

However, I still have a doubt in all the videos i saw on ASP.net
Membership classes it works simply without providing any of these
entries or any such
settings.(http://msdn.microsoft.com/asp.net/le...todevelopment/)
Is there some settings at the time installation or any rights which we
need to take care.
Please let me know if you have clues.
Vishal

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Please review the Membership documentation...

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

Specifically, you configure ASP.NET applications to use Membership in
the
<connectionstrings>, <providers> and <membership> elements in the
application's web.config :

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

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vishal Gupta" <vi**********@acs-inc.com> wrote in message
news:ux**************@TK2MSFTNGP04.phx.gbl...
> Hi
>
> This is Vishal this side.I have been trying to create a new sample
> website
> using the new Membership Provider Class.
>
> Now when I try to a create a new website and then hit on the Website
> Administrator Tool and then hit on Security I get this error
>
> "There is a problem with your selected data store. This can be caused
> by an
> invalid server name or credentials, or by insufficient permission. It
> can
> also be caused by the role manager feature not being enabled. Click
> the
> button below to be redirected to a page where you can choose a new
> data
> store.
>
> The following message may help in diagnosing the problem: Unable to
> connect
> to SQL Server database. "
>
>
>
> Where do we specify the SQL Server Database details?
>
>
> I appreciate if you anyone help fix this issue.
>
>
>
> Regards,
>
> Vishal Gupta
>
>



May 16 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: WB | last post by:
Hi, I am revamping my company's website with ASP.Net 2.0. In order to use our existing user data in our SQL 2000, I have written a custom membership provider. However, when I try to logon with...
2
by: John | last post by:
Hi I was working fine with create user wizard and the default membership provider. I have now customised the membership provider as per attached web.config. The create user wizard picks up the...
9
by: Paul Keegstra | last post by:
Hi, I am currently working on an asp.net 2.0 web site that is a replacement of a classic asp web site. The current web site uses a Commerce Server 2002 database for storing user information. ...
1
by: Axford | last post by:
Hello, I am trying to implement my own custom provider for memberships, basically only id/pwd (no roles). I use the new login web control (I am using asp.net 2.0 and VS2005). In web.config I...
2
by: Balaji | last post by:
Hi All, Can I use more than one membership provider for a given website? I understand only one of them could be default one. If yes, then how to programmatically access the other membership...
1
by: Ben | last post by:
Hi, When an anonymous user has created an new account (with the CreateUserWizard control), i want to let asp.net generate a password and to send it to the address of the email provided by the...
2
by: GaryDean | last post by:
My ASP.Net application, that uses the SQL Membership Provider, runs fine on my development box (server2003) as long as I use the standard provider. But, in anticipation of deployment to other...
0
by: drjack | last post by:
Recently I developed a website using asp.net and SQL Express. The database file is uploaded into App_Data folder. The website is using two membership providers, one is SqlMemership provider with...
1
by: guoyuanliu | last post by:
Hi, I use custom membership provider and custom role provider to manage users of my application. In web.Config I use Form Authentication and define both providers as my default membership and role...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...

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.