Sunday, February 19, 2012

IID_IDBDataSourceAdmin Error Trying to Create a Database using Query Analyzer on a Mobile Device

Hi,

Please provide some help regarding the "Interface Defining Error: IID_IDBDataSourceAdmin" error while trying to create a SDF database using Query Analyzer on a Windows CE 5.0 mobile device (Symbol MC3000).

Error: 0x80004005 E_FAIL

Native Error: 28558

Description: SQL Mobile encountered problems when creating database [,,,,]

Param. 0: 0

Param. 1: 0

Param. 2: 0

Param. 3:

Param. 4:

Param. 5:

A list of (related) installed packages:

NETCFv2.wce5.armv4i.cab

sqlce30.dev.ENU.wce5.armv4i.CAB

sqlce30.repl.wce5.armv4i.CAB

sqlce30.wce5.armv4i.CAB

PS.

Basically I have developed a mobile application that programmatically creates the database, the code worked on a similar device (Win CE 50), trying to run the application on a new device resulted in database creation errors. I tried creating a test database manually .. and this is what I got.

Browsing MSDN or searching on the Forum did not help.

~Zarko Gajic

AH!

Problem "solved". The device was in its cradle BUT no battery was installed!

When the battery was inserted I was able to create the database using Query Analyzer.

However, I now have additional problems:

Trying to create the database programmatically (using SQlCeEngine.CreateDatabase) results in:

ErrorCode: 8007000E

Minor Code 28558.

Again I can not find any meaningful info on this.

~Zarko Gajic

No comments:

Post a Comment