2012-09-13 51 views
0

我正在上sitefinity 4.4SQLDriver未初始化與服務器版本

SQLDriver not initialized with server version.

我檢查sitefinity論壇下面的錯誤,但我找不到任何修復此問題

SQLDriver無法與服務器版本初始化。

說明:

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.

異常詳細信息:

System.InvalidOperationException: SQLDriver not initialized with server version.

源錯誤:

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.

堆棧跟蹤:

[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_904ca528250e4b188a43261dbbe077b6.Initialize(String providerName, NameValueCollection config, Type managerType) +405 
    Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, Type providerType, ExceptionPolicyName policy, ManagerBase`1 manager) +1976 
    Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, ExceptionPolicyName policy, ManagerBase`1 manager) +74 
    Telerik.Sitefinity.Data.ManagerBase`1.SetProvider(String providerName, String transactionName) +526 
+0

你什麼時候看到這個錯誤?它是否在asp.net「黃色屏幕」上?或者當您運行項目經理或SDK時?或在視覺工作室?您能否提供錯誤的全文以及您採取哪些措施來製作它?如果我知道更多,我會盡力幫助! – SelAromDotNet

+0

嗨Josh這是堆棧跟蹤 –

回答

0

你有沒有機會在Visual Studio 2012中運行這個?我相信Sitefinity 4.4中的OpenAccess版本與VS2012不兼容,如果從該環境(或IIS中的asp.net 4.5)運行它,則會引發此錯誤。

如果是這種情況,請嘗試在VS2010中打開,然後希望您可以升級到最新版本以支持VS2012。

如果不是這種情況,我肯定會建議將這張郵件作爲Sitefinity支持的票據,以便他們可以仔細查看您的項目!

我希望這有幫助!