本文介绍了我在发布网站后如何解决这个错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
  public class aboutus_aspx : global::AboutUs, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {
       private static bool @__initialized;



带有它我收到错误

类型''Client''存在于'c:\ Windows \ Microsoft \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 0.50727\Temporary ASP.NET Files\feb\d2853315\ac6c022b\assembly\dl3\df564e00\a5d8f5f6_5a0ece01\App_Web_ogkl7msx.DLL''和'c:\ Windows \ Microsoft \ \\ Framework \v2.0.50727 \Temporary ASP.NET Files\feb\d2853315\ac6c022b\assembly\dl3\c67869eb\e080e1f7_5a0ece01\App_Web_jkf cjctd.DLL''


with it i got error
The type ''Client'' exists in both ''c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\feb\d2853315\ac6c022b\assembly\dl3\df564e00\a5d8f5f6_5a0ece01\App_Web_ogkl7msx.DLL'' and ''c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\feb\d2853315\ac6c022b\assembly\dl3\c67869eb\e080e1f7_5a0ece01\App_Web_jkfcjctd.DLL''

推荐答案

<compilation debug="true" targetFramework="4.0">
  <assemblies>
    <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  </assemblies>
</compilation>





祝你好运,

OI



Good luck,
OI



这篇关于我在发布网站后如何解决这个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 17:13