Porting AbleCommerce 7.0 to IIS 7.5
Porting AbleCommerce 7.0 to IIS 7.5
We are currently porting our Able Commerce 7.0 store to a new server running Windows Server 2008 R2 and IIS 7.5. We are getting a lot of errors in web.config when doing so. Is anyone running AbleCommerce in IIS 7.5 and if so, what are the web.config settings please?
Thanks!
--
Best Regards,
Dennis St. John - Veria Technologies, Inc.
Thanks!
--
Best Regards,
Dennis St. John - Veria Technologies, Inc.
Re: Porting AbleCommerce 7.0 to IIS 7.5
Is anyone running AbleCommerce 7.0 on Windows Server 2008 R2 Standard in IIS 7.5? What's the trick to getting this working?
Re: Porting AbleCommerce 7.0 to IIS 7.5
We are hosting all our clients on Windows 2008R2 x64 IIS 7.5 and we have not had issues with 7.0.x version. Double check site application pool settings, Pipeline mode must be set to Classic and
Enable 32-Bit Applications set to True.
Enable 32-Bit Applications set to True.
Dimi Goranov
Drundo Software Inc.
AbleCommerce Hosting and Management
Email: dgoranov@drundo.com
Ph: 888.464.2140
Drundo Software Inc.
AbleCommerce Hosting and Management
Email: dgoranov@drundo.com
Ph: 888.464.2140
Re: Porting AbleCommerce 7.0 to IIS 7.5
Thanks for the reply! After transferring all files from the old server to the new, is there any sort of .exe from AbleCommerce that I need to run or anything? Here is a screenshot of the error I am getting. I have tried a lot of things and this is by far the most problems I've had transferring a site over. I've transferred many sites with success, but this one is giving me a lot of problems.
Re: Porting AbleCommerce 7.0 to IIS 7.5
It seems that the Ajax toolkit assemblies can not be found in the GAC. The easiest way to fix the issue is to manually copy System.Web.Extensions.Design.dll, System.Web.Extensions.dll under site /bin folder.
Dimi Goranov
Drundo Software Inc.
AbleCommerce Hosting and Management
Email: dgoranov@drundo.com
Ph: 888.464.2140
Drundo Software Inc.
AbleCommerce Hosting and Management
Email: dgoranov@drundo.com
Ph: 888.464.2140
Re: Porting AbleCommerce 7.0 to IIS 7.5
Yes, but manually copy the files from where? I have tried and get version mismatch errors, etc. etc. such as the one below:
Could not load file or assembly 'System.Web.Extensions.Design' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Is there not some sort of guide for migrating Able Commerce version 7 to IIS 7.5?
Could not load file or assembly 'System.Web.Extensions.Design' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Is there not some sort of guide for migrating Able Commerce version 7 to IIS 7.5?
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: Porting AbleCommerce 7.0 to IIS 7.5
The web.config of your store is configured to use an older .NET framework. Your new server is using a newer framewrok than you were using on the older server. It's like you are doing two upgrades at the same time. You will need to follow an upgrade process similar to what is discussed here:
http://help.ablecommerce.com/installati ... mework.htm
You want to upgrade your store to use .NET 4.0, since your new server uses it. Alternatively you might be able to set your application pool on the new server to use .NET 2.
http://help.ablecommerce.com/installati ... mework.htm
You want to upgrade your store to use .NET 4.0, since your new server uses it. Alternatively you might be able to set your application pool on the new server to use .NET 2.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Re: Porting AbleCommerce 7.0 to IIS 7.5
At this point, all I am looking to do is stay on .NET Framework 2.0, which is what my site is running on it's current (soon to be old) server.
I have confirmed, the site is running with .NET FW 2.0 on the old server.
I have confirmed, the site as configured on the new server, is set to use the Classic .NET App Pool with the .NET FW 2.0 in Pipeline Mode: Classic.
nothing has changed in the web.config between the old / current server and the new, other than that the new has IIS 7.5 installed.
My version of AC is 7.0.5, although I'd like to try 7.0.7.
But at this point, I just need to get the site running on the new server. I have been working on this for well over a month now and it is painful!!!
I have confirmed, the site is running with .NET FW 2.0 on the old server.
I have confirmed, the site as configured on the new server, is set to use the Classic .NET App Pool with the .NET FW 2.0 in Pipeline Mode: Classic.
nothing has changed in the web.config between the old / current server and the new, other than that the new has IIS 7.5 installed.
My version of AC is 7.0.5, although I'd like to try 7.0.7.
But at this point, I just need to get the site running on the new server. I have been working on this for well over a month now and it is painful!!!
Re: Porting AbleCommerce 7.0 to IIS 7.5
Also, my upgrade package of AbleCommerce 7.0.5 (named ac_7_0_5_stable_upgrade_b14053.exe) did not have a NET40 folder as depicted in the screenshots, only the NET20 and NET35.
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: Porting AbleCommerce 7.0 to IIS 7.5
I'm not sure sticking with 2.0 framework is possible on the newer server for AbleCommerce. Your new server probably doesn't have the old microsoft ajax extensions installed - this was an add-on installation for .NET 2.0. This might be the right link for it:
http://www.microsoft.com/download/en/de ... spx?id=883
The download details do not have 2008 as a supported platform so it might not even be able to be installed. This add-on is what provided the System.Web.Extensions library that the error message posted is complaining about.
I don't think I would recommend going this route. Is there a reason you can't upgrade the .NET framework version of the AbleCommerce store?
EDIT: Sorry my mistake about .NET compatibility. .NET 3.5 would also solve the trouble you are having with ASP.NET ajax. .NET 4.0 support files were not provided until a release later than 7.0.5.
http://www.microsoft.com/download/en/de ... spx?id=883
The download details do not have 2008 as a supported platform so it might not even be able to be installed. This add-on is what provided the System.Web.Extensions library that the error message posted is complaining about.
I don't think I would recommend going this route. Is there a reason you can't upgrade the .NET framework version of the AbleCommerce store?
EDIT: Sorry my mistake about .NET compatibility. .NET 3.5 would also solve the trouble you are having with ASP.NET ajax. .NET 4.0 support files were not provided until a release later than 7.0.5.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Re: Porting AbleCommerce 7.0 to IIS 7.5
Ok, so, if I am hearing you correct, I should use the DLLs and web.config in the NET35 folder under Framework of the Able package and switch my IIS settings to use the .NET 4.0 Framework? I don't see an option to run a site with .NET 3.5. I am certainly not opposed to any of this, I just need it to work.
Thanks for your help!
Thanks for your help!
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: Porting AbleCommerce 7.0 to IIS 7.5
Leave IIS configured for .NET 2.0 framework. .NET 3.5 could be called .NET 2.0 SP1 - and there is no IIS setting for "3.5" because behind the scenes it is basically 2.0. But you do need to use the DLLs and the web.config for AbleCommerce that were provided in support of the 3.5 framework. I believe this will allow you to overcome the obstacle with the asp.net ajax (system.web.extensions) reference.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Re: Porting AbleCommerce 7.0 to IIS 7.5
Ok, thanks Logan. I will give this a shot and keep us posted! I sincerely appreciate your assistance!
Re: Porting AbleCommerce 7.0 to IIS 7.5
OK! We are getting further along!
After going through all that...
I was finally able to pull up the site and input my new key provided by my AbleCommerce reseller! I had not gotten that far before.
After putting in the key, I am now getting this error (and let me preface this with saying that I unencrypted the connection string in the AC Admin panel on the soon to be old server so that I could change it on my new server without breaking it on the old - does that make sense?)
Here's the error:
Server Error in '/' Application.
Configuration Error
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: Failed to decrypt using provider 'DataProtectionConfigurationProvider'. Error message from the provider: Key not valid for use in specified state. (Exception from HRESULT: 0x8009000B)
Source Error:
Line 1: <encryption configProtectionProvider="DataProtectionConfigurationProvider">
Line 2: <EncryptedData>
Line 3: <CipherData>
Line 4: <CipherValue>AQAAANCMnd8BFdERjHo.......</CipherValue>
Source File: d:\home\mystore.com\web\App_Data\encryption.config Line: 2
Do I have to disable the "encryption ciphering" while I temporarily get the data connected here?
After going through all that...
I was finally able to pull up the site and input my new key provided by my AbleCommerce reseller! I had not gotten that far before.
After putting in the key, I am now getting this error (and let me preface this with saying that I unencrypted the connection string in the AC Admin panel on the soon to be old server so that I could change it on my new server without breaking it on the old - does that make sense?)
Here's the error:
Server Error in '/' Application.
Configuration Error
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: Failed to decrypt using provider 'DataProtectionConfigurationProvider'. Error message from the provider: Key not valid for use in specified state. (Exception from HRESULT: 0x8009000B)
Source Error:
Line 1: <encryption configProtectionProvider="DataProtectionConfigurationProvider">
Line 2: <EncryptedData>
Line 3: <CipherData>
Line 4: <CipherValue>AQAAANCMnd8BFdERjHo.......</CipherValue>
Source File: d:\home\mystore.com\web\App_Data\encryption.config Line: 2
Do I have to disable the "encryption ciphering" while I temporarily get the data connected here?
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: Porting AbleCommerce 7.0 to IIS 7.5
When you move your store from one server to another, there are some files you cannot directly copy across. One of these is ~/App_Data/encryption.config. That is the file giving you the problem.
I hope you still have access to the old store and/or an encryption key backup. You will need one of these in order to fully move your store. On the new server you should probably open up the encryption.config file and replace the entire content of the store with this:
That is equivalent to resetting back to no encryption key. Once you have the software running you'll need to restore your encryption key backup from the admin.
(The other file that will have a similar problem is database.config... so the steps you took to decrypt it make total sense.)
I hope you still have access to the old store and/or an encryption key backup. You will need one of these in order to fully move your store. On the new server you should probably open up the encryption.config file and replace the entire content of the store with this:
Code: Select all
<encryption />
(The other file that will have a similar problem is database.config... so the steps you took to decrypt it make total sense.)
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Re: Porting AbleCommerce 7.0 to IIS 7.5
Thank you VERY MUCH Logan! You have been a HUGE help, more than anyone, in all my attempts to get this done!
Everything is now working on the new server, now all I have to do is cutover, which can now happen this evening!
Again, thanks so much for your assistance and explanation of everything!
--
Best Regards,
Dennis St. John - Veria Technologies, Inc.
http://www.veriatech.com
Everything is now working on the new server, now all I have to do is cutover, which can now happen this evening!
Again, thanks so much for your assistance and explanation of everything!
--
Best Regards,
Dennis St. John - Veria Technologies, Inc.
http://www.veriatech.com