Parser Error Message: Could not load type 'Nop.Web.MvcApplication'.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Dear Admin,
I've just downloaded and build new product of NopCommerce using MVC3. However, i encountered this error:

"Debug->Start without debugging"


Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'Nop.Web.MvcApplication'.

Source Error:


Line 1:  <%@ Application Codebehind="Global.asax.cs" Inherits="Nop.Web.MvcApplication" Language="C#" %>



Source File: /global.asax    Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225


I tried some solutions to fix this error but still not working! Ex:
change
<MvcBuildViews>false</MvcBuildViews>
to true or install MVC 3 Tool updated.

My development environment:

* Microsoft Visual Studio 2010 Ultimate - Version 10.0.40219.1 SP1 Rel
* Microsoft ASP.NET MVC 3
* Microsoft ASP.NET MVC 3 - Visual Studio 2010 Tools Update

Please give me a word.

Thanks and Regards,
Chi Trung.
12 years ago
Thanks All,

My solution: (Remove and Reinstall) ^^

1. Run dotnetfx_cleanup_tool to remove .NetFramework.

2. Restart PC.

3. Run VS2010_Uninstall-RTM.ENU to remove VS2010.

4. Restart PC.

5. From Control Panel remove all stuffs of Visual Studio 2010.

6. Restart PC.

7. Install Visual Studio 2010.

8. Restart PC.

9. Enjoy your MVC Projects.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.