Application can't find Compact Framework or SQL CE

  • Thread starter Geoff Callaghan
  • Start date
G

Geoff Callaghan

I have a device that has an OS created by the device vendor. He claims (and
has sent me screenshots as proof) that the OS includes both the compact
framework and the SQL CE support I need. However, when I install the cab
file with my program in it, the device tells me I need to install NetCF and
SQLCE. The program doesn't run either. No error message..it just acts like I
didn't try to run it.

Where in the OS should I see evidence that these things have been installed?
If they are installed, why won't my program at least run long enough to show
an error? My eventual goal is to drop the program on the device and have it
run. I cannot install CAB files every time it boots up.

Geoff Callaghan
 
P

Paul G. Tobey [eMVP]

Which version of .NET CF and SQL CE is your application prepared to work
with; what has he installed? Maybe he's installed a given version, but your
program is linked against a later version...

Paul T.
 
G

Geoff Callaghan

This may be a stupid question, but how do I find out? I looked all over the
device, and in Visual Studio, and I can't find that information anywhere.
Sql CE is 2.0, but is there a more significant version number?
 
I

Ilya Tumanov [MS]

For NETCF, navigate to \windows and click on cgacutil.exe to find out NETCF
version number.
If you don't have this file, NETCF is not in ROM.

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
C

Chris Tacke, eMVP

Look in the \Windows folder. Make sure you're viewing hidden files. You'll
have a load of GAC_* files.

-Chris



--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 
G

Geoff Callaghan

OK, I can see the version on the device. It is 1.0.4292.000. I noticed in a
help file I was looking at that some functions only work in 1.1. I can't
seem to find 1.1 on the microsoft site, only 1.0 SP3. How do I know what is
the most recent version?
 
G

Geoff Callaghan

I have hidden files showing. I ran the cgautil, and it says I have
1.0.4292.000 on this board, which is the same as all the others. Still, the
program won't run. I installed the netcf.all cab and re-ran cgautil, and it
still says1.0.4292.000, which tells me the framework is right on all sides.
I guess I really just don't understand why the program would not only fail,
but refuse to give me any indication of why.
 
G

Geoff Callaghan

Just as an update: After I install the CAB file to a FLASH disk and store
the registry, the program runs. Cgautil still says 1.0.4292.000. No
difference in version, yet now the program runs. What's going on here? Is
there a registry setting I'm missing in the OS that's supposed to tell the
executable where to find the framework?
 
C

Chris Tacke, eMVP

Time to break out remote registry editor. Pull the registry when it's
failing, then again when it's working and diff the two.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top