Successful install but can't log in !

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 anni tempo fa
Hi, I've successfully installed nopCommerce on my hosted site (HELM) and the main page comes up when I browse to the /shop folder.

During install I changed the default admin user from admin@yourstore.  I've set up 2 more users, changed the is_admin field in the DB to set them up as admin.  Thing is none of them, nor I, can log in, we keep getting redirected back to the Default.aspx page, this is driving me crazy, what am I doing wrong??

Thanks,

Patrick
13 anni tempo fa
Please !!!
13 anni tempo fa
I have no idea why it happens. But you can debug the application. Look at MembershipHttpModule.Application_AuthenticateRequest() method
13 anni tempo fa
Ah, ok.  So run it locally but point the web.config to point to the server and debug??

Thanks
13 anni tempo fa
redsmooth wrote:
Ah, ok.  So run it locally but point the web.config to point to the server and debug??

There're a ot of ways of debugging. Click here to get more info
13 anni tempo fa
I've been on to our hosting provider and they tried to log in using a logon I created.  I received this from them

<<

When the login is attempted the response is::

HTTP/1.1 302 Found
Date: Tue, 27 Jul 2010 15:10:44 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Pragma: no-cache
Location: /shop/Default.aspx
Set-Cookie:
NOPCOMMERCE.AUTH=805CE2BB698275F0E7B385785193CFE7B84FC40F07C49DABE79219612A1
A8F3BD7510A1253CC1AF79C4432BD2F704B6FCBE4FBB15C412BDDEA83F8D5CDC2C544CBC535C
F3986C60DF3936C62B0E222C0E3225A56EFCDCC380D5F1FEDACC7522F; expires=Thu, 26-Aug-2010 15:10:44 GMT; path=/; HttpOnly
Set-Cookie:
Nop.CustomerSessionGUIDCookie=8e77a439-120c-449a-b309-9cadd9cd9919;
expires=Sun, 01-Aug-2010 23:10:44 GMT; path=/
Cache-Control: private
Expires: Tue, 27 Jul 2010 15:10:44 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 28667

<html><head><title>Object moved</title></head><body> <h2>Object moved to <a href="%2fshop%2fDefault.aspx">here</a>.</h2>
</body></html>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl00_ctl00_Head1"><title>
  Your store name. Login
</title><meta name="description" content="Your store meta description"
/><meta name="keywords" content="Your store meta keywords" /><link href="App_Themes/darkOrange/styles.css" type="text/css" rel="stylesheet"
/.... (the rest of the pages you see in the browser as a response)


So the software is doing a 302 redirect to a page showing a title of "Object Moved" then the page contents you see in the browser
>>

Any ideas anyone ????

Patrick
13 anni tempo fa
Try to debug it. Look at MembershipHttpModule.Application_AuthenticateRequest() method
13 anni tempo fa
I wouldn't have enough experience to do that and I don't want to mess it up any further.

Thanks for your help,

Patrick
13 anni tempo fa
Ok, this is what I did.  Created a new database and installed onto that, working now, dunno what happened with the other install, crazy times!

Thanks.

Patrick
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.