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.
Hace 10 años
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,
Hace 10 años
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
Hace 10 años
Hi Boris,

Thanks for your answer!

I just tried but unfortunately it didn't help
Hace 10 años
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!
Hace 10 años
Hey,

Thanks a lot for the idea, didn't solve the problem unfortunately.
Hace 10 años
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.  
Hace 10 años
Yes Nop.Admin.dll is inside the folder after the build
Hace 10 años
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.
Hace 10 años
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?
Hace 10 años
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.