660 users online
Register
Log in
Shopping Cart
(0)
Home
Product
Overview
Features
Store demo
Screenshots
Showcase - live shops
Copyright Notice Removal
System Requirements
Roadmap
Contribute
Team Members
License
Downloads
Download nopCommerce
Extensions
Release Notes
Support
Documentation
Forums
Partners
Recommended Hosting
Solution Partners
Become a Partner
Community sponsorship program
My Account
Contacts
Tweet
Home
/
Forums
/
General
/
Installation and Configuration
/
Can't access /admin in v2.4 if MVC4 is loaded
Can't access /admin in v2.4 if MVC4 is loaded
Reply
dwrucker
Total Posts:
4
Karma:
50
Joined:
6/1/2011
Location:
United States
PM
Posted:
3 months ago
Quote
FYI, after installing v2.4 I was unable to access the Admin section. I kept getting a 404 message. After hours of trying several attempts to fix it, I uninstalled the developers prerelease of MVC4 (on a hunch) and now it all works fine.
After uninstalling MVC4 I am now able to access the Admin section.
1
Please
login or register
to vote for this post.
(click on this box to dismiss)
a.m.
Total Posts:
6513
Karma:
44347
Joined:
10/22/2008
Location:
Russia
PM
Posted:
3 months ago
Quote
Are you running nopCommerce on local IIS server (if yes, what is its version?) or are you running it from Visual Studio?
0
Please
login or register
to vote for this post.
(click on this box to dismiss)
Andrei Mazoulnitsyn,
LinkedIn - http://ru.linkedin.com/in/mazoulnitsyn
Twitter - http://twitter.com/#!/nopCommerce
Facebook community page - http://www.facebook.com/pages/NopCommerce/108282972527146
Google+ page - https://plus.google.com/100073150079669136049
dwrucker
Total Posts:
4
Karma:
50
Joined:
6/1/2011
Location:
United States
PM
Posted:
3 months ago
Quote
I tried all three web server options... 1) the VisualStudio Development Server 2) IIS 7 Express and 3) IIS 7 on my local development machine.
I'm running VisualStudio 2010 Professional SP1 (version 4.0.3019 SP1 Rel).
I'm also using SQL Server 2008 R2 (SQL Server 10.50.2500) and I used the sa account to access the database (to make sure there weren't any permission issues).
I had downloaded the source version of nopCommerce, unzipped it into a working directory, loaded it into VisualStudio and ran it as-is without any changes.
I tried giving 'write' permissions to
all
directories in the nopCommerce solution (to make sure that wasn't an issue).
I also tried running the deployment batch jobs you supply and created a website in IIS 7 with virtual directories pointed at the deployment directory.
I always got the same result no matter what I tried: 404 message that it couldn't find /admin
I had MVC2, MVC3 and MVC4 installed. I was running nopCommerce as an MVC3 app.
I also made sure that the IIS appPool for nopCommerce was using .NET 4.0
I could log in using the default admin@yourStore.com account, and ran the store front-end just fine, but when I clicked on the Administration link I always got the 404 message on /admin.
It was only after I uninstalled MVC4 that the error went away and I could get into the admin section.
By the way, I LOVE nopCommerce! You guys have done a phenominal job!
1
Please
login or register
to vote for this post.
(click on this box to dismiss)
gkennedy1
Total Posts:
33
Karma:
245
Joined:
9/28/2011
Location:
Australia
PM
Posted:
3 months ago
Quote
Some of the projects reference System.Web.dll (and some others i think from memory) incorrectly and when mvc4 is installed, they start picking up the wrong version (v 3.5??). You need to edit them so they reference the correct dll.
Sorry about the vagueness, it was a while ago that I had to deal with this.
1
Please
login or register
to vote for this post.
(click on this box to dismiss)
Greg Kennedy
DBG Technologies Pty Ltd
www.dbgtechnologies.com
Carneno
Total Posts:
6
Karma:
30
Joined:
5/17/2012
Location:
United States
PM
Posted:
3 days ago
Quote
Hello,
Did anyone ever figure this out?
I'm having the same exact problem and would like to know how to resolve it.
Thanks,
Tony
0
Please
login or register
to vote for this post.
(click on this box to dismiss)