SL4 Biz App

Discussion in 'Silverlight' started by ast1, Apr 16, 2010.

  1. successful build and MSDeploy out of the box, but get the following when running app from server:

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

    Source Error:


    Line 281: <providers>
    Line 282: <add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/"
    Line 283: type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    Line 284: <add name="AspNetWindowsTokenRoleProvider" applicationName="/"
    Line 285: type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Add a connection string named "LocalSqlServer"
     

Share This Page