Error running SF off SQL Server 2012
Hi
We have transferred both site and backend sql server db to a new server. The source SQL Server was 2008 and the destination SQL Server is 2012. Problem is now when we run the site with the db copied onto SQL Server 2012 we get the error below at the end. What is the problem and how can we fix it?
Thanks
Regards
Yahya
SQLDriver not initialized with server version.
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.InvalidOperationException: SQLDriver not initialized with server version.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: SQLDriver not initialized with server version.]
OpenAccessRuntime.Relational.RelationalMetaDataBuilder.findMatchingJdbcColumn(DataObjectsExtension[] nested) +398
OpenAccessRuntime.Relational.RelationalMetaDataBuilder.createJdbcSimpleField(FieldMetaData fmd) +204
OpenAccessRuntime.Relational.RelationalMetaDataBuilder.createJdbcField(FieldMetaData fmd, Boolean quietParam) +125
[MetadataException: The metadata for field 'id' of class 'Telerik.Sitefinity.Metadata.Model.MetaAttribute' cannot be initialized: SQLDriver not initialized with server version.]
DynamicModule.ns.Wrapped_OpenAccessMetaDataProvider_6cd5306faabc4a5187b145b6e1181631.Initialize(String providerName, NameValueCollection config, Type managerType) +405
Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, Type providerType, ExceptionPolicyName policy, ManagerBase`1 manager) +1877
Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, ExceptionPolicyName policy, ManagerBase`1 manager) +74
Telerik.Sitefinity.Data.ManagerBase`1.SetProvider(String providerName, String transactionName) +510
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache) +117
System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) +247
System.Activator.CreateInstance() +88
Telerik.Sitefinity.Data.ManagerBase`1.GetManager(String providerName, String transactionName) +115
Telerik.Sitefinity.Services.SystemManager.Initialize() +232
Telerik.Sitefinity.Abstractions.Bootstrapper.RegisterRoutes(RouteCollection routes) +245
Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +386
Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +114
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +575
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +352
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +407
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +375
[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11700896
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4869125
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Hello Yahua,
We have answered you in the support ticket. If you wish you can share the information with the community.
All the best,
Victor Velev
the Telerik team
Hi,
Please do share the information as I am currently experiencing the exact same issue.
I completely agree with kahuna. And Telerik needs to spend time on this again as well.
Telerik, what about letting the thread owner mark posts as the answer and granting some Telerik points to the one who answered? We'll all be winners!
Hello,
The error comes up when using older versions of Sitefinity ( everything before 5.0 ) with the latest SQL server - 2012, which is appears to be incompatible with Sitefinity 4.4 and the versions before that. My colleague Pavel discussed the problem as well here:
www.sitefinity.com/.../sqldriver-not-initialized-with-server-version
There is a KB article, relating to older versions ( <4.2 ) of Sitefinity as well:
www.sitefinity.com/.../sql-issues-when-using-windows-azure
@Arno: The thread owner has the permission to mark a specific post as an answer.
Regards,
Victor Velev
the Telerik team