Getting the following error message on umbraco 7.3
Attempt by security transparent method 'System.Web.Http.GlobalConfiguration.get_Configuration()' to access security critical type 'System.Web.Http.HttpConfiguration' failed.
I had a similar issue when upgrading from Umbraco 7.2.4 (with Optimus 1.3.2 installed) to Umbraco 7.4.1 .. so after copying the new files from 7.4.1 and merging files, I got the error mentioned here when refreshing the site and therefore I couldn't run the upgrade installation.
I removed these files from /bin folder:
Optimus.dll
Optimus.Providers.Less.dll
Optimus.Trees.Stylesheets.dll
Optimus.V7.dll
Next I could run the upgrade of Umbraco.
Finally I installed Optimus Core 1.4.0 and in my case also re-installed less provider.
Thanks for sharing your steps @Bjarne , just make sure if you want to keep your bundles you don't overwrite the App_Plugins\Optimus\config\bundles.config (or make sure to backup and restore)
YSOD on Umbraco 7.3
Getting the following error message on umbraco 7.3
Attempt by security transparent method 'System.Web.Http.GlobalConfiguration.get_Configuration()' to access security critical type 'System.Web.Http.HttpConfiguration' failed.
Anyone found a fix for it yet?
Yep,
Long story short: upgrade all ASP.NET MVC packages from nuget.
Ok that's also what I could find, will give it a try, thanks!
Ok for anyone else encountering this ysod on 7.3, the latest version of Optimus 1.4.0 works (for older umbraco versions please use 1.3.2)
I had a similar issue when upgrading from Umbraco 7.2.4 (with Optimus 1.3.2 installed) to Umbraco 7.4.1 .. so after copying the new files from 7.4.1 and merging files, I got the error mentioned here when refreshing the site and therefore I couldn't run the upgrade installation.
I removed these files from /bin folder:
Next I could run the upgrade of Umbraco.
Finally I installed Optimus Core 1.4.0 and in my case also re-installed less provider.
/Bjarne
Thanks for sharing your steps @Bjarne , just make sure if you want to keep your bundles you don't overwrite the App_Plugins\Optimus\config\bundles.config (or make sure to backup and restore)
Okay, I didn't noticed if that has happened during install of Optimus Core 1.4.0 or less provider? ...
But I can restore the config if that has happened.. will check tomorrow :)
:) yeah core will install a new config file so better check it!
Enjoy the evening! Cheers, Tim
@Tim it seems it didn't overwrite the existing bundles.config
So I still have the existing bundles...
/Bjarne
Great :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.