*.mdb access with .NET application on XP embedded

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I want to run my own .NET 1.1 application on XP embedded.
After building my XP embedded image with all necessary components i have
additionally installed the .NET framework 1.1 to my running XP embedded.
Now my .NET application starts but if the app tries to access the
database(*.mdb file) I get the following exception:
ERROR [IM002] [Microsoft][ODBC Driver Manager] Der Datenquellenname wurde
nicht gefunden, und es wurde kein Standardtreiber angegeben.

(possible translation)
ERROR [IM002] [Microsoft][ODBC Driver Manager] Datasource name not found and
now standard driver quoted.

What's my fault? Which components do I need to access my *.mdb file with my
..NET 1.1 application?

Thanks
warchild
 
..NET QFE does not bring in all dependancies. I have had to dig to find
certain calls - we have an app that amongst other things checks drive space
with a .NET system.managament call, it wouldnt work and I had to find the
used component manually and add it to the runtime using FileMon.

Try searching in TD for ODBC

Regards
Howard
 
You can download .NET FW 1.1 component from the net as QFE update.

Ok. I installed the .NET FW 1.1 component but it's still the same: Software
exception.

It seems that I have a problem with my ODBC. In my Control Panel -->
Administrative Tools --> Data Sources (ODBC) is no Driver available. If I try
to Add (for example) the 'Microsoft Access Driver (*.mdb)' the following
failure occurs:

The setup routines for the Microsoft Access Driver (*mdb) ODBC driver could
not be loaded due to system error code 126.

Do I need some additional components for this? For example MDAC or JET?
But i've read in the XPe manual that the 'Jet Database Engine' will be
automatically included if required.

Rene
 
My application is using .Net 1.1 and accessing .mdb files so I'm sure it
will work once you get the right components.
I know i had to continually add components until my errors went away.
In addition, I know the programmers had to POST FBA change the access rights
to some folders as well as set up an ODBC for the access databases they were
using.

Incidently I am installing .Net 1.1 manuall and not using the .NET component
as I have frozen my TD configuration for now as we are nearing a major
release.

David
 
additionally installed the .NET framework 1.1 to my running XP embedded.

Why additionally installing .NET 1.1 in runtime?
You can download .NET FW 1.1 component from the net as QFE update.
It will bring in all dependencies that you need to your image. (OR you can see what dependencies you missed if you disable auto
resolve)

Regards,
Slobodan
 
Try and add the "Jet Database ODBC Component"
I wrote a .NET code using OleDB on access database and it didn't work untill
I added (manually) the Jet component.
 
Add "Jet Database ODBC Component". It will pull in the "Jet Database Engine" component for you.

Also add "Microsoft Data Access Components (MDAC)" (Visibility=200). It is always helpful to have when you deal with databases in
OS.

(lower your visibility level in TD to see most of the ODBC and Jet components)
 
yessssss, it works !!!!!

Thank you, KM, for the hint that i have to change my visibility level in TD.
That's the solution.
I wondered why the documentation told me about the 'Jet Database ODBC
Component' but i couldn't find them. Now i can see it!

Thanks again
warchild
 
Back
Top