an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Installation > Configuration Error in Web.config file..during ...
Last Post 2/15/2011 6:57:00 AM By alina. 1 replies.
2/15/2011 6:37:19 AM
alina
Posts: 3
Joined: 2/8/2011
Configuration Error in Web.config file..during installation.
I <span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px; line-height: 19px; "><font class="Apple-style-span"> am trying to install dot shopping cart open source edition V 3.0</span><span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px; line-height: 19px; "> <div style="font-family: Arial, Helvetica, sans-serif; "> 
<div style="font-family: Arial, Helvetica, sans-serif; ">I have followed all the pre-requisites i.e: <div style="font-family: Arial, Helvetica, sans-serif; ">  <div style="font-family: Arial, Helvetica, sans-serif; ">Operating System : Windows Server 2008 Enterprise Edition <div style="font-family: Arial, Helvetica, sans-serif; ">  <div style="font-family: Arial, Helvetica, sans-serif; ">SQL SERVER 2008 Enterprise Edition <div style="font-family: Arial, Helvetica, sans-serif; ">  <div style="font-family: Arial, Helvetica, sans-serif; ">.Net Framework 4.0  <div style="font-family: Arial, Helvetica, sans-serif; ">  <div style="font-family: Arial, Helvetica, sans-serif; ">now after completing all the installation steps successfully..when i try to access the url at 'localhost/demo' it gives me the following error. <div style="font-family: Arial, Helvetica, sans-serif; "><br type="_moz" /> <div style="font-family: Arial, Helvetica, sans-serif; "><span class="Apple-style-span" style="font-family: Verdana; font-size: 11px; border-collapse: separate; line-height: normal; "><span> <h2 style="font-family: Verdana; font-weight: normal; font-size: 14pt; color: maroon; "><span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19px; color: rgb(0, 0, 0); font-style: normal; ">Configuration Error </span> <h2 style="font-family: Verdana; font-weight: normal; font-size: 14pt; color: maroon; "><span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19px; color: rgb(0, 0, 0); font-style: normal; ">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. </span>
 
</span><span>
 
</span>
</span><span class="Apple-style-span" style="font-family: Verdana; font-size: 11px; border-collapse: separate; line-height: normal; "><span>
 
</span><span>
<span class="Apple-style-span" style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; ">Parse 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.</span>
</span>

</span>
<div style="font-family: Arial, Helvetica, sans-serif; "><span class="Apple-style-span" style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; ">Source Error: 

Line 180: <add name="UrlRewriter" type="DotShoppingCart.OpenSource.HttpModules.UrlRewriterHttpModule, DotShoppingCart.OpenSource.HttpModules.UrlRewriter"/> </span>
<div style="font-family: Arial, Helvetica, sans-serif; "><span class="Apple-style-span" style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; ">Line 181: </httpModules> Line 182: <authentication mode="Forms"> </span> <div style="font-family: Arial, Helvetica, sans-serif; "><span class="Apple-style-span" style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; ">Line 183: <forms name=".ASPNET" loginUrl="login.aspx" cookieless="UseCookies" protection="All" timeout="20160" path="/"/> Line 184: </authentication></span> <div style="font-family: Arial, Helvetica, sans-serif; "><br type="_moz" />
<div style="font-family: Arial, Helvetica, sans-serif; ">Source File: C:\Release_New\Web\web.config   Line: 182
<div style="font-family: Arial, Helvetica, sans-serif; "><br type="_moz" />
<div style="font-family: Arial, Helvetica, sans-serif; ">and if i try to load it as an application instead of virtual directory...this is the error i get..
<div style="font-family: Arial, Helvetica, sans-serif; ">  <div style="font-family: Arial, Helvetica, sans-serif; ">  <div style="font-family: Arial, Helvetica, sans-serif; ">Configuration Error  <div style="font-family: Arial, Helvetica, sans-serif; ">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 attribute 'targetFramework'. Note that attribute names are case-sensitive.

Source Error: 
 Line 142: <compilation debug="true" targetFramework="4.0"> 
<div style="font-family: Arial, Helvetica, sans-serif; ">Line 143: <assemblies> Line 144: <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" <div style="font-family: Arial, Helvetica, sans-serif; "><br type="_moz" />
<font class="Apple-style-span">Source File: C:\Release_New\Web\web.config    Line 142
<div style="font-family: Arial, Helvetica, sans-serif; "><br type="_moz" /> <div style="font-family: Arial, Helvetica, sans-serif; ">  <div style="font-family: Arial, Helvetica, sans-serif; "> thanks in advance. </span>
 
2/15/2011 6:57:00 AM
alina
Posts: 3
Joined: 2/8/2011
Re: Configuration Error in Web.config file..during installation.
 please excuse this thread..i cant seem to find a way to edit it.