473,404 Members | 2,178 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,404 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 2009
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.