1. Server Error in '/' Application.
  2.  
  3. Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
  4.  
  5. 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.
  6.  
  7. Exception Details: System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
  8.  
  9. Source Error:
  10.  
  11.  
  12. Line 21: Javascript Management
  13. Line 22: --%>
  14. Line 23: <telerik:RadScriptManager ID="WarlockScriptManager" runat="server">
  15. Line 24: <Scripts>
  16. Line 25: <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
  17.  
  18. Source File: c:\dev\projects\ERP\QuoteOrderEntry\TheWarlock\Default.aspx Line: 23
  19.  
  20. Stack Trace:
  21.  
  22.  
  23. [TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.]
  24. System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type) +0
  25. System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) +200
  26. System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) +41
  27. System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) +193
  28. 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) +123
  29. System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) +533
  30. System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean isDecoratedTargetSecurityTransparent) +23
  31. System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) +108
  32. System.Reflection.RuntimeAssembly.GetCustomAttributes(Boolean inherit) +85
  33. System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(Assembly assembly) +114
  34. System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly() +528
  35. System.Web.UI.ScriptManager..ctor() +49
  36. Telerik.Web.UI.RadScriptManager..ctor() +123
  37. ASP.default_aspx.__BuildControlWarlockScriptManager() in c:\dev\projects\ERP\QuoteOrderEntry\TheWarlock\Default.aspx:23
  38. ASP.default_aspx.__BuildControlform1() in c:\dev\projects\ERP\QuoteOrderEntry\TheWarlock\Default.aspx:14
  39. ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) in c:\dev\projects\ERP\QuoteOrderEntry\TheWarlock\Default.aspx:1
  40. ASP.default_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\cafae6c7\1ec77cf2\App_Web_crfwyoqp.0.cs:0
  41. System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +75
  42. System.Web.UI.Page.ProcessRequest() +129
  43. System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +46
  44. System.Web.UI.Page.ProcessRequest(HttpContext context) +156
  45. ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\cafae6c7\1ec77cf2\App_Web_crfwyoqp.0.cs:0
  46. System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +872
  47. System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +120
  48.  
  49. Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272