Problems when posting site
- From: Peter Newman <PeterNewman@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 16 Apr 2008 04:48:00 -0700
I dont know if this is the place to post this, but i have created a VS,net (
vb.net ) site which works fine on my local machine, but when i publish it to
the production server, i get the folowwing error
Server Error in '/' Application.
--------------------------------------------------------------------------------
Configuration Error
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 148: <roleManager>
Line 149: <providers>
Line 150: <add name="AspNetSqlRoleProvider"
connectionStringName="LocalSqlServer" applicationName="/"
type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
Line 151: <add name="AspNetWindowsTokenRoleProvider"
applicationName="/" type="System.Web.Security.WindowsTokenRoleProvider,
System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" />
Line 152: </providers>
Source File:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config Line:
150
can anyone point me in the right direction to get this sorted. Thank you in
advance
.
- Prev by Date: Re: query doesn't return all results
- Next by Date: Re: Changing an application to a service...
- Previous by thread: problem with installing app on customer machine 'app requires xxx be installed in GAC'
- Next by thread: type.Attributes names
- Index(es):
Relevant Pages
|