Hi all,
I am trying to use Visual Studio Publish on my Dev machine to deploy a Web Site to a separate IIS Test Server using Web Deploy and I am getting the following error which I do not understand:
Error It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. TeraTastic D:\Clancy\A_TeraTastic\Dev\TT15\TeraTastic\obj\Debug\AspnetCompileMerge\Source\app_data\nugetbackup\20170306-224002\web.config 146
Below I have listed the offending section of the referenced web.config file with offending line 146 marked with: "<<<<< ERROR LINE 146 <<<<<<<<"
<httpRuntime targetFramework="4.5.1" fcnMode="Single" maxRequestLength="51200"/>
<pages>
<namespaces>
<add namespace="ClientDependency.Core"/>
<add namespace="ClientDependency.Core.Mvc"/></namespaces>
</pages>
<httpModules>
<add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core"/>
<add name="ImageProcessorModule" type="ImageProcessor.Web.HttpModules.ImageProcessingModule, ImageProcessor.Web"/>
<add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,umbraco"/>
</httpModules>
<httpHandlers>
<add verb="GET" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core "/>
</httpHandlers>
<siteMap> <<<<<<<<<<<<<<<<<<<<<< ERROR LINE 146 <<<<<<<<<<<<<<<<<<<<<<
<providers>
<remove name="MySqlSiteMapProvider"/>
</providers>
</siteMap>
</system.web>
Any assistance to understand and resolve this error would be very much appreciated.
Thanks
Terry Clancy
ClanceZ