Page 1 of 1

Can’t login in, no errors displayed

Posted: Wed Jul 14, 2010 9:33 pm
by markc
For developing on our local pc’s we have installed Able on our local pc’s and connected to the database on the DEV server, when we do this we can’t login to the admin area.

We go through the process of login but no errors are displayed and the LOGIN button does not change to LOGOUT.

We can login to able admin area when we access Able Cart directly from the DEV server where Able Cart and the database are installed

The cookies saved on my local pc are
Localhost AC7.SESSIONID
Localhost AC7.ASPXANONYMOUS
Localhost AC7.ASPXAUTH
Username

We are using IIS7 on our local PC and IIS6 on the DEV server.
We think the problem is with the settings in IIS7.

Thanks

Mark

Re: Can’t login in, no errors displayed

Posted: Wed Jul 14, 2010 10:13 pm
by Shopping Cart Admin
Hello Mark,

Sounds possibly like the encryption key on the development box was set, and that won't match with your local installs.

Re: Can’t login in, no errors displayed

Posted: Wed Jul 14, 2010 10:56 pm
by markc
Hi Mike,

The encryption key on the development box was not set.

How could I make the encryption key match on the development box and local installs?

When we set up Able we installed it on the development box.
Then we done a clean install on a local PC and pointed the connection string (this was encryption we removed it so we could point it at our development box we will encryption it when we go live) in database.config.
Would this cause a problem when we removed the encryption in the database.config file.

Thanks

Mark

Re: Can’t login in, no errors displayed

Posted: Wed Jul 14, 2010 11:17 pm
by Shopping Cart Admin
Hello Mark,

Getting all the machine key's in sync is over my head. Don't set ANY encryption keys on any of the development boxes and it should work.

Re: Can’t login in, no errors displayed

Posted: Wed Jul 14, 2010 11:31 pm
by markc
Hi Mike,

The encryption key on the development box or local pc was not set.

Thanks

Mark

Re: Can’t login in, no errors displayed

Posted: Thu Jul 15, 2010 7:00 am
by jmestep
You won't be able to log in to the admin if your license key doesn't match the url. Try adding demoMode="True" to the first line in the App_Data/AbleCommerce.config file. Your orders will all show DEMO DEMO as name and address, but that is the only problem.
I don't think this is related, but be sure to put a machineKey setting into your web.config file. Otherwise it uses the machineKey from your server and it is different on every server. That way the site can be moved if necessary.
You can create one here:
http://www.developmentnow.com/articles/ ... rator.aspx