Error

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/15/2014 8:34:58 AM
Gravatar
Total Posts 17

Error

After upgrade to 2.4.0.4 version sometimes I have this error (log).

2014-09-15 15:24:09,420 ERROR 93.63.232.4 - it-IT - / - mojoPortal.Web.Global -  Referrer(none) useragent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.94 Safari/537.36 OPR/24.0.1558.53 
System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' dall'assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
   in System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
   in System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   in System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
   in System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
   in System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
   in System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
   in System.Reflection.RuntimeAssembly.GetCustomAttributes(Boolean inherit)
   in System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(Assembly assembly)
   in System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly()
   in System.Web.UI.ScriptManager..ctor()
   in ASP.data_sites_1_skins_sardegnae20_layout_master.__BuildControlScriptManager1()
   in ASP.data_sites_1_skins_sardegnae20_layout_master.__BuildControlfrmMain()
   in ASP.data_sites_1_skins_sardegnae20_layout_master.__BuildControlBody()
   in ASP.data_sites_1_skins_sardegnae20_layout_master.__BuildControlTree(data_sites_1_skins_sardegnae20_layout_master __ctrl)
   in ASP.data_sites_1_skins_sardegnae20_layout_master.FrameworkInitialize()
   in System.Web.UI.UserControl.InitializeAsUserControlInternal()
   in System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
   in System.Web.UI.Page.get_Master()
   in mojoPortal.Web.mojoBasePage.SetupMasterPage()
   in mojoPortal.Web.mojoBasePage.OnPreInit(EventArgs e)
   in mojoPortal.Web.UI.CmsPage.OnPreInit(EventArgs e)
   in System.Web.UI.Page.PerformPreInit()
   in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 somebody can help me?

9/15/2014 8:58:51 AM
Gravatar
Total Posts 18444

Re: Error

several people have been having this kind of problem, unfortunately I think the only fix is to use .NET 4.5 hosting or possibly compile the code on a machine that does not have .NET 4.5 installed. I do not have such a machine so I am not able to try that.

9/18/2014 1:31:23 AM
Gravatar
Total Posts 17

Re: Error

Thanks
I'll try to compile it with a machine without Net. 4.5

You must sign in to post in the forums. This thread is closed to new posts.