Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

I have a UWP application targeted for the x64 platform using Visual studio 2019. I am using the Ultralite.winrt reference within my project. I am using the latest version of Microsoft.NetCore.UniversalWindowsPlatform. I will be sideloading the application. I have a Ultralite database that is valid(I can access the database using SQL17 DEVELOPER).

When I call the method UltraLite.DatabaseManager.Init() I get the following error 'The specified module could not be found. (Exception from HRESULT: 0x8007007E)" Upon inspection of the Exception error class, it states the following Source-"System.Private.CoreLib" Stacktrace -"at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD)\r\n at UltraLite.DatabaseManager.Init()\r\n at WEMobileDataAccessV2.TNT_DataAccess.ConnectConfig() in C:\Users\eunderwood\Documents\Wellington\ServanywhereMobile\WellingtonV2\WEMobileDataAccessV2\WEMobileDataAccessV2\TNT_DataAcess.cs:line 286"

I can't get past the first call to the Ultralite object. Any help would be appreciated.

asked 21 Mar, 15:32

mooseman's gravatar image

mooseman
1113
accept rate: 0%

edited 21 Mar, 15:33

Have you referenced the UltraLite.winmd in the project? And when you are running can the app resolve the location?

(26 Mar, 09:16) Chris Keating
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×162

question asked: 21 Mar, 15:32

question was seen: 203 times

last updated: 26 Mar, 09:16