Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 13th, 2010, 02:55 PM
Registered User
Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Microsoft Access Providers to Replace the Built-In SQL Server Providers

Using the Microsoft Access Providers to Replace the Built-In SQL Server Providers
When I uploaded a membership login web site to my web site, I get an error when I go to the login.aspx page.
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty.
Source Error:

Line 163: <roleManager>
Line 164: <providers>
Line 165: <add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 166: <add name="AspNetWindowsTokenRoleProvider" applicationName="/" type="System.Web.Security.WindowsTokenRoleProvider , System.Web, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 167: </providers>

Source File: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Conf ig\machine.config Line: 165
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

Can you help?
Reply With Quote
  #2 (permalink)  
Old March 14th, 2010, 05:57 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts

Hi turben_1,

As I said in my personal message, you need to supply details. A lot. In particular, I asked for the following:

What OS are you using? Which version of IIS is being used? What's the physical file / folder structure of your web site. What's the virtual structure? How did you configure IIS? Are you using sub folders to host your site and if so, did you mark them as Virtual Folders / Application in IIS? How exactly do your config files look like? What did you change with regard to membership and profile settings?

In other words, it's impossible to say something useful based on this error message alone. Somewhere, somehow, someone tries to find a LocalSqlServer config setting which isn't there. Without details, it's impossible to tell what the problem is.


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Membership and Role Providers with Access Database kanzeon4 ASP.NET 2.0 Professional 1 April 2nd, 2008 04:09 PM
Access Providers not working chroniclemaster1 ASP.NET 2.0 Basics 4 March 18th, 2008 09:55 PM
Providers!!! dpkbahuguna Beginning VB 6 0 July 2nd, 2007 07:17 AM
How to change the providers to use SQL 2005 AnnHan ASP.NET 2.0 Basics 2 May 21st, 2006 03:07 AM
Custom Providers bmains ASP.NET 2.0 Basics 1 September 15th, 2004 12:30 PM

All times are GMT -4. The time now is 08:21 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.