Hi All,
I'm writing an app which uses an SQL Mobile DB on the JasJar. It works fine in the emulator, but as soon as I run on the JasJar I get the following message:
Unable to find PInvoke DLL sqlceme30.dll
The code which causes this is the first reference to a System.Data.SqlServerCe object.
I've searched for clues and tried manual installations of SQL Mobile Cabs on the device, I've tried putting the required DLL's into the project and marking them to be copied onto the device during deployment, and I've tried a factory reset. All of these (except the reset) get rid of the first error and give this one:
A SQL Mobile DLL could not be loaded. Reinstall SQL Mobile. [ DLL Name = sqlceqp30.dll ]
The code which causes this is the first call to execute a query against the DB. I've been unable to get any further than this.
I've tried to rule out device problems by performing the factory reset, and have also tried to rule out VS2005 configuration issues by running on the emulator.
Has anyone else had (and more importantly - solved ) this problem?
Many thanks for any help you can offer.
Regards
Alec
FYI This was solved by applying the latest ROM update.
Hi
just for information, this error may also appear if the DLL is loaded to late and the RAm would not be sufficient to load the dll
Related
Hi guys
I use sprintDb Pro (database app) from kaione Soft and recently upgraded to WM 5.0 (thanks Buzz). Problem is that AS4 has a problem copying my databases to the desktop and vice versa. It says : access denied and general access error
other filetypes copy and convert with no problems. Would somebody using WM 5.0 please copy a *.mdb file to their XDAII and report what happened please ?
bump
hmm, just found this :
Note Synchronizing and converting Access database files is available only on devices running Windows Mobile software for Pocket PC 2003 and earlier.
bit strange I think, not funny :evil:
I get these same errors, Ive spent a day looking at MDB converters and had some limited success.... But I just want to plug my phone in and let it synch automatically.... Anyone got a surefire method or way around the errors the OP mentioned.
just edit registry key from 2 to 1 at
HKEY_LOCAL_MACHINE\Security\Policies\Policies\00001001
then soft reset and try syncing again.
julongpalm said:
just edit registry key from 2 to 1 at
HKEY_LOCAL_MACHINE\Security\Policies\Policies\00001001
then soft reset and try syncing again.
Click to expand...
Click to collapse
It is incredible I had the problem that even after installing SprintDB I could not sync the database between my PocketPC and the PC.
But this simple registry hack solved the problem. Where did you find it? there is no indication about this in the SprintDB manual, nor on kaione web site!
One important thing, I have WM5.
chris247 said:
It is incredible I had the problem that even after installing SprintDB I could not sync the database between my PocketPC and the PC.
But this simple registry hack solved the problem. Where did you find it? there is no indication about this in the SprintDB manual, nor on kaione web site!
One important thing, I have WM5.
Click to expand...
Click to collapse
Well, I did the same and it does not work because in the conversion settings for Microsoft Access in ActiveSync there is no option to convert from mdb to cdb , consequently it simply transfers the file from the desktop without converting it.
I also have wm5 and using latest ActiveSync.
Any help?
gonzaloblanco1992, I had no problem at all with the registry hack. Maybe try again after a fresh new installation.
hello,
i have a question related to reverse engineering of windows mobile application using ida pro. I change one instruction with hex editor, i check if everything was changed and it seems ok, but when i run the same application with ida on my wm 6 device i notice that the instruction hasn't changed.
How is that possible if even hex editor shows me another instruction. I checked with charmed via my device and it shows that the instruction was successfully changed. Ida shows the changed instructions until i don't start debugging the application. Anybody knows where's the problem?
Thanks in advance.
Hello, I've not found anywhere answer to my question so I ask here. Don't you know any 100% working Java Virtual Machine to set on Windows Mobile 6 Emulator (and the best on free commercial license)?
Soft (emulator) I use is from:
http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=38c46aa8-1dd7-426f-a913-4f370a65a582&displaylang=en
Another interesting thing is that I downloaded and launched WM 5 Emulator and without any problem installed JBed platform. Unfortunatelly WM 6 doesn't allow me to launch any midlet (using JBed). It throws:
Code:
The file 'jbed' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
Myisafu brakes installation process and couldn't reach to the end.
Many similar topics are to found on the internet, but none of them touches emulator problem. All of them are with reference to real devices.
Regards.
Hello there,
my "new" Venue Pro arrived yesterday and i just started to test it.
It had a very old firmware, not even mango ... so i startet updates by zune.
After the third update (for wlan problems, i think it was the "latest" wp7 update) i get an error .... so i restartet the phone an tried again, no success.
I read a lot, not even the microsot update tool could help. So i startet the recover in zune over settings, updates.
The update startet and now i always get an error by 61%. I read a lot again, i even tried to backup it from another comuter (copied image %appdata%\Microsoft\Microsoft Phone Update) but the same problem.
So, my "new" phone doesent start any more ... it just loads to the bootloader ...
I tried to get any offiziel firmware to flash the device to "standard" but i seams hat MS dont want this.
I knew a little bit about flashing WM6 devices (HSPL & custom fw) but with WP7 devices i dont really understand what to do in this situation.
I hope you can help me! Can i download the dell firmeware someware to recover the phone? maybe someone have a "personal recover firmware" for me?
Thx
If your device can load into download mode (that you called "bootloader") it can be restored to 7004 T-mobile branded version and later update to 7720 via Zune. This is only one available firmware on the public.
Look at this thread: http://forum.xda-developers.com/showthread.php?t=1411300
THX!
I will try ... downloading ...
So, i downloaded VenuePro_flash_GLEOS2A_US_TMO_SIGNED_SWV0105_LP0030_RV001_RETAIL.ffu and thought, everthing is getting fine.
But i had no idea how i can install this!
I´m reading hours and hours, tried to use UpdateWP.exe (crash on 2 computers, where NO MS Support tools are installed), Windows_Phone_7_Backupv1.9, MangoB2-ZuneClient, Zune 4.7 .... no success.
Could sombody please tell me, how i can install this on Windows 7 x64? I dont know what to do ...
I get this message when i try to updatewp it;
Unhandled Exception: System.TypeInitializationException: The type initializer fo
r 'wm7update.Program' threw an exception. ---> System.IO.FileLoadException: Coul
d not load file or assembly 'Microsoft.WindowsMobile.DeviceUpdate, Version=7.0.0
.0, Culture=neutral, PublicKeyToken=ddd0da4d3e678217' or one of its dependencies
. The located assembly's manifest definition does not match the assembly referen
ce. (Exception from HRESULT: 0x80131040)
File name: 'Microsoft.WindowsMobile.DeviceUpdate, Version=7.0.0.0, Culture=neutr
al, PublicKeyToken=ddd0da4d3e678217'
at wm7update.Program..cctor()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\M
icrosoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure lo
gging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus
ion!EnableLog].
--- End of inner exception stack trace ---
at wm7update.Program.Main(String[] args)
See also here: http://forums.create.msdn.com/forums/p/85864/516966.aspx
As i said before, there is no (more) Microsoft Update Software on my computer and on the second there never was it.
Mybe i could handle it with the "MangoB2 Updater" .... but i cant download this anywhere.
I really have no luck :-(
Do not panic yet. You have different versionsof zune or updatewp /missing files
Deinstall everything related to zune.DONT TOUCH EVERYTHING RELATED TO MS SUPPORT TOOLS, IF ITS INSTALLED IT DOESNT INFLUE ON PROCESS!!!
Install Net framework 3.5, 4;
Install Zune(take it from zune.net);
Install wp7 updatetool from zip attached here here http://forum.xda-developers.com/showthread.php?t=1306415 with proper x64 file.
Follow those steps after connecting device in download mode:
Extract command prompt to C:\program files\zune\
go to directory to “C:\program files\zune\ and run Command prompt. Type in : “UpdateWp /list” and your phone should show up there.
If your phone is listed (it should be) and your download is done and extracted, copy the VenuePro_flash_GLEOS2A_US_TMO_SIGNED_SWV0105_LP003 0_RV001_RETAIL.ffu file over to the” C:\program files\zune\” directory.
Type in: “updatewp /ffu VenuePro_flash_GLEOS2A_US_TMO_SIGNED_SWV0105_LP003 0_RV001_RETAIL.ffu” enter, update should start.
YES IT WORKS!
Great, now i can start my dell venue pro again and even updating is functional.
But why can´t i change the display language? I tought i´m able to change the display language in this roms? In all WP7 phones (in germany) i could change the language at the first start (and after a reset).
*argh!*
On this site i found language packs, but that is a little bit ... argh?!
http://forum.xda-developers.com/showthread.php?t=1306415
so it´s over ... i send the phone back ...
Thank u very much 4 helping.
Sorry for reposting this, but I really need an answer. I think I have downloaded all the necessary files to update my phone, all I need to know now is how to work the cab sender. Is there a video on this or is there an easy solution? I tried updating via Zune, but it freezes my HD2 and makes me reflash. I am on version 7004. I want to be able to use the marketplace and I already activated my phone. Help???
L4zyBear said:
Sorry for reposting this, but I really need an answer. I think I have downloaded all the necessary files to update my phone, all I need to know now is how to work the cab sender. Is there a video on this or is there an easy solution? I tried updating via Zune, but it freezes my HD2 and makes me reflash. I am on version 7004. I want to be able to use the marketplace and I already activated my phone. Help???
Click to expand...
Click to collapse
use this to flash all the way to 8107...just execute the first .bat file. do not exit the cab sender after part 1 is complete...press any key to complete to 8107. it's the 7004 to 8107 autoinstaller you want. do not reset phone. go straight into sending sp1..see below.
http://xboxmod.sylvester20007.com/CABS/OSBUILD.CAB/
then use cab sender to flash sp1 by itself using the regular cab sender you downloaded. place the sp1 cab file in the same directory as the .bat file. hard reset phone after sp1.
cab sender grabs whatever cabs you place into its directory to send. be sure to delete the cab(s) after sending before sending another cab. you can send multiple cabs per run. again, be sure to delete cabs already sent before another run.
╔══════» Creating list of cabs
■
■
╠══════» Updating device
■
UpdateWP version 4.8.2345.0
Error: Retrieving the COM class factory for component with CLSID {77CB935D-D0CC-
4249-8643-3C387A514A27} failed due to the following error: 80040154.
Call stack:
at Microsoft.WindowsMobile.DeviceUpdate.DeviceManager.Initialize()
at Microsoft.WindowsMobile.DeviceUpdate.DeviceManager.get_Instance()
at wm7update.Program.Main(String[] args)
■
╚══════» Done
Press any key to continue . . .
Any Ideas? Solved the problem thanks for your help!