Page 1 of 1

AbleCommerce 7 compatible with windows server 2008 ?

Posted: Wed Oct 29, 2008 8:29 am
by freedom1029
Does AbleCommerce 7.0 has any plan to be compatible with windows server 2008 soon?
and with .Net 3.5?
Thanks,
Eric

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Wed Oct 29, 2008 9:44 am
by mazhar
Does AbleCommerce 7.0 has any plan to be compatible with windows server 2008 soon?
Please have a look at the following post.
viewtopic.php?f=42&t=8395

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Wed Oct 29, 2008 10:38 am
by freedom1029
Thanks for your reply. I previously read the post you mentionned and in my case even after the modif it's still not working . See by yourself at http://www.clemex.com/store
If you have any suggestions I would really appreciate your help.

Btw is AbleCommerce officially supporting windows server 2008? and with .Net 3.5? If not is it part of your roadmap any time soon?

Thanks,
Eric

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Wed Oct 29, 2008 12:16 pm
by jmestep
We have sites running on Windows Server 2008.

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Wed Oct 29, 2008 12:39 pm
by mazhar
It could be some IIS7 and AJAX Problem.
http://weblogs.asp.net/mschwarz/archive ... -mode.aspx

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Wed Oct 29, 2008 12:46 pm
by mazhar
Please edit your web.config file and locate the following line of code

Code: Select all

</system.web.extensions>
and then add the following code just below it.

Code: Select all

<system.webServer>
		<validation validateIntegratedModeConfiguration="false"/>
		<modules>
			<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
			<add name="AbleCommerceHttpModule" type="CommerceBuilder.Services.AbleCommerceHttpModule, CommerceBuilder.Services" preCondition="managedHandler" />
		</modules>
		<handlers>
			<remove name="WebServiceHandlerFactory-Integrated"/>
			<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
			<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
			<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
			<add name="WebChart.axd_GET" path="WebChart.axd" verb="GET" type="WebChart.CachedImageService, WebChart" preCondition="integratedMode,runtimeVersionv2.0" />
			<add name="Captcha.ashx_*" path="Captcha.ashx" verb="*" type="CommerceBuilder.Web.CaptchaGenerator, CommerceBuilder.Web" preCondition="integratedMode,runtimeVersionv2.0" />
			<add name="ProcessPayPal.ashx_*" path="ProcessPayPal.ashx" verb="*" type="CommerceBuilder.Payments.Providers.PayPal.IpnProcessor, CommerceBuilder.Paypal" preCondition="integratedMode,runtimeVersionv2.0" />
		</handlers>
	</system.webServer>
Hopefully it will fix this problem

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Wed Oct 29, 2008 1:04 pm
by freedom1029
Thanks again for your help,
I did as you mentionned but still get the same result. Just in case here is my web.config

Code: Select all

<?xml version="1.0"?>
<configuration>
	<configSections>
		<sectionGroup name="AbleCommerce" type="CommerceBuilder.Configuration.AbleCommerceSectionGroup, CommerceBuilder.Configuration">
			<section name="application" type="CommerceBuilder.Configuration.AbleCommerceApplicationSection, CommerceBuilder.Configuration" restartOnExternalChanges="true" requirePermission="false"/>
			<section name="encryption" type="CommerceBuilder.Configuration.AbleCommerceEncryptionSection, CommerceBuilder.Configuration" restartOnExternalChanges="false" requirePermission="false"/>
		</sectionGroup>
		<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" restartOnExternalChanges="false" requirePermission="false"/>
		<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0" requirePermission="false"/>
		<!-- AJAX -->
		<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
			<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
				<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
				<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
					<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
					<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
					<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
				</sectionGroup>
			</sectionGroup>
		</sectionGroup>
		<!-- AJAX -->
	</configSections>
	<AbleCommerce>
		<application configSource="App_Data\ablecommerce.config"/>
		<encryption configSource="App_Data\encryption.config"/>
	</AbleCommerce>
	<log4net configSource="App_Data\log4net.config"/>
	<dataConfiguration defaultDatabase="AbleCommerce"/>
	<connectionStrings configSource="App_Data\database.config"/>
	<appSettings>
		<add key="FCKeditor:UserFilesPath" value="~/Assets" />
	</appSettings>
	<system.web>
		<customErrors mode="Off"/>
		<pages theme="AbleCommerce" enableEventValidation="false" validateRequest="false">
			<controls>
				<!-- AJAX -->
				<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
				<add tagPrefix="ajax" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
				<add tagPrefix="ajax" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, Version=1.0.10301.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>
				<!-- AJAX -->
			</controls>
			<namespaces>
				<add namespace="System"/>
				<add namespace="System.Net"/>
				<add namespace="System.Web.UI"/>
				<add namespace="System.Web.UI.WebControls"/>
				<add namespace="System.Collections.Generic"/>
				<add namespace="CommerceBuilder.Catalog"/>
				<add namespace="CommerceBuilder.DigitalDelivery"/>
				<add namespace="CommerceBuilder.Utility"/>
				<add namespace="CommerceBuilder.Common"/>
				<add namespace="CommerceBuilder.Catalog"/>
				<add namespace="CommerceBuilder.Users"/>
				<add namespace="CommerceBuilder.Products"/>
				<add namespace="CommerceBuilder.Payments"/>
				<add namespace="CommerceBuilder.Payments.Providers"/>
				<add namespace="CommerceBuilder.Stores"/>
				<add namespace="CommerceBuilder.Messaging"/>
				<add namespace="CommerceBuilder.Marketing"/>
				<add namespace="CommerceBuilder.Shipping"/>
				<add namespace="CommerceBuilder.Taxes"/>
				<add namespace="CommerceBuilder.Taxes.Providers"/>
				<add namespace="CommerceBuilder.Orders"/>
				<add namespace="CommerceBuilder.Reporting"/>
				<add namespace="CommerceBuilder.Web.UI"/>
			</namespaces>
			<tagMapping>
				<add tagType="System.Web.UI.WebControls.CompareValidator" mappedTagType="Sample.Web.UI.Compatibility.CompareValidator, Validators, Version=1.0.0.0"/>
				<add tagType="System.Web.UI.WebControls.CustomValidator" mappedTagType="Sample.Web.UI.Compatibility.CustomValidator, Validators, Version=1.0.0.0"/>
				<add tagType="System.Web.UI.WebControls.RangeValidator" mappedTagType="Sample.Web.UI.Compatibility.RangeValidator, Validators, Version=1.0.0.0"/>
				<add tagType="System.Web.UI.WebControls.RegularExpressionValidator" mappedTagType="Sample.Web.UI.Compatibility.RegularExpressionValidator, Validators, Version=1.0.0.0"/>
				<add tagType="System.Web.UI.WebControls.RequiredFieldValidator" mappedTagType="Sample.Web.UI.Compatibility.RequiredFieldValidator, Validators, Version=1.0.0.0"/>
				<add tagType="System.Web.UI.WebControls.ValidationSummary" mappedTagType="Sample.Web.UI.Compatibility.ValidationSummary, Validators, Version=1.0.0.0"/>
				<add tagType="System.Web.UI.WebControls.WebParts.WebPartManager" mappedTagType="Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager"/>
				<add tagType="System.Web.UI.WebControls.WebParts.WebPartZone" mappedTagType="CommerceBuilder.Web.UI.WebControls.WebParts.WebPartZone"/>
			</tagMapping>
		</pages>
		<!--
          Set compilation debug="true" to insert debugging
          symbols into the compiled page. Because this
          affects performance, set this value to true only
          during development.
    -->
		<trace enabled="false" requestLimit="10" pageOutput="false" localOnly="true"/>
		<compilation debug="false" strict="false" explicit="false">
			<assemblies>
				<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
				<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
				<add assembly="System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
				<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
				<add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
				<add assembly="System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
				<add assembly="System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
			</assemblies>
		</compilation>
		<httpHandlers>
			<!-- AJAX -->
			<remove verb="*" path="*.asmx"/>
			<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
			<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
			<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
			<!-- AJAX -->
			<add verb="*" path="ProcessPayPal.ashx" type="CommerceBuilder.Payments.Providers.PayPal.IpnProcessor, CommerceBuilder.Paypal"/>
			<add verb="*" path="Captcha.ashx" type="CommerceBuilder.Web.CaptchaGenerator, CommerceBuilder.Web"/>
			<add verb="GET" path="WebChart.axd" type="WebChart.CachedImageService, WebChart"/>
		</httpHandlers>
		<httpModules>
			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
			<add name="AbleCommerceHttpModule" type="CommerceBuilder.Services.AbleCommerceHttpModule, CommerceBuilder.Services"/>
		</httpModules>
		<authentication mode="Forms">
			<forms timeout="90" slidingExpiration="true" name="AC7.ASPXAUTH" />
		</authentication>
		<sessionState mode="InProc" timeout="30" cookieName="AC7.SESSIONID" />
		<siteMap defaultProvider="StoreSiteMap">
			<providers>
				<add name="StoreSiteMap" type="System.Web.XmlSiteMapProvider" siteMapFile="~/Web.sitemap"/>
				<add name="AdminMenuMap" type="System.Web.XmlSiteMapProvider" siteMapFile="~/Admin/menu.sitemap" securityTrimmingEnabled="true"/>
				<add name="AdminBreadCrumbsMap" type="CommerceBuilder.Web.UI.WebControls.DynamicSiteMapProvider" siteMapFile="~/Admin/breadcrumbs.sitemap" securityTrimmingEnabled="false"/>
			</providers>
		</siteMap>
		<roleManager enabled="true" defaultProvider="AbleCommerceRoleProvider">
			<providers>
				<clear/>
				<add name="AbleCommerceRoleProvider" type="CommerceBuilder.Users.AbleCommerceRoleProvider" connectionStringName="AbleCommerce6" applicationName="/"/>
			</providers>
		</roleManager>
		<membership defaultProvider="AbleCommerceMembershipProvider">
			<providers>
				<clear/>
				<add name="AbleCommerceMembershipProvider" connectionStringName="AbleCommerce6" applicationName="/" type="CommerceBuilder.Users.AbleCommerceMembershipProvider"/>
			</providers>
		</membership>
		<profile enabled="false"/>
		<webParts>
			<personalization defaultProvider="AbleCommercePersonalizationProvider">
				<providers>
					<clear/>
					<add name="AbleCommercePersonalizationProvider" type="CommerceBuilder.Personalization.PersonalizationProvider" connectionStringName="AbleCommerce6" applicationName="/"/>
				</providers>
				<authorization>
					<allow verbs="enterSharedScope" roles="System,Admin,Jr. Admin,Manage Website"/>
				</authorization>
			</personalization>
		</webParts>
		<anonymousIdentification enabled="true" cookieName="AC7.ASPXANONYMOUS" cookieTimeout="1440" />
	</system.web>
	<system.web.extensions>
		<scripting>
			<scriptResourceHandler enableCompression="true" enableCaching="true"/>
		</scripting>
	</system.web.extensions>
	<system.webServer>
		<validation validateIntegratedModeConfiguration="false"/>
		<modules>
			<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
			<add name="AbleCommerceHttpModule" type="CommerceBuilder.Services.AbleCommerceHttpModule, CommerceBuilder.Services" preCondition="managedHandler" />
		</modules>
		<handlers>
			<remove name="WebServiceHandlerFactory-Integrated"/>
			<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
			<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
			<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
			<add name="WebChart.axd_GET" path="WebChart.axd" verb="GET" type="WebChart.CachedImageService, WebChart" preCondition="integratedMode,runtimeVersionv2.0" />
			<add name="Captcha.ashx_*" path="Captcha.ashx" verb="*" type="CommerceBuilder.Web.CaptchaGenerator, CommerceBuilder.Web" preCondition="integratedMode,runtimeVersionv2.0" />
			<add name="ProcessPayPal.ashx_*" path="ProcessPayPal.ashx" verb="*" type="CommerceBuilder.Payments.Providers.PayPal.IpnProcessor, CommerceBuilder.Paypal" preCondition="integratedMode,runtimeVersionv2.0" />
		</handlers>
	</system.webServer>
	<system.net>
		<settings>
			<httpWebRequest useUnsafeHeaderParsing="true"/>
		</settings>
	</system.net>
</configuration>

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Wed Oct 29, 2008 3:53 pm
by Logan Rhodehamel
The error I see is "Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined".

That makes it seem like the same config element is defined somewhere higher up in the chain. Maybe it's included as part of the machine.config or maybe it's in the web.config of the root of your website?

In any case, I think the problem is that the web.config has information that in your installation needs to be removed.

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Wed Oct 29, 2008 8:13 pm
by freedom1029
Thanks for your reply I think we are getting there. My store is located in a sub folder (set as an application) within my main website. The interesting part is that as you mentioned it seems that my web.config from this sub folder inherit from the root folder's web.config causing the error. Indeed my root application is using ajax 3.5 while ableCommerce try to use the old ajax.

I tried to wrap the <configSections> in a location tag as mention in this post http://www.aspdotnetfaq.com/Faq/how-to- ... p-net.aspx but it doesn't seem to recognize the tag.
The only thing I could think of would be to downgrade my main app to .Net 2.0 therefore using the same old ajax as well in my main web.config. Any other ideas someone?
Thanks,
Eric

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Thu Oct 30, 2008 12:35 pm
by freedom1029
I am still trying to fix my issue in the mean time I never got a strait reply from ablecommerce about if they plan to support .net 3.5 any time soon. I am asking the question because if ablecommerce had a new version with .net 3.5, the web.config files in both root and sub folder app would be similar eliminating the problem I am having.

Eric

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Mon Dec 08, 2008 10:43 am
by cmorganmcp
I'm having the same issue, has anyone found a workaround yet?

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Thu Dec 11, 2008 2:52 am
by mazhar
I'm having the same issue, has anyone found a workaround yet?
7.1 Version by default handle this and works with IIS7.

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Thu Dec 11, 2008 10:08 am
by Logan Rhodehamel
freedom1029 wrote:I am asking the question because if ablecommerce had a new version with .net 3.5
I can confirm if you have an application (not AbleCommerce) in the web root that links to System.Web.Extensions 3.5, trying to run AbleCommerce in a child application is not currently compatible. I am looking into this issue.

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Thu Dec 11, 2008 11:40 am
by Logan Rhodehamel
freedom1029 wrote:I tried to wrap the <configSections> in a location tag as mention in this post http://www.aspdotnetfaq.com/Faq/how-to- ... p-net.aspx but it doesn't seem to recognize the tag.
The only thing I could think of would be to downgrade my main app to .Net 2.0 therefore using the same old ajax as well in my main web.config.
As you discovered, you can't isolate the config sections. AbleCommerce runs with the 3.5 framework installed, but it cannot use the new 3.5 ajax extensions. At a minimum, there are two third party libraries that are incompatible with the 3.5 extensions included with our released versions.

I believe if you downgraded the ajax references of the main application it would be a plausible solution. But currently I know these two scenarios are not possible:

1) Upgrading the AC application web.config to use 3.5 extensions
2) Running AC as a child application with the root application configured for 3.5 extensions

Upgrading AC to the newer extensions has to be planned and tested, due to the scope of the change. I cannot provide a timeframe for a better solution.

Re: AbleCommerce 7 compatible with windows server 2008 ?

Posted: Thu Dec 11, 2008 12:35 pm
by freedom1029
Logan I am glad to see that you guys are looking into this matter. I do agree with your latest post. After testing different scenarios myself, I came to the conclusion that if I wanted my main web site to take advantages of the 3.5 framework that I had to host my store on a different server with a different domain name. However this is an unfortunate solution as it also mean more cost for web hosting, database, domain name and also a new SSL certificate.

For me the best solution would be to get an AbleCommerce 7.2 version that would be upto date with the 3.5 framework and therefore using the same 3.5 Ajax.

Eric