PervasiveOLEDB provider is not registered on the local machine on Windows 2008 x64

Last post 07-21-2010 9:22 AM by rashidhsiddiqui. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-21-2010 8:41 AM

    PervasiveOLEDB provider is not registered on the local machine on Windows 2008 x64

    I am facing a problem for couple of days. I am using Windows Service for .Net 2.0. The service is using Pervasive v.10 to get the data from third party application database Sage Timberline Office Service Management. 

    I was initially perfectly able to connect to Pervsive database using OLEDB provider on X86 operating system. But when the code compiled and Pervasive SQL connection call is made, then error thrown on opening connection "PervasiveOLEDB provider is not registered on the local machine".

    After quite an effort, i finally used Pervasive.Data.SqlClient.PsqlConnection and Pervasive.Data.SqlClient.dll version(3.0; which was supplied alongwith Pervasive v.10 installation) to able to open connection.

    My question is this, whether Pervasive SQL v.10 supports OLEDB connections? If yes, then how?

     

    Please any one if know the answer then reply me as soon as possible.
    Thanx in advance.

  • 07-21-2010 8:53 AM In reply to

    Re: PervasiveOLEDB provider is not registered on the local machine on Windows 2008 x64

     The PervasiveOLEDB driver is 32 bit only.  Sounds like you were compiling your .NET application using the AnyCPU platform.   In that case, .NET looks for a 64 bit driver.  You would need to change the application to "x86" for the platform type.

    Once you change the platform type to "x86", you'll be able to use the PervasiveOLEDB.  That being said, you'll probably have better performance using the Pervasive.Data.SqlClient.  

    Mirtheil
    I do not answer question via email. Please post questions in the forum.
    Think before responding. Do not post in old threads. Start a new one.
  • 07-21-2010 9:22 AM In reply to

    Re: PervasiveOLEDB provider is not registered on the local machine on Windows 2008 x64

    Thanx very much.

    You saved my whole day effort which was about to go in the vain...;)

Page 1 of 1 (3 items)