Connecting to MS sql 2005 database

Discussion in 'Databases' started by Bruce, Jun 6, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Bruce

    Bruce DiscountASP.NET Staff

    Connection string element new to ASP.NET 2.0. If your website is configured to use ASP.NET 1.1, you will get this error.

    Make sure you select ASP.NET 2.0 in the IIS manager in the control panel.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  2. Hi,

    I have hosted a site with MS SQL2005 by discountasp.

    I have problems to connect my webiste with this MS sQL database.
    The ERROR =
    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: Unrecognized element 'Data'.

    Source Error:






    Code:
    Line 2:  <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    Line 3:  	<connectionStrings>
    Line 4:      <Data Source="...." Catalog="..." Security="" Info="True;User" ID="..." providerName="System.Data.SqlClient" />
    Line 5:        </connectionStrings>
    Line 6:  	<system.web>Can someone please help me how to CONFIG the webconfig good????Thanks,Johnny
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page