.NET 4.5 breaks Orchard 1.4

Topics: Core, Troubleshooting
Aug 21, 2012 at 10:48 AM

Hi all

I've just installed VS2012 and .NET 4.5 on my dev machine. Orchard is now broken. I'm getting the dreaded "VerificationException: Operation could destabilize the runtime" error. Someone else is having a similar problem since their hosting server was upgraded.

Any thoughts on where to begin fixing this?

Another question, if I may: is there a way to make Orchard recover from unhandled exceptions more cleanly than this.

Thanks!

Steve.

 

 

Developer
Aug 21, 2012 at 12:30 PM

Hmm, I've done the same updates, but running Orchard still through VS 2010 and have no errors. What VS are you using for Orchard?

Aug 22, 2012 at 1:38 AM
Hi Piedone

I'm not using VS -- I'm launching Orchard via WebMatrix. I do have
VS2010 installed, so I could give it a try.

Thanks!

Cheers,
Steve.

On 22/08/2012 7:20 AM, Piedone wrote:
> From: Piedone
>
> Hmm, I've done the same updates, but running Orchard still through VS
> 2010 and have no errors. What VS are you using for Orchard?
>
> Read the full discussion online
> <http://orchard.codeplex.com/discussions/392446#post901898>.
>
> To add a post to this discussion, reply to this email
> ([email removed]
> <mailto:[email removed]?subject=[orchard:392446]>)
>
> To start a new discussion for this project, email
> [email removed] <mailto:[email removed]>
>
> You are receiving this email because you subscribed to this discussion
> on CodePlex. You can unsubscribe
> <https://orchard.codeplex.com/discussions/392446/unsubscribe/> on
> CodePlex.com.
>
> Please note: Images and attachments will be removed from emails. Any
> posts to this discussion will also be available online at CodePlex.com
>
Coordinator
Aug 22, 2012 at 2:20 AM

1.4 was released before those. Latest is 1.5.1.

Aug 22, 2012 at 9:31 AM

Hi Bertrand

I'm aware that 1.5.1 is the latest version. I've been putting off updating until I complete some more experiments.

Does anyone know if 1.5.1 fixes the variance issues that cause this error? What about the modules? The first error I struck was in a Vandelay module, which doesn't seem to have been updated recently. One of yours, Bertrand?

Many thanks.

Aug 22, 2012 at 9:57 AM

Hi again

This is the other report of a problem with .NET 4.5: http://orchard.codeplex.com/discussions/392307

Steve.

Aug 23, 2012 at 11:04 PM
Hi Bertrand

I'm aware that 1.5.1 is the latest version. I've been putting off the
upgrade until some other work is completed.

Does anyone know if the variance problems that are causing this error
have been fixed in 1.5.1?

Cheers,
Steve.

On 22/08/2012 11:20 AM, bertrandleroy wrote:
> From: bertrandleroy
>
> 1.4 was released before those. Latest is 1.5.1.
>
> Read the full discussion online
> <http://orchard.codeplex.com/discussions/392446#post902248>.
>
> To add a post to this discussion, reply to this email
> ([email removed]
> <mailto:[email removed]?subject=[orchard:392446]>)
>
> To start a new discussion for this project, email
> [email removed] <mailto:[email removed]>
>
> You are receiving this email because you subscribed to this discussion
> on CodePlex. You can unsubscribe
> <https://orchard.codeplex.com/discussions/392446/unsubscribe/> on
> CodePlex.com.
>
> Please note: Images and attachments will be removed from emails. Any
> posts to this discussion will also be available online at CodePlex.com
>
Coordinator
Aug 27, 2012 at 7:03 AM

1.5.1 is compatible with 4.5.

Aug 27, 2012 at 11:33 AM

Hi Bertrand

Thanks for the feedback. Much appreciated.

I can't be sure whether it was installing VS2012/4.5 that caused the problem, or an update to 4.0 that came with the latest stuff.  Either way, it was Vandelay favicon code that crashed, not Orchard core. The problem seems to be that tighter restrictions on variance now cause old code to fail.

Has this module been updated, and is known to work with the latest MSFT updates?

Thanks again!

Cheers,
Steve.

Coordinator
Aug 28, 2012 at 4:49 AM

Aha. Well, yes, it's been updated but maybe not the version available on the gallery. I'll check that, but in the meantime, you can take the latest version from vandelay.codeplex.com.