an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Installation > Configuration Error.
Last Post 2/15/2011 10:37:15 AM By lukezy. 1 replies.
2/15/2011 1:20:17 AM
lukezy
Posts: 2110
Joined: 6/12/2007
Location:WA, US
Configuration Error.
 I am trying to install dot shopping cart open source edition V 3.0
 
I have followed all the pre-requisites i.e:
 
Operating System : Windows Server 2008 Enterprise Edition
 
SQL SERVER 2008 Enterprise Edition
 
.Net Framework 4.0 
 
now after completing all the installation steps successfully..when i try to access the url at 'localhost/demo' it gives me the following error.
 
<span class="Apple-style-span" style="font-family: Verdana; font-size: 11px; "><span> <h2 style="font-family: Verdana; font-weight: normal; font-size: 14pt; color: maroon; ">Configuration Error </span><b style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px; ">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. 

<b style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px; ">Parser Error Message: 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.

<b style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px; ">Source Error: 

<table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td> <pre style="font-family: 'Lucida Console'; font-size: 0.9em; "> Line 180: <add name="UrlRewriter" type="DotShoppingCart.OpenSource.HttpModules.UrlRewriterHttpModule, DotShoppingCart.OpenSource.HttpModules.UrlRewriter"/> Line 181: </httpModules> Line 182: <authentication mode="Forms"> Line 183: <forms name=".ASPNET" loginUrl="login.aspx" cookieless="UseCookies" protection="All" timeout="20160" path="/"/> Line 184: </authentication> </td> </tr> </tbody> </table>
<b style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px; ">Source File: C:\Release_New\Web\web.config<b style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px; ">    Line: 182 
</span>
 
 
 
and if i try to load it as an application instead of virtual directory...this is the error i get..
 
 
<span class="Apple-style-span" style="font-family: Verdana; font-size: 11px; "><span> <h2 style="font-family: Verdana; font-weight: normal; font-size: 14pt; color: maroon; ">Configuration Error </span><b style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px; ">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. 

<b style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px; ">Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

<b style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px; ">Source Error: 

<table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td> <pre style="font-family: 'Lucida Console'; font-size: 0.9em; "> Line 140: during development. Line 141: --> Line 142: <compilation debug="true" targetFramework="4.0"> Line 143: <assemblies> Line 144: <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> </td> </tr> </tbody> </table>
<b style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px; ">Source File: C:\Release_New\Web\web.config<b style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px; ">    Line: 142 
</span>
 
 
any ideas??
 
 
 
 
DotShoppingCart Staff
2/15/2011 10:37:15 AM
lukezy
Posts: 2110
Joined: 6/12/2007
Location:WA, US
Re: Configuration Error.
Did you do step# 3 in the installation guide? You will need to set up Application Pool to ASP.NET v4.0 in the IIS.
DotShoppingCart Staff