Marketing wanted to fill up my root folder with a ton of folders for marketing purposes. I told them "NO!", after I calmed down, I said I would allow a folder, and I would bury the other folders and redirect them, so they have a short link, but it's not on the root of the site. I have downloaded the "URL Rewrite" plugin for IIS 7 and now all of my NOP (v.2.65) sites are broken :'( (It's a test server..so not so bad). Has anyone worked with this and know what setting I need to make IIS and NOP happy with URL Rewrite? I'm not hung up on URL Rewrite, so I would also LOVE Suggestions for my marketing issue if there are other ideas for re-routing. I need a short link www.mysite.com/a1/ but it goes to www.mysite.com/marketing/promos/vendor/a1/ or similar... Thanks for any help.
- TD
Not pretty, but code for error below:
Server Error in '/TEST/' Application.
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
System.Reflection.Assembly.GetTypes() +159
Nop.Core.Plugins.PluginManager.Initialize() +2009
[Exception: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
]
Nop.Core.Plugins.PluginManager.Initialize() +2750
[Exception: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
]
Nop.Core.Plugins.PluginManager.Initialize() +3046
[InvalidOperationException: The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
.]
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +11713134
System.Web.Compilation.BuildManager.CallPreStartInitMethods() +465
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1167
[HttpException (0x80004005): The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11702064
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4870277
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272