Problems when moving to a different server

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
steveo
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Fri Sep 23, 2011 7:54 am

Problems when moving to a different server

Post by steveo » Tue Apr 17, 2012 7:54 am

We tried to move our Ablecommerce site (version 7.07) to a different server yesterday. Bothe servers are running at the same host with the same environments. We are using the same domain name. After we switched the dns we go the following message:

The AbleCommerce license is registered for c:\hostingspaces\dvgrr\store.dvgrr.net\wwwroot\,
but your application is installed at c:\hostingspaces\qns2012\store.dvgrr.net\wwwroot\.
Please update your license file or move the installation.
To learn more about license keys and how to update, click here: AbleCommerce License Help (new window)
To update your key now, click here: Update Key

OK so I log into my Ablecommerce account and request a new license key. When I click on the link to update the license I get this error...

Server Error in '/' Application.
Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same. If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection. If the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the state server connection string must use either 'localhost' or '127.0.0.1' as the server name.

Any ideas what to do now? I did try restarting the app pool but that did not help at all.

steveo
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Fri Sep 23, 2011 7:54 am

Re: Problems when moving to a different server

Post by steveo » Tue Apr 17, 2012 9:32 am

I restarted the session state server and was able to update the key. However now I am getting this error... HELP!!!!!!!!!!!!!!!

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>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAnS9EXuiZ0kKvQWz2/if45gQAAAACAAAAAAADZgAAqAAAABAAAACTy5dBUhevcxe+UnkN2nwzAAAAAASAAACgAAAAEAAAAN0yPF5XnmM5Aj2qAGqMJZGAAQAAFpDKAeYuNYJT1pPXSZ8ISPuJhp91PhqPRuPFzwrWZLIcBV4PXNfveqIc/B8GacXtvvNLaSqvYKCfCGpaVJRNRiPMoVi1U7BPBnOcXMrU+VJ5K3
Kt5i9jkHQ2BmOLKIHho+b4UNe0w0ehS5TErFr3oSpiXJstmbbymTsBUaeOwrH/6rHKO5E/ZajSV1oOFNdUVajzTUxbd0v4iC7uFdOFWr5YhtuZxHqnCFj0CQhza7WmnxXdvmGJSEJDaPGVrzsnUNDlzyJsmZTWAXxoa99m6M9ff423ZwRtyIEkWkmRq3xqdH+0mb4bMQbA73bxKdFVHIUSC+/rfJ4MsgLvbk5bMTr6tfWbns86mEXgWBmrvHvqu2PyjxM2L+ObNN8YxZ2oiFM1hlVSG9cfnykYy
wPu7nxDJb7rkNYqCRsA7uMwbfRvJ5kepWiNyBWCCEGGvO0WMBRU7aS9PVD9yL03D/9jTSwK/MoN/YHlU5UspXKTyYy9swaJmp4BIeTGPk+7XfHKFAAAAKXe+qGPYIZnqM876wtZUEvMWsKe</CipherValue>

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Problems when moving to a different server

Post by jmestep » Wed Apr 18, 2012 7:26 am

Have you made changes in your web.config regarding what is used for session state? Here is Able default:
<sessionState mode="InProc" timeout="30" cookieName="AC7.SESSIONID" />
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Problems when moving to a different server

Post by AbleMods » Wed Apr 18, 2012 10:03 am

steveo wrote:Failed to decrypt using provider 'DataProtectionConfigurationProvider'. Error message from the
provider: Key not valid for use in specified state.
Just edit the /App_Data/Encryption.config file with Notepad. Remove everything between the <encryption></encryption> tags. Save it. That will get you past this error.

Encryption keys are machine-specific. When you move the site, you must make sure you've backed up your encryption keys prior to shutting down the old site. Then restore those same keys to the new site once you have it lit up.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply