Can’t access admin site after a clean installation - Nop 3.70

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hello everyone,

I am facing a weird problem, After doing a clean installation on an empty database, I just can’t access the admin site. I receive a ‘Page not found’ error in raw HTML.

Here is the beginning of the page I see:

<!DOCTYPE html>
<html >
<head>
    <title>Your store. Page not found</title>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <meta name="generator" content="nopCommerce" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

If anyone would have a clue it would greatly help me!

Thanks,
7 years ago
Hi,

you could try
firstly to delete your bin and obj folder in nop.web
and then build nop.web and nop.admin projects

Regards,
Boris
7 years ago
Hi Boris,

Thanks for your answer!

I just tried but unfortunately it didn't help
7 years ago
Hi,

Give a try,

Find Nop.Admin.dll  from folder ~\Nop.web\bin and copy it.

And paste into ~Nop.web\Administrator\bin.

And check if it works!
7 years ago
Hey,

Thanks a lot for the idea, didn't solve the problem unfortunately.
7 years ago
tevarg wrote:
Hey,

Thanks a lot for the idea, didn't solve the problem unfortunately.


Alright! could you check please, After successfully build your solution, Nop.Admin.dll available at ~Nop.web\Administrator\bin.  
7 years ago
Yes Nop.Admin.dll is inside the folder after the build
7 years ago
tevarg wrote:
Yes Nop.Admin.dll is inside the folder after the build


Ahh, strange now! give a try to access directly to the browser: yourDomain/admin/home/index.
7 years ago
divyang16 wrote:
Yes Nop.Admin.dll is inside the folder after the build

Ahh, strange now! give a try to access directly to the browser: yourDomain/admin/home/index.


Nice, it works indeed!

But then what's the issue? Routing problem? Where is the location of the routes for the admin site actually?
7 years ago
Glad it worked!

Yeah, it may cause of routing, you can check admin side route at: Presentation > Nop.Admin > AdminAreaRegistration.cs
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.