Problems when posting site




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
.



Relevant Pages

  • RE: Parser Error Message: Execution permission cannot be acquired.
    ... After that I got a different source error: ... An error occurred during the processing of a configuration file ... >> Parser Error Message: Execution permission cannot be acquired. ...
    (microsoft.public.dotnet.framework)
  • Re: ASP.NET 2.0 Crystal reports failing on server
    ... Here you will see the option of adding Crystal Reports for .NET, ... Take the build and deploy it to the production server and then run it. ... 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. ...
    (microsoft.public.dotnet.general)
  • Virtual Directory not working
    ... An error occurred during the processing of a configuration file ... Source Error: ... The virtual path '/skins/mth/MainPage.ascx' maps to another application, ... Line 29: pageControl = LoadControl ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Access DB Path - Big Thank You
    ... Dim config As System.Configuration.Configuration = ConfigurationManager.OpenExeConfiguration(_ ... 'Create a connection string element ... ' Get the application configuration file. ... > Normally when you use the designer you use the Special data directory> to ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Connection String Machine Independent.
    ... You can add an Application Configuration file to your project and then store ... As part of your installation you ... > This is sample connection string to connect to my server: ... > Now, when I distribute this application, the Server will have to be ...
    (microsoft.public.dotnet.distributed_apps)