I have read through lots of SO answers about this problem, but I'm still not sure what's at the root of the issue. When I try to run nopCommerce 4.0 on my localhost, I get the error "Unable to load one or more of the requested types." When I look in LoaderExceptions, I see 12 instances of "Could not not load file or assembly 'System.Web.Mvc...'" and 2 of "Inheritance security rules violated by type 'Autofac.Integration.Mvc.AutofacWebTypesModule'". Unfortunately, there are many projects in this solution and, as far as I can tell, System.Web.Mvc is in all of them. Is there a way to determine exactly which project or projects are having trouble finding this file?
Which project is throwing "Unable to load one or more of the requested types"?
120 Views Asked by mrcoulson At
2
There are 2 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in NOPCOMMERCE
- Nop Commerce automatically redirecting to different URL
- Access Country/State lists from NopCommerce plugin
- Get customers number of orders
- Mostview Product show on home page plugin route
- NopCommerce compare string with greek phrases
- Flipkart or Snapdeal like Payment Method in nopCommerce 3.5
- Nopcommerce MegaMenu - Add custom menu to link towards products
- Kendo RangeSlider breaks in chrome
- Migration to IIS8 on Windows 2012 Server - Remote Post now shows a blank page
- UPS shipping plugin in Nopcommerce 3.5 XML document is not well formed
- Kendo grid is not working at web side(front side) of nopcommerce?
- Create stored procedure from NopCommerce plugin
- how to add multiple tables in single nopcommerce plugin
- Redirect to Controller's action method from event handler in nopCommerce
- Cannot redirect to controller action method using HttpContext.Current.Response.Redirect(); from non-controller class
Related Questions in NOPCOMMERCE-4.0
- How to override EditPopup method on my own payment plugin NopCommerce?
- How to remove tabs in NopCommerce 4.40.3
- Hide Confirm button on checkout page from plugin nopcommerce
- Nop Commerce Custom View Engine for IComponents View Does'nt work in nopcommerce 4.0
- Value getting Null from Iformcollection in nop4.0 when submit the form
- asp.net core 2.0 not getting exact path of css or view page
- @Html.DeleteConfirmation in a Plugin View (Admin) in asp.net core 2.0
- NopCommerce Plugin Localization
- Which project is throwing "Unable to load one or more of the requested types"?
- Authorisation load balancer
- Is it possible to to automatically add your Nop Quick Tabs in Nopercommerce 4.60.3
- How to make Nop-Commerce 4.20 plugin ready for distribution
- How to add (Download on The App Store) Button in NopCommerce?
- nopCommerce 4.0 Widgets error - The page you requested was not found
- Remove route from RouteCollection in Asp.Net Core and add new with same route name (nopCommerce-4.00)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

It turns out that I was able to solve this on my own. It turns out that there was a plugin I had added that was causing the issue. I'm not sure yet what's wrong with the plugin, but I was able to avoid the error by removing the plugin and clean/rebuilding Nop.Web.Framework.