Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2012
    Posts
    3

    Unanswered: MKC was not loaded properly

    I have an environment using VS 2005 (.net 2.0) and interact with Pervasive SQL using Sage TL Office application. I am using Pervasive OLEDB to connect Pervasive SQL database. The connection establishes using Windows service. After some time execution, the following error is being thrown by the service when attempting to connect Pervasive database connection.

    "MKC was not loaded properly
    See pervasive SQL Relational Database Engine Status Code -3031"

    Can anybody help to resolve this issue....

    Regards,

    Rashid
    Last edited by RashidSiddiqui; 07-31-12 at 07:56.

  2. #2
    Join Date
    Dec 2001
    Posts
    1,109
    Provided Answers: 4
    What version of PSQL are you using?
    what's in the PVSW.LOG file?

    I've never seen that error before. The -3031 states:
    -3031: MKC library cannot be loaded
    The attempt to load MKC library failed. Ensure that the following file is located in the proper directory and is the correct version for your product
    My guess is that something is happening and the MKC.DLL isn't loading. The PVSW.LOG file might help.
    Mirtheil Software
    Certified Pervasive Developer
    Certified Pervasive Technician
    Custom Btrieve/VB development
    http://www.mirtheil.com
    I do not answer questions by email. Please post on the forum.

  3. #3
    Join Date
    Jul 2012
    Posts
    3
    I am using Pervasive PSQL v. 10.31.043. For sometime, it works fine but after some hours of execution, service throws the said error.

  4. #4
    Join Date
    Dec 2001
    Posts
    1,109
    Provided Answers: 4
    And what is in the PVSW.LOG file on both the client and the server (if the application is running on a different machine than the engine)?
    Mirtheil Software
    Certified Pervasive Developer
    Certified Pervasive Technician
    Custom Btrieve/VB development
    http://www.mirtheil.com
    I do not answer questions by email. Please post on the forum.

  5. #5
    Join Date
    Jul 2012
    Posts
    3
    where can i find PVSW.LOG file. I searched on the system but couldn't find.

  6. #6
    Join Date
    Dec 2001
    Posts
    1,109
    Provided Answers: 4
    Mine is located in C:\ProgramData\Pervasive Software\PSQL\logs.
    I am running on Windows 7 x64.
    According to the documentation, the PVSW.LOG is in the application_data_directory\PSQL\logs directory. where application_data_directory is OS dependent.
    Mirtheil Software
    Certified Pervasive Developer
    Certified Pervasive Technician
    Custom Btrieve/VB development
    http://www.mirtheil.com
    I do not answer questions by email. Please post on the forum.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •