Hey guys, I've seen posts that seemed to have a similiar problem but no solution was offered so let me ask.
I've created a web site with VS 2005 Pro and published it to the Local IIS on my Windows 2003 Server. When I run the project in development mode it works fine. However, when I try to access it by using the IP address at gives me the error you see below. Before I received this error I had an error complaining about my mailsettings tag within the web.config file, I commented the while tag out and now it's complaining about the next tag down. How do I fix this; I deffinetely need to be able to access my database?
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: Unrecognized configuration section 'connectionStrings'
Source Error:
Line 16: </system.net>
Line 17:
Line 18: <connectionStrings>
Line 19: <add name="CS1" connectionString="Dsn=MySQL;database=MYDATABASE;option=0;pwd=PASS;port=0;uid=UID"
Line 20: providerName="System.Data.Odbc" /> |
Source File: c:\inetpub\wwwroot\web.config Line: 18
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407