I"m extremely frustrated. I've built a new website (VS 2010 - C#) and am trying to deploy it and I cannot get past the above error. I've Googled so many different posts and studied all of their suggested solutions. Some of them seem very straight-forward and others just don't give me enough step-by-step information to follow.
Here's a summary of what the error message I'm getting
Server Error in '/' Application.
Parser Error Message: The element 'buildProviders' cannot be defined below the application level
Source: ...\public_html\web-config Line: 49
Here's the directory structure of my website:
/ftp41059679-0/public_html [Where the Default.aspx and web.config files (among others) reside]
/ftp41059679-0/public_html/App_Code
/ftp41059679-0/public_html/bin
/ftp41059679-0/public_html/LogFiles
/ftp41059679-0/public_html/MemberPages
/ftp41059679-0/public_html/Reports
/ftp41059679-0/public_html/Scripts
Here's the directory structure of my VS project:
C:\...\MyRootFolder\ [Where the bulk of my aspx files reside]
C:\...\MyRootFolder\App_CodeC:\...\MyRootFolder\BinC:\...\MyRootFolder\LogFilesC:\...\MyRootFolder\MemberPagesC:\...\MyRootFolder\ReportsC:\...\MyRootFolder\scripts
Here's the web.config file. The offending line is highlighted in [highlight #FCE94F]yellow[/highlight]:
The 'Virtual path' for my solution is defined as '\', which to my thinking is also 'MyRootFolder' shown above.
Can somebody PLEASE help me figure out what I'm doing wrong?
Steve
Here's a summary of what the error message I'm getting
Server Error in '/' Application.
Parser Error Message: The element 'buildProviders' cannot be defined below the application level
Source: ...\public_html\web-config Line: 49
Here's the directory structure of my website:
/ftp41059679-0/public_html [Where the Default.aspx and web.config files (among others) reside]
/ftp41059679-0/public_html/App_Code
/ftp41059679-0/public_html/bin
/ftp41059679-0/public_html/LogFiles
/ftp41059679-0/public_html/MemberPages
/ftp41059679-0/public_html/Reports
/ftp41059679-0/public_html/Scripts
Here's the directory structure of my VS project:
C:\...\MyRootFolder\ [Where the bulk of my aspx files reside]
C:\...\MyRootFolder\App_CodeC:\...\MyRootFolder\BinC:\...\MyRootFolder\LogFilesC:\...\MyRootFolder\MemberPagesC:\...\MyRootFolder\ReportsC:\...\MyRootFolder\scripts
Here's the web.config file. The offending line is highlighted in [highlight #FCE94F]yellow[/highlight]:
Code:
<?xml version="1.0" encoding="macintosh" ?>
<!--
For more information on how to configure your ASP.NET application, please visit
[URL unfurl="true"]http://go.microsoft.com/fwlink/?LinkId=169433[/URL]
-->
<configuration>
<configSections>
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports">
<section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null"/>
</sectionGroup>
</sectionGroup>
</configSections>
<appSettings>
<add key="IsDevelopment" value="true"/>
<add key="InMaintenanceMode" value="false"/>
<add key="BackOnLineMessage" value="Please Check Back Later"/>
<add key="DatabaseTimeOut" value="60000"/>
[indent]Numerous other keys[/indent]
<add key="TimeDelayInSeconds" value="10"/>
<add key="CrystalImageCleaner-AutoStart" value="true"/>
<add key="CrystalImageCleaner-Sleep" value="60000"/>
<add key="CrystalImageCleaner-Age" value="120000"/>
</appSettings>
<system.web>
<customErrors mode="Off"></customErrors>
<compilation debug="true" strict="false" explicit="true" targetFramework="4.0">
<assemblies>
<add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<add assembly="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Windows.Forms.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
<buildProviders>
[highlight #FCE94F]<add extension=".rpt" type="CrystalDecisions.Web.Compilation.RptBuildProvider, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>[/highlight]
</buildProviders>
</compilation>
<httpHandlers>
<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
</httpHandlers>
</system.web>
<businessObjects>
<crystalReports>
<rptBuildProvider>
<add embedRptInResource="true"/>
</rptBuildProvider>
</crystalReports>
</businessObjects>
<system.webServer>
<handlers>
<add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode"/>
</handlers>
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>
</configuration>
The 'Virtual path' for my solution is defined as '\', which to my thinking is also 'MyRootFolder' shown above.
Can somebody PLEASE help me figure out what I'm doing wrong?
Steve