Error running SF off SQL Server 2012

Posted by Community Admin on 03-Aug-2018 03:33

Error running SF off SQL Server 2012

All Replies

Posted by Community Admin on 05-Aug-2012 00:00

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

Posted by Community Admin on 07-Aug-2012 00:00

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

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 17-Aug-2012 00:00

Hi,
Please do share the information as I am currently experiencing the exact same issue.

Posted by Community Admin on 10-Dec-2012 00:00

Telerik  people.... please, please, please just share the answers.
Now I have to waste time opening a support ticket, for the same exact problem.

Posted by Community Admin on 10-Dec-2012 00:00

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!

Posted by Community Admin on 12-Dec-2012 00:00

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

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed