Hello All,
I know some of ASP.net but now I am finally getting ready to set up a web page.
Here is my error message:
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: Configuration file 'c:\inetpub\wwwroot\web.config' does not contain a root <configuration> tag.
Source Error:
Line 1: <?xml version="1.0"?>
Line 2: <appSettings>
Line 3: </appSettings>
Line 4: <connectionStrings>
Source File: c:\inetpub\wwwroot\web.config Line:
Here is the code:
?xml version="1.0"?>
<appSettings>
</appSettings>
<connectionStrings>
<add name="appConnectionString" connectionString="Data Source=dev2005\sqlexpress;Initial Catalog=NWNET;Integrated Security=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
<configuration>
<system.web>
<globalization culture="en-GB"/>
<httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" /></httpHandlers>
<compilation debug="true" strict="false" explicit="true">
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /></buildProviders>
</compilation>
<pages maintainScrollPositionOnPostBack ="true">
<namespaces>
<clear/>
<add namespace="System"/>
<add namespace="System.Collections"/>
<add namespace="System.Collections.Specialized"/>
<add namespace="System.Configuration"/>
<add namespace="System.Text"/>
<add namespace="System.Text.RegularExpressions"/>
<add namespace="System.Web"/>
<add namespace="System.Web.Caching"/>
<add namespace="System.Web.SessionState"/>
<add namespace="System.Web.Security"/>
<add namespace="System.Web.Profile"/>
<add namespace="System.Web.UI"/>
<add namespace="System.Web.UI.WebControls"/>
<add namespace="System.Web.UI.WebControls.WebParts"/>
<add namespace="System.Web.UI.HtmlControls"/>
</namespaces>
</pages>
<authentication mode="Windows"/>
<authorization>
<deny users="?"/>
</authorization>
<identity impersonate="true"/>
</system.web>
</configuration>
I am under some time pressure to learn this on the fly and yes I am burnign some midnight oil on my own.
Any and all help is greatly appreciated!
Thanks,
Kurt