Exception in updating sitefinity database
Hello team,
Facing below exception when trying update sitefinity database for newly created custom module. I took some reference(Microsoft.Xrm.sdk, Microsoft.Xrm.sdk.deployment, Microsoft.Xrm.portal, Microsoft.Xrm.client, Microsoft.Xrm.client.Codegeneration) of dynamic CRM
"Specify the '-Verbose' flag to view the SQL statements being applied to the target database.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'System.Data.Entity.SqlServer.SqlProviderServices' threw an exception. ---> 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."
Please do needfull
Let me know if more details are required
Thanks
Hello Vikrant,
It seems that the issue is not related directly to Sitefinity and it may also occur in standard asp.net applications. What I assume is that the issue may be related to a missing reference to the assembly which is in the error message - EntityFramework.SqlServer version 6.0.0.0. Can you please make sure that you have referenced properly this assembly in your project?
Regards,
Sabrie Nedzhip
Telerik