Hi
I am new to Visual Web Developer 2005 and have not been using it that long! I am in the process of creating a simple shopping cart facility for a web site that I am developing and have created all the pages and their relivant backend files to the specifications of the guide that I have been using. The probelm that I seem to be having is that I cannot get any of the pages to connect to the databases that I have created to store all the products and their relivant information. The guide that I have been using suggests that I should input the following code :
<
connectionStrings>
<
add name="ConnectionString"
connectionString="Data
Source=localhost\SQLExpress;
Initial Catalog=Products;Integrated Security=True
"/>
</
connectionStrings>
straight after the <system.web> tag in the web.config file, but this does not seem to work and all I get is an error message saying:
unregognised configuration section system.web/connectionstrings...........web.config/line 14
Does anyone know what the correct codeing for the web.config file is to allow me to connect to the databases and allow my application to function correctly and also where this code should go in the web.config file. Any help would be greatly appreciated!
Cheers...................Jim