473,395 Members | 1,452 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,395 software developers and data experts.

Can't use membership provider wizard (Web Site Admin Tool)

I've been sucked into Sharepoint land for about 6 months and just trying to
climb back out and get back into ASP.net 2.0 work.

I have a new install of VS2005 on my machine. I've created a new web site.
Added a DB (SQL Express) and try to run Web Site Administration Tool to set
up the membership roles.

However, when I click on the SECURITY tab, 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: The connection
name 'LocalSqlServer' was not found in the applications configuration or the
connection string is empty.
(C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Con fig\machine.config line
119)

----------------------

Google isn't turning up a whole lot, though it seems to pointing at some
permissions issue somewhere. I'm not sure what/where the problem is, though.
I assume I'm missing an obvious step somewhere that's just not-so-obvious to
me. ;o)

-Darrel
Oct 24 '07 #1
3 3059
The following message may help in diagnosing the problem: The connection
name 'LocalSqlServer' was not found in the applications configuration or
the connection string is empty.
(C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Con fig\machine.config line
119)
Just check if an entry for "LocalSqlServer" in <connectionStringsexists or
not.

--
Cheers,
Gaurav Vaish
www.mastergaurav.com
www.edujini-labs.com
-------------------------------
Oct 24 '07 #2
Just check if an entry for "LocalSqlServer" in <connectionStringsexists
or not.
I KNEW it'd be something simple like that. Thanks!

Of course, this raises the question...if VS2005 can automate the DB creation
using SQL Express and automate the setting up of user accounts via the
membership provider wizard, why can't it at the very least add the
connection string for me? ;0)

-Darrel
Oct 24 '07 #3
Of course, this raises the question...if VS2005 can automate the DB
creation using SQL Express and automate the setting up of user accounts
via the membership provider wizard, why can't it at the very least add the
connection string for me? ;0)
Well, VS2005 never does anything like that for you.
It's on the .Net Framework SDK tools that do for you :)
--
Cheers,
Gaurav Vaish
www.mastergaurav.com
www.edujini-labs.com
-------------------------------
Oct 25 '07 #4

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

Similar topics

0
by: Nate Hekman | last post by:
I'm trying to set up a Membership/Role Provider for an ASP.NET 2.0 beta 2 site using SqlMembershipProvider, and am having problems configuring SQL Server. I'm comfortable with ASP.NET but very...
0
by: Paolo | last post by:
I have just installed VS Net 2005, and SQL Server 2005. Previously I had tried Visual Web Developer 2005, and I was able to follow the tutorials. I transferred some of the example websites to VS...
3
by: Dan Sikorsky | last post by:
Can I use SQLServer 2000 with ASP.NET 2.0 instead of SQLServer 2005, and use the .Net 2.0 Membership functionality? I've setup my Login page, controls, etc., and now it's time to use the Web...
6
by: xeroxero | last post by:
I do not have any membership provider information specified in my ASP.NET 2.0 web.config file. After digest authentication, the site "hangs" for 20 seconds and then gives a SQL Server error, I...
2
by: Allan Ebdrup | last post by:
I'm using VS Team Suite 2005 and dotNet 2.0, my webserver is running dotNet 2.0 I trying to set up a membership provider using a MSSQL 2000 database. I've run the aspnet_regsql.exe tool and have...
5
by: Mahernoz | last post by:
Hi Everyone! I have a problem here. I have used the latest asp.net membership & profiles functionality in my site. I have 2 roles admin and user. I also have a user named admin. Now, my...
2
by: =?Utf-8?B?cHJhZHk=?= | last post by:
Hi, Is it possible for me to create new users without using the wizard? I am using a custom membership as i want to capture more data other than the ones which are available in the wizard. Is it...
2
by: Andy B | last post by:
I have a database with asp.net membership inside it. How would I use it for 2 or more web applications at the same time?
4
by: Andy B | last post by:
I have the following Membership element in my web.config file. When I run the create user wizard to test it out, it doesn't seem to work. The create user control doesn't return any errors and there...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.