Ticket CQ50741
Visible to All Users

Support for Pervasive PSQL

created 18 years ago

Hi DevExpress
I see by the documentation that XPO supports Pervasive.SQL 9 Pervasive.Data.SqlClient.dll - 2.10.0.15. Am I correct in assuming that this support is for .Net 1.1 only?
I was look to migrate/rewrite an legacy app in .Net 2.0 that uses PSQL using XPO and Pervasive.SQL 9, is this possible or am I clean out of luck?
Thanks
Bernard

Comments (3)
Stan (DevExpress Support) 18 years ago

    Hello Bernard,
    Yes, it's possible. Actually, the mentioned assembly also works correctly with the .Net Framework 2.0. So, you can easily convert your application to VS2005.
    Please feel free to contact us if you need any additional assistance in this regard. We will be happy to help you.
    Thanks,
    Stan.

      Hi Stan,
      Thanks for the reply…
      Attached is a sample project (XAF) which fails as follows:
      31.05.07 05:52:15.390     --------------------------------------------------------------------------------
      31.05.07 05:52:15.390     Logon failed
      31.05.07 05:52:15.390     ================================================================================
      The error occured
           Type: CompatibilityException
           Message: Executing Sql 'select N0."OID",N0."TypeName",N0."AssemblyName" from "XPObjectType" N0' with parameters '' exception 'Pervasive.Data.SqlClient.PsqlException: Pervasive.Data.SqlClient.Lna.LnaException: [LNA][Pervasive][ODBC Engine Interface][Data Record Manager]No such table or object.
         at Pervasive.Data.SqlClient.Lna.LnaStatement.ExecDirect(String sql, ParamInfoSet pis, ColumnInfoSet cis, ParamDescSet pds)
         at Pervasive.Data.SqlClient.PsqlCommandImpl.execute(Boolean parseOnly, CommandBehavior behavior, Boolean needReader)
         at Pervasive.Data.SqlClient.PsqlCommandImpl.doExecuteReader(CommandBehavior behavior)
         at DDInt.Common.CommonCommandImpl.ExecuteReader(CommandBehavior behavior)
         at Pervasive.Data.SqlClient.PsqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
         at DevExpress.Xpo.DB.ConnectionProviderSql.InternalGetData(IDbCommand command, CriteriaOperatorCollection targets, Int32 topClause)
         at DevExpress.Xpo.DB.ConnectionProviderSql.SelectData(Query query, CriteriaOperatorCollection targets)'
           Data: 0 entries
           Stack trace:
         at DevExpress.ExpressApp.ExpressApplication.InternalCheckCompatibility(IObjectSpaceProvider objectSpaceProvider)
         at DevExpress.ExpressApp.Win.WinApplication.InternalCheckCompatibility(IObjectSpaceProvider objectSpaceProvider)
         at DevExpress.ExpressApp.ExpressApplication.CheckCompatibility()
         at DevExpress.ExpressApp.ExpressApplication.Connect()
         at DevExpress.ExpressApp.ExpressApplication.DoLogon()
         at DevExpress.ExpressApp.Win.WinApplication.Logon()
         at DevExpress.ExpressApp.Win.WinApplication.Start()
           InnerException is null
      I am not sure if you handle this as it XAF. The "eXpressAppFramework.log" is in the zip file.
      The version of the Pervasive.Data.SqlClient provider that I am using is 2.10.1.2. The one available on their website.
      Thanks
      Bernard.

      DevExpress Support Team 18 years ago

        Hi Bernard,
        Thank you for the update. This problem appears because of an omission in XPO. I have registered a new suggestion in the support center devoted to this problem:
        Raise the SchemaCorrectionNeed exception in the Pervasive adapter
        Thanks,
        Plato

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.