C# 方法';ExecuteAsync';类型为';System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy';来自组件';EntityFramework.SqlServer,版本=6.0.0.0

C# 方法';ExecuteAsync';类型为';System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy';来自组件';EntityFramework.SqlServer,版本=6.0.0.0,c#,sql-server,entity-framework,linq,nopcommerce,C#,Sql Server,Entity Framework,Linq,Nopcommerce,在面临此问题的服务器上部署Nopcommerce时 程序集“EntityFramework.SqlServer,版本=6.0.0.0,区域性=中性,PublicKeyToken=b77a5c561934e089”中类型为“System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy”的方法“ExecuteAsync”没有实现 >说明:当前web请求执行期间发生未处理的异常。请查看堆栈跟踪以了解有关错误的更多信息以及错误在代码中的起源。 >异常详

在面临此问题的服务器上部署Nopcommerce时

程序集“EntityFramework.SqlServer,版本=6.0.0.0,区域性=中性,PublicKeyToken=b77a5c561934e089”中类型为“System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy”的方法“ExecuteAsync”没有实现

>说明:当前web请求执行期间发生未处理的异常。请查看堆栈跟踪以了解有关错误的更多信息以及错误在代码中的起源。
>异常详细信息:System.TypeLoadException:程序集“EntityFramework.SqlServer,版本=6.0.0.0,区域性=中性,PublicKeyToken=b77a5c561934e089”中类型“System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy”中的方法“ExecuteAsync”没有实现。
>源错误:
>只有在调试模式下编译时,才能显示生成此未处理异常的源代码。要启用此功能,请执行以下步骤之一,然后请求URL:
>1.在生成错误的文件顶部添加“Debug=true”指令。例子:
>或:
>2) 将以下部分添加到应用程序的配置文件中:
请注意,第二种技术将导致在调试模式下编译给定应用程序中的所有文件。第一种技术将导致在调试模式下仅编译该特定文件

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

>Exception Details: System.TypeLoadException: Method 'ExecuteAsync' in type 'System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy' from assembly 'EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' does not have an implementation.

>Source Error: 

>The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

>1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

>or:

>2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>