File Violation Error while accessing database in PocketPC?

hello all,

I have created a database on PocketPC emulator. The exact error is:

Error: 0x80004005 E_FAIL

Native Error: (25035)

Description: There is a file sharing violation. A different process might be using the file.[,,,,,]

Interface Defining Error: IID_IDBInitialize

Param 0: 0

Param 1: 0

Param 2: 0

Param 3: \bishwajit.sdf (name of database)

Param 4:

Param 5:

Please help me...

thanx...




Answer this question

File Violation Error while accessing database in PocketPC?

  • aili

    SQL CE 2.0 only allows for one connection to the database. Please make sure you're not trying to open connection more than once. Query analyzer counts, so make sure to disconnect before your application runs.



  • File Violation Error while accessing database in PocketPC?