2013-07-08 5 views
0

.net 4 웹 양식 웹 사이트에서 간헐적으로이 오류가 발생합니다. 앱 풀을 재활용하면 일반적으로 해결됩니다.Microsoft.scripting.ExtensionAttrribute.dll에 누락 된 참조

찾을 수있는 유일한 참조는 Umbraco 또는 동적 언어 런타임을 사용하는 것과 관련이있는 것 같습니다. 어느 쪽도 우리에게 적용되지 않습니다. unnecesary 참조를 추가하는 것보다 다른, http://support.frozenmountain.com/entries/23667761-Compatibility-issue-using-ASP-Net-4-0-Extensions-and-ScriptManager

다른 솔루션 :

내가 찾은 유일한 유용한 링크이 무엇입니까?

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Scripting.ExtensionAttribute, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.Scripting.ExtensionAttribute, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'  at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)  at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)  at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)  at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)  at 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)  at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)  at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean isDecoratedTargetSecurityTransparent)  at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)  at System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(Assembly assembly)  at System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly()  at System.Web.UI.ScriptManager..ctor()  at ASP.masterpages_safarinow_master.__BuildControlMasterScriptManager()  at ASP.masterpages_safarinow_master.__BuildControlfrmMain()  at ASP.masterpages_safarinow_master.__BuildControlmasterBodyTag()  at ASP.masterpages_safarinow_master.__BuildControlTree(masterpages_safarinow_master __ctrl)  at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)  at System.Web.UI.Page.ApplyMasterPage()  at System.Web.UI.Page.PerformPreInit()  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].  at System.Web.UI.Page.HandleError(Exception e)  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  at System.Web.UI.Page.ProcessRequest()  at System.Web.UI.Page.ProcessRequest(HttpContext context)  at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 

답변

0

DLR을 사용하지 않는다고했지만이 파일 만 존재합니다. 이 오류 메시지는 IronPython (또는 IronRuby 또는 다른 DLR 기반의 것)의 이전 버전을 .NET 2.0-3.5 용으로 빌드 한 것을 강력하게 제안합니다. 어딘가에 "Microsoft.Dynamic.dll", "Microsoft.Scripting.Core.dll"및 "Microsoft.Scripting.dll"과 같은 이름의 파일이 있습니다. 이 것을 사용하는 것은 .NET 4.0 용으로 특별히 제작 된 DLR 버전으로 업데이트해야합니다.

+0

감사합니다. 저는 Facebook> net SDK 래퍼 사용과 관련이있을 것이라고 생각합니다. –