Error every time on first load of /umbraco/umbraco.aspx - Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute'
Using Umbraco v6.2.1 (Assembly version: 1.0.5261.28997)
I have local/dev/qa/prod environments. Everytime I go to access the UI on dev/qa/prod after an hour or two, I will see this error (below). If I reload the page it goes away. I have told the end-users to just ignore it and reload the page, but it is annoying and I would like to figure out how to fix and not see the error at all. It doesn't happen on my localhost, which is where the project is compiled and then pushed to dev/qa/prod. Target framework is set at .net 4.0, because that is what the servers have. This started happeneing after I installed Contour.
Please help, thank you.
Server Error in '/' Application.
Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Source Error:
Line 38: <body id="umbracoMainPageBody">
Line 39: <form id="Form1" method="post" runat="server" style="margin: 0px; padding: 0px">
Line 40: <asp:ScriptManager runat="server" ID="umbracoScriptManager" ScriptMode="Release">
Line 41: <CompositeScript ScriptMode="Release">
Line 42: <Scripts>
I have tried to search on the error that you get, Did you use Contour version 3.0.21, if you do you could try go to the bin folder of your Umbraco installation and see if you can find a dll with the name Umbraco.Forms.Core.Providers.V7.dll
Since you have an local/dev/qa/prod environments setup, I would try do remove the file (if you can find it in the bin folder) from your local environment first, to ensure that your Umbraco backoffice still works after you have removed it, then you also can check that the website still works on frontend too.
Error every time on first load of /umbraco/umbraco.aspx - Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute'
Using Umbraco v6.2.1 (Assembly version: 1.0.5261.28997)
I have local/dev/qa/prod environments. Everytime I go to access the UI on dev/qa/prod after an hour or two, I will see this error (below). If I reload the page it goes away. I have told the end-users to just ignore it and reload the page, but it is annoying and I would like to figure out how to fix and not see the error at all. It doesn't happen on my localhost, which is where the project is compiled and then pushed to dev/qa/prod. Target framework is set at .net 4.0, because that is what the servers have. This started happeneing after I installed Contour.
Please help, thank you.
Hi Karen,
I have tried to search on the error that you get, Did you use Contour version 3.0.21, if you do you could try go to the bin folder of your Umbraco installation and see if you can find a dll with the name Umbraco.Forms.Core.Providers.V7.dll
Since you have an local/dev/qa/prod environments setup, I would try do remove the file (if you can find it in the bin folder) from your local environment first, to ensure that your Umbraco backoffice still works after you have removed it, then you also can check that the website still works on frontend too.
Hope this helps,
/Dennis
Hi,
I removed Umbraco.FOrms.Core.Providers.V7.dll from the /bin folder, but the same error is still showing up.
it is Umbraco Contour version 3.0.21
Thanks
is working on a reply...