Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - Database Management and Reference » Using UltraLite Databases » Troubleshooting UltraLite » Troubleshooting UltraLite data management layers

 

UltraLite engine client fails with error -764

Applies to

Windows Mobile

Symptom

You are running the UltraLite engine on Windows Mobile device, and the client returns a -764 error.

Explanation

An error of -764 means that the engine could not be found and was unable to start.

Recommendation

Consider one of the following actions:

  • Consider redeploying the engine to the recommended deployment location, the \Windows directory. UltraLite automatically looks for the engine files in this location.
  • If you have install the engine to any other location, ensure your connection code uses the START connection parameter.
  • If you have used the START connection parameter, and you are sure the path to the engine is correct, ensure you have used the correct escape sequences for special characters in the path name.

    For example, in some cases you may need to change this code:

    ULConnection conn = new ULConnection(@"dbf=\Program Files\HelloEngine\HelloEngine.udb;
    START=\Windows\uleng11.exe")

    To something similar to:

    ULConnection conn = new ULConnection(@"dbf=\\\"Program Files \"\\HelloEngine\\HelloEngine.udb;
    START=\\Windows\\uleng11.exe");
See also