鈥?鈥濆簲鐢ㄧ▼搴忎腑鐨勬湇鍔″櫒閿欒銆侟hr width=100% size=1 color=silver>

Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. 瀛樺偍绌洪棿涓嶈冻锛屾棤娉曞鐞嗘鍛戒护銆 (Exception from HRESULT: 0x80070008)

璇存槑: 鎵ц褰撳墠 Web 璇锋眰鏈熼棿锛屽嚭鐜版湭缁忓鐞嗙殑寮傚父銆傝妫€鏌ュ爢鏍堣窡韪俊鎭紝浠ヤ簡瑙f湁鍏宠閿欒浠ュ強浠g爜涓鑷撮敊璇殑鍑哄鐨勮缁嗕俊鎭€

寮傚父璇︾粏淇℃伅: System.IO.FileLoadException: Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. 瀛樺偍绌洪棿涓嶈冻锛屾棤娉曞鐞嗘鍛戒护銆 (Exception from HRESULT: 0x80070008)

婧愰敊璇?

鎵ц褰撳墠 Web 璇锋眰鏈熼棿鐢熸垚浜嗘湭缁忓鐞嗙殑寮傚父銆傚彲浠ヤ娇鐢ㄤ笅闈㈢殑寮傚父鍫嗘爤璺熻釜淇℃伅纭畾鏈夊叧寮傚父鍘熷洜鍜屽彂鐢熶綅缃殑淇℃伅銆侟/code>

绋嬪簭闆嗗姞杞借窡韪? 涓嬪垪淇℃伅鏈夊姪浜庣‘瀹氱▼搴忛泦鈥淪ystem.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089鈥濇湭鑳藉姞杞界殑鍘熷洜銆侟br>

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].

鍫嗘爤璺熻釜:


[FileLoadException: Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. 瀛樺偍绌洪棿涓嶈冻锛屾棤娉曞鐞嗘鍛戒护銆 (Exception from HRESULT: 0x80070008)]
   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
   System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +34
   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +152
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +77
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +16
   System.Reflection.Assembly.Load(String assemblyString) +28
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +38

[ConfigurationErrorsException: Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. 瀛樺偍绌洪棿涓嶈冻锛屾棤娉曞鐞嗘鍛戒护銆 (Exception from HRESULT: 0x80070008)]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +728
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +68
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +156
   System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +60
   System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +111
   System.Web.Compilation.BuildManager.ExecutePreAppStart() +108
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +597

[HttpException (0x80004005): Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. 瀛樺偍绌洪棿涓嶈冻锛屾棤娉曞鐞嗘鍛戒护銆 (Exception from HRESULT: 0x80070008)]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +553
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +95
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +453


鐗堟湰淇℃伅: Microsoft .NET Framework 鐗堟湰:4.0.30319; ASP.NET 鐗堟湰:4.0.30319.36480
Baidu
sogou