Using ASP.NET MVC 2 with Sharepoint Publishing
I need include asp mvc project in sharepoint, found this guide http://aspalliance.com/1944_Using_ASPNET_MVC_2_with_Sharepoint_Publishing.all but when i try go on http://samplemvc get er开发者_JAVA百科ror - Unable to load file or assembly "SampleMVC". MVC and Sharepoint in same application pool. Maybe somebody know how solved this problem or know another way to use it together. I know about SharepointMvc, but he not suitable. I use windows 7, sharepoint 2010, iis 7.5
When you get that error, it typically means that it's looking for SampleMVC.dll, but it can't find it in either the GAC or the bin directory on the IIS site. Did you deploy SampleMVC.dll?
From the link you provided, SampleMVC.dll is the assembly that contains your definition for the CustomHttpApplication class.
精彩评论