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.
10 anni tempo fa
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,
10 anni tempo fa
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
10 anni tempo fa
Hi Boris,

Thanks for your answer!

I just tried but unfortunately it didn't help
10 anni tempo fa
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!
10 anni tempo fa
Hey,

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