473,725 Members | 2,264 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2040
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
<connectionstri ngs>, <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**********@a cs-inc.com> wrote in message
news:ux******** ******@TK2MSFTN GP04.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******** ********@TK2MSF TNGP02.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
<connectionstri ngs>, <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**********@a cs-inc.com> wrote in message
news:ux******** ******@TK2MSFTN GP04.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**********@a cs-inc.com> wrote in message
news:eR******** ******@TK2MSFTN GP03.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******** ********@TK2MSF TNGP02.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
<connectionstri ngs>, <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**********@a cs-inc.com> wrote in message
news:ux******** ******@TK2MSFTN GP04.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**********@a cs-inc.com> wrote in message
news:uh******** ******@TK2MSFTN GP02.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**********@a cs-inc.com> wrote in message
news:eR******** ******@TK2MSFTN GP03.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******** ********@TK2MSF TNGP02.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
<connectionstri ngs>, <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**********@a cs-inc.com> wrote in message
news:ux******** ******@TK2MSFTN GP04.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.0 0
Microsoft Data Access Components (MDAC) 2000.085.1117.0 0
(xpsp_sp2_rtm.0 40803-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******** ******@TK2MSFTN GP04.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**********@a cs-inc.com> wrote in message
news:uh******** ******@TK2MSFTN GP02.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**********@a cs-inc.com> wrote in message
news:eR******** ******@TK2MSFTN GP03.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******** ********@TK2MSF TNGP02.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
<connectionstri ngs>, <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**********@a cs-inc.com> wrote in message
news:ux******** ******@TK2MSFTN GP04.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
11790
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 the Login control, it gives an error: System.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'. Is it because I have not run the aspnet_regsql.exe yet? Do I have to?
2
3559
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 custom membership provider fine and removes the security question/answer fields as designated in the custom provider. The problem is that when I try to create a new user in the create user wizard by entering the info and pressing the 'create...
9
2174
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. It does not currently use any of the Commerce Server 2002 functionality with the exception of the user authentication features. I have written my replacement application to use a custom login form and custom connection string so that I can use...
1
1412
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 followed the examples like: <membership defaultProvider="AspNetSqlMembershipProvider2"> <providers> <clear/>
2
14156
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 provider? For e.g. lets say I have a SQLMembership provider and OracleMembership provider. SQL would be my default provider. During authentication, based on the value of an additional parameter in the login screen, I need to validate against SQL or...
1
14316
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 new membershipuser in the CreateUserWizard control. i think i need to define a custom provider for membership and i tried this: web.config:
2
2768
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 servers I am attempting to register another provider instance. I'm not sure this is the right deployment choice but I haven't found any guidelines on how to best deploy apps using the SQL Membership provider. I first attached...
0
1186
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 default name AspNet…. With such configuration: <membership> <providers> <clear/> <add connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true"...
1
1031
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 providers (I have implemented both providers in different class) now.. In Authorization section of web.config, i specifically state only allow roles = A, B . and i also specify for membership provider the name of the application of this web...
0
8889
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9401
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9179
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8099
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3228
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.