必须添加对程序集“System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”的引用。
请检查下bin目录下有没有System.Data.Entity.dll  Svn不上传bin目录.

所以添加上去dll引用就可以。

没有的话从:C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5 下copy出来.

如果还是不可以的话:在webconfig中添加:

        <add assembly="System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
就可以。

最后请检查你有没有装3.5的框架,所以你的GAC里缺少那些程序集。

服务器错误:

行 622:              
行 623:              #line default
行 624:              #line hidden
行 625:          }
行 626:          
行 627:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 628:          protected override void FrameworkInitialize() {
行 629:              base.FrameworkInitialize();
行 630:              this.@__BuildControlTree(this);
行 631:              this.AddWrappedFileDependencies(global::ASP.views_grange_myhome_aspx.@__fileDependencies);
行 632:          }
行 633:          
行 634:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 635:          public override int GetTypeHashCode() {
行 636:              return 1084756393;
行 637:          }
行 638:          
行 639:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 640:          public override void ProcessRequest(System.Web.HttpContext context) {
行 641:              base.ProcessRequest(context);
行 642:          }
行 643:      }
行 644:  }
行 645:  
 




--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053 

相关文章:

  • 2021-04-30
  • 2021-12-20
  • 2022-12-23
  • 2022-01-30
  • 2022-12-23
  • 2021-04-26
  • 2022-12-23
猜你喜欢
  • 2022-02-23
  • 2021-12-26
  • 2022-12-23
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案