Can’t login in, no errors displayed

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
markc
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 24
Joined: Thu Jun 10, 2010 6:28 pm

Can’t login in, no errors displayed

Post by markc » Wed Jul 14, 2010 9:33 pm

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

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: Can’t login in, no errors displayed

Post by Shopping Cart Admin » Wed Jul 14, 2010 10:13 pm

Hello Mark,

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

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

markc
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 24
Joined: Thu Jun 10, 2010 6:28 pm

Re: Can’t login in, no errors displayed

Post by markc » Wed Jul 14, 2010 10:56 pm

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

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: Can’t login in, no errors displayed

Post by Shopping Cart Admin » Wed Jul 14, 2010 11:17 pm

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.
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

markc
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 24
Joined: Thu Jun 10, 2010 6:28 pm

Re: Can’t login in, no errors displayed

Post by markc » Wed Jul 14, 2010 11:31 pm

Hi Mike,

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

Thanks

Mark

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

Re: Can’t login in, no errors displayed

Post by jmestep » Thu Jul 15, 2010 7:00 am

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
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

Post Reply