Yep, unfortunately a GAC'ed version of MVC3 (even an old one) will win over the one in Orchard's bin. The solution is either to remove MVC3 from the GAC, or if you need it in GAC, to install to the GAC the final MVC3 bits (to match what Orchard uses).
We intentionally don't require MVC3 as a dependency in WebPI, since the bin-deployed MVC works fine without it as long as your GAC matches or is clean. From: Louis DeJardin [mailto:[email protected]] Sent: Sunday, February 13, 2011 3:28 PM To: [email protected] Subject: RE: Orchard installation failed via WebPI That's been a chronic problem, sorry for the inconvenience. ________________________________ From: Simone Chiaretta Sent: Sunday, February 13, 2011 1:09 AM To: [email protected] Subject: Re: Orchard installation failed via WebPI ok, but I think I understood the problem I had: the MVC3 I had installed on my machine (a VM I haven't used since a few months) was a version of July (some preview version probably) so when Orchard started it used that version instead of the one that is in the bin, so gave me the exception. Simo On Sun, Feb 13, 2011 at 2:12 AM, Bertrand Le Roy <[email protected]<mailto:[email protected]>> wrote: True, but you don't need MVC 3 installed: Orchard comes with its own copy in bin. From: Gideon D'souza [mailto:[email protected]<mailto:[email protected]>] Sent: Saturday, February 12, 2011 11:16 AM To: [email protected]<mailto:[email protected]> Subject: Re: Orchard installation failed via WebPI Hey I think bugs go here. http://orchard.codeplex.com/workitem/list/basic On Sat, Feb 12, 2011 at 11:55 PM, Simone Chiaretta <[email protected]<mailto:[email protected]>> wrote: Hi, hope this is the right place to report this bug: I was installing the VS Tools for SQL Compact and it had a dependency on MVC3, then I also installed Orchard. MVC3 failed the installation (because the SQL Compact tools file returned a 404) but Orchard was installed. But as soon as WebMatrix opened I had the yellows page of death saying that I didn't have MVC3 installed. Seems like Orchard doesn't have a dependency on MVC3 configured in the WebPI. Simone -- Simone Chiaretta Microsoft MVP ASP.NET<http://ASP.NET> - ASPInsider Blog: http://codeclimber.net.nz RSS: http://feeds2.feedburner.com/codeclimber twitter: @simonech Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" --- You are currently subscribed to orchard-discuss as: [email protected]<mailto:[email protected]>. To unsubscribe send a blank email to [email protected]<mailto:[email protected]>. --- You are currently subscribed to orchard-discuss as: [email protected]<mailto:[email protected]>. To unsubscribe send a blank email to [email protected]<mailto:[email protected]>. --- You are currently subscribed to orchard-discuss as: [email protected]<mailto:[email protected]>. To unsubscribe send a blank email to [email protected]<mailto:[email protected]>. -- Simone Chiaretta Microsoft MVP ASP.NET<http://ASP.NET> - ASPInsider Blog: http://codeclimber.net.nz RSS: http://feeds2.feedburner.com/codeclimber twitter: @simonech Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" --- You are currently subscribed to orchard-discuss as: [email protected]<mailto:[email protected]>. To unsubscribe send a blank email to [email protected]<mailto:[email protected]>. --- You are currently subscribed to orchard-discuss as: [email protected]<mailto:[email protected]>. To unsubscribe send a blank email to [email protected]<mailto:[email protected]>. --- You are currently subscribed to orchard-discuss as: [email protected]. To unsubscribe send a blank email to [email protected].
