Sub Application in IIS7

Jan 28, 2014 at 1:49 PM
Hi All

I hope you can help with this.

I have an application deployed onto a test box using IIS6, this works fine and I have NearForums as a sub application in this setup. I have the configuration to work with a single database for login and it is working fine.

This is however a test server and the application needs to be deployed to IIS7. I have done this and the parent application is working fine. However when I try to access the forum I receive the following error:

Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.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)


I have looked at all the dll's in both projects on both servers and everything seem fine. Is there something I need to do with IIS7 to make this configuration work?

Anything you can contribute that may help with this I will give a try.

Cheers