Configuration Error

Discussion in 'ASP.NET 2.0' started by Bruce, Feb 17, 2007.

  1. Bruce

    Bruce DiscountASP.NET Staff

    You have to replace the values between < > with your database information found in the SQL manager in the control panel.

    :<

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  2. Hello.
    I get this error when connecting my sql/Express, Visual Web Developer to SQL Server 2005 .
    Can anyone help. THANKS!
    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: Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 13, position 65.

    Source Error:






    Code:
    Line 11: 
    Line 12: 	<connectionStrings>
    Line 13:     <add name="ConnectionString" connectionString="Data Source="<sql server="" name="">.discountasp.net;Initial Catalog=<DB_Name>;User ID=<db_user>;Password=<DB_password>" />
    Line 14:             </connectionStrings>
    Line 15:   
    Source File: E:\web\filmdrifter\htdocs\web.config Line: 13
     

Share This Page