Page 1 of 1

Key Update Error

Posted: Mon Dec 15, 2014 2:19 pm
by mouse_8b
I am using AC Gold R9 WSP with Visual Studio Community Edition 2013. I installed AC using the 30 day trial. The trial expired and I got a new DEV key. When I put the dev key in, the site accepted the key, but now no pages will load. In Firefox, I get a corrupted content error, and Chrome and IE don't do anything when I try to navigate to my local server. Any ideas on what happened or how to fix it?

Re: Key Update Error

Posted: Mon Dec 15, 2014 2:28 pm
by mouse_8b
It worked again when I deleted the commercebuilder.lic file and did another 30 day trial. Once it was working, I tried to update the key through Configure > Security > Licensing and the error returned.

Re: Key Update Error

Posted: Tue Dec 16, 2014 4:08 am
by jmestep
Maybe the best way would be to use your live site key, only set demo mode to true in the App_Data/AbleCommerce.config file
<item key="UseDemoMode" value="True" />

Re: Key Update Error

Posted: Tue Dec 16, 2014 10:54 am
by mouse_8b
My live site key is for an older version of AC. I put it in anyway, and the system accepted it, but then no pages would load. I put the piece of XML code that you provided in the license file and it did not seem to help any.

I compared the DEV and DEMO licenses, and I noticed that the DEMO did not list a port number on the domain, so I have requested another DEV key for localhost without a port specification. We'll see how that works.

Re: Key Update Error

Posted: Tue Dec 16, 2014 11:24 am
by Katie
Hi Cade,

I'm sorry. My fault for not catching this when you made the first key request. For Gold dev licenses, the port number should be excluded for the localhost install.

The new key should work now.

Katie

Re: Key Update Error

Posted: Tue Dec 16, 2014 12:18 pm
by mouse_8b
The new key works. This is likely the same issue I had over a year ago that never got resolved.

There is a new issue now! Since I tried with my LIVE key per jmestep's recommendation, when I launch the site from Visual Studio, it tries to load http://www.barknpurr.com:51494/default.aspx instead of http://localhost:51494/default.aspx. I can manually change the URL to localhost in the address bar, but when Visual Studio launches the site, it tries to load the barknpurr.com domain. I thought maybe I should just re-install my testing server, but when Visual Studio tried to launch a fresh copy of AC G R9, it still tried to load the barknpurr domain. Updating the key to my working DEV key did not change what domain VS tries to load. I searched my whole solution for the string barknpurr, but it was not there, so it seems that redirect is in Visual Studio's configuration (maybe?). Any idea on what I can do to get the right domain to load from Visual Studio?

Re: Key Update Error

Posted: Tue Dec 16, 2014 3:15 pm
by mouse_8b
My newest issue seems to be a behavior of Visual Studio that I didn't expect. Since VS tries to open whatever page you are editing, I opened default.aspx in the editor while I built and ran the app, and that seems to have gotten everything back on track. Whew, I think everything is going to be okay now.