Problems when posting site

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?UGV0ZXIgTmV3bWFu?=

    #1

    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="AspNetSql RoleProvider"
    connectionStrin gName="LocalSql Server" applicationName ="/"
    type="System.We b.Security.SqlR oleProvider, System.Web, Version=2.0.0.0 ,
    Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a" />
    Line 151: <add name="AspNetWin dowsTokenRolePr ovider"
    applicationName ="/" type="System.We b.Security.Wind owsTokenRolePro vider,
    System.Web, Version=2.0.0.0 , Culture=neutral ,
    PublicKeyToken= b03f5f7f11d50a3 a" />
    Line 152: </providers>


    Source File:
    C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Config\machine .config Line:
    150

    can anyone point me in the right direction to get this sorted. Thank you in
    advance
Working...