Localhost Demo License

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
ghghgh
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Fri Oct 09, 2009 12:21 pm

Localhost Demo License

Post by ghghgh » Mon Dec 13, 2010 1:55 pm

I do a clean install (ac_7_0_5_stable_b14053.exe) and run the webiste. I'm running the store through DevStudio 2008 cassini web server so the url looks like this:

http://localhost:2370/Website/

When I get done with the install it tells me my licesnse isn't any good... but I picked demo during the install so this is odd...

I go poking in the App_Data folder and open the license file and it has my url (localhost:2370) but the other info is for some other person at some other company... huh?

<?xml version="1.0" encoding="UTF-8"?>
<ablecommercelicense version="7.0.0" keytype="DEMO">
<customer>
<name>XXX</name>
<company>XXX</company>
<phone>XXX</phone>
<email>XXX</email>
</customer>
<demo>true</demo>
<domains>
<domain primary="true">localhost:2370</domain>
</domains>
<expiration>2010-10-04</expiration>
<BasePath>XXX</BasePath>
<signature>XXX</signature>
</ablecommercelicense>

I even moved the port to 2371 and tried updating the license and then I got yet another persons license info...

Is this a bug? Or is the the url (localhost:2370) really tied to some other person at some other company?

If it is the later case, this makes it VERY unfriendly for developers, especially those that work on behalf of other clients...

How can I get a license that will work for local development on any localhost url?

Also, I'm not sure this is an issue but I need the Demo license to be run out of any folder on any computer (not all developers put their website in the same location and they certainly don't use the same PC). If I install the website on my PC and check it in to source control and someone else checks it out on their PC I want them to be able to run it as well without jumping through a bunch of hoops...

Is this possible?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Localhost Demo License

Post by mazhar » Tue Dec 14, 2010 8:41 am

I believe your attempting to install application with web server bundled within Visual Studio. It not neccessary that bundled server always runs on same same port so if it runs on different port that can break the license I believe. You can try two things either instead of using a development install try running in demo mode by editing your Website/App_Data/ablecommerce.config and then adding demoMode="true" to <application .............. > element. The other option could be to setup IIS on your machine and the configure a virtual directory pointing to ablecommerce package. Finally install it by using local webserver like
localhost/myablecommerceinstall/....

Post Reply