Login Is not working nopcommerce version 4.30

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 Jahre weitere
hello All,

Thanks in Advance.
Please provide solution on below bug.

I have installed the latest nopcommerce  Version 3.40 in localhost.
now site is running but when i trying to login ,blank page is coming & showing error like
"Login?Return=%2f" error code 400.

Thanks,
Prakash Chauhan
3 Jahre weitere
Have you setup the Requirements
https://docs.nopcommerce.com/en/installation-and-upgrading/technology-and-system-requirements.html

Are you running in Visual Studio or IIS ?

Can you get into yourwebsite.com/Admin ?
If so Check the error log yourwebsite.com/Admin/Log/List

Otherwise turn on Error logging
https://www.selectsystems.com.au/checking-for-errors-on-a-new-installation-of-nopcommerce
3 Jahre weitere
Hello Sir,

I have downloaded source code version 4.3 from link given by you, re-installed the nopcommerce & run in localhost.
i am not able do login again.
due to login issue i am not able to access the admin panel.

i checked the database log table that pageurl is "http://localhost:15536/login?returnurl=%2F"
& error message is blank.

thanks,
Prakash Chauhan
3 Jahre weitere
So you are using Visual Studio
You build the solution
Then you try to run IIS Express
And you get this error when you try to login

(I assume you previously ran the Install the same way and there was no error )
3 Jahre weitere
Hello sir,

It is working fine & i am able to do login in incognito browser but not able to do login in normal browser.


Thanks,
Prakash Chauhan.
3 Jahre weitere
Hello sir,

Yes sir i am using visual studio & ran in IIS Express after that login is not working in normal browser.
It is working in incognito mode.
3 Jahre weitere
Yidna wrote:
So you are using Visual Studio
You build the solution
Then you try to run IIS Express
And you get this error when you try to login

(I assume you previously ran the Install the same way and there was no error )


Hello sir please give solution.
3 Jahre weitere
In normal browser, press CTRL-F5 and try again.
3 Jahre weitere
So when you try to login with old database (proppably not on localhost), your SSL left enabled and SSL is not working on localhost, so if you want to login you'll be redirected on https://localhost...

I had a same problem. Solution is:
If you're running nopcommerce from Visual Studio then go to your updated database and find
dbo.Store, then edit your Store URL to your localhost + port and sslenabled set to 0.
Image:
https://i.imgur.com/T3RkhWi.png

After that, once you log in, go to Administration Panel and Clear Cache.

XO :)
3 Jahre weitere
clear cache of ur browser and try. its work fine
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.