sscemw20.dll and dbnetlib.dll can't installed or copied to device

M

Mike Wang

hi, there,

I have met very frustrated problem on my device (Microflex ce8640 by
DAP). When I deploy my windows ce application (in VB.net) to the device,
two cab files: sql.wce4.armv4.CAB and sqlce.wce4.armv4.CAB will be
copied to the device. Everytime the sscemw20.dll and dbnetlib.dll can't
be installed successfully and ask me to re-install the cab. In this case
I can't use merge replication to download my sqlce database from
server(obviously).

When I check the device, I found the sqlce2.0 and Quary Analyzer are all
installed and seems working fine, just without the two dll files in
windows directory.

I tried many ways to solve this problem like: remove sqlce2.0, sqlce
client, sqlce dev and reinstall them by manual or ActiveSync3.7.1. Unzip
the above two cab files and copy the dll files to the windows directory,
or even hardset, softset the device, run delcrytokey.exe, set default
registry on the device, they were all failed. The only last thing I have
not done is to reflush the device and install the windows ce.net 4.2
agian.

The most deadly thing was if I copy the sscemw20.005 and dbnetlib.003
from the cabs to the windows directory, it is ok. But if I change their
names to sscemw20.dll and dbnetlib.dll, the device didn't allow to do
this, and if I change them to like sscemw200.dll or sscemw2.dll, it was
ok. Funny huh?

Acturally, this problem happened after I download the .NET compact
framework1.0 SP3 from the Microsoft website and tried to update it for
my desktop to fix some bugges they mentioned. Before that, the device
was working fine with everything.

Can any expert please give me some idea what's going on here, is it
software or hardware problem or whatever? Please!!! I was totally
frustrated and exhausted!!!

Thanks in advance,

Mike

Handheld PC Software Developer
Ontario Ministry of Natural Resources
Canada
 
M

Mike Wang

Hi, Alex,

Thanks for the reply. I tried to those and SP3 showed message that "No
version of the microsoft.net compact framework was found which supports
your device"...

The ActiveSync3.7.1 is connecting to the device. I remembered sp2 can
install to the device via it before.

What can I do now?

Cheers,

Handheld PC Software Developer
Ontario Ministry of Natural Resources
Canada
 
M

Mike Wang

Hi, dwhittenburg,

Thanks for the reply. Yes, you can install sqlce to the device manually
via cab file or during the deployment by VS.Net 2003 via ActiveSync.
Problem is I could not install the SP3 through activesync. It could not
detect the windows.net cf on the device.

Thanks,

Mike

Handheld PC Software Developer
Ontario Ministry of Natural Resources
Canada
 
M

Mike Wang

Hi, Alex,


Thing seems a little progress. I removed all the sqlce stuffs from the
device and cold reset it, installed SQLCE2.0 on my desktop computer and
redeploy my appliation via ActiveSync with the same error messages
coming out. But when run my application to download my database from
server, it seems working without throwing me MissingMethodException and
the sdf file created in the device but without data in it. Does that
mean the device working now except the publication I made has problem or
both?

Handheld PC Software Developer
Ontario Ministry of Natural Resources
Canada
 
M

Mike Wang

Hi, Alex,

The problem solved and everything fine now except the two dll files
stilled failed. But I can subscribe the publication with all the data in
the tables.

Thanks for reply,

Cheers,

Mike

Handheld PC Software Developer
Ontario Ministry of Natural Resources
Canada
 

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