While the WM6.0 and WM6.1 edited ROMs with the newest NETCF v3.5 come
out one by one, most of them have a problem of incompatible NETCF and SQL with some softwares.
< For example >
Software 1. " Six Law" -------> e-book database of law, sqlce30.ppc.wce5.cab is needed for it (also installed manually)
Software 2. " All-In-Me" ------> business software, sqlce.wce4.armv4.cab and sql.wce4.armv4.cab are needed for it (also installed manually)
After the two softwares mentioned above installed and run,
I keep getting the error message listed below:
System.IO.FileLoadException : Could not load file or assembly
'System.Data.SqlServerCe, Version=3.0.3600.0, Culture=neutral,
PublicKeyToken=3be235df1c8d2ad3, Retargetable=Yes'
or one of its dependencies.
The located assembly's manifest definition does not match the assembly reference.
(Exception from HRESULT: 0x80131040)
After the discussion in this thread (especially thanks to juju-35), we get a
solution to fix that problem. List as below:
For people who need the solution to fix the incompatible NETCF and SQL,
Just collect the files mentioned here and install according to the instructions.
1. NETCFv2.wm.armv4i.cab-----> I don't know why I couldn't upload this file
But you can get this file (about 2.13MB) from forum or download the
NETCFSetupv2.msi (about 37.1MB) from Microsoft website.
After installing NETCFSetupv2.msi on PC, you can get the cab
"NETCFv2.wm.armv4i.cab" from :
C:/Program Files/Microsoft.NET/SDK/CompactFramework/V2.0 /WindowsCE/WCE500/armv4i
Copy this file to Kaiser and install it.
2. sqlce30.ppc.wce5.cab -------> I have uploaded this file
Copy this file to Kaiser and install it. It provides the assembly
of 'System.Data.SqlServerCe, Version=3.0.3600.0.
3. NetCFConfig.zip -------> I have uuploaded this file
Unzip this file and you get a folder. Copy the folder to Kaiser's main
memory. The folder has NetCFCfg.exe and two .dll files(ARM version) in it.
Then run " NetCFCfg.exe " and you can see the configure screen as below:
Four menus:
About ----> Show the .Net Compact Framework versions installed
You should see 2.0.6129.0 and 3.5.7283.0
GAC-------> Show all the Assemblies installed in the Global Assembly Cache
Device Policy----> In this menu, you can set the default NetCF to v3.5.7283
and click Apply button.
Application Policy----> Here you can override device policy for applications.
That is you can choose which software to run with
NetCF v2.0.6129. Then click apply button.
After that, enjoy!!!
If anyone occurs any other special situation, please post it here for discussion.
Craig Shih
Is there any way to have downward compatible?
Maybe the sqlserverce is in the rom files so we can't made any modification to them.
i dont see my rom listed
I've had the same problem with many of the new wm6 and wm6.1 rooms
the program i use is pocket e-sword which requires SQLCE 2.0 or sqlce.wce4.armv4.cab
the 2 wm 6.1 roms i've tried that works is sleuth's (which i'm currently on) and austinsync's hybrid.
i've tried laurentius, udk, dutty's wm6.1 all can't..
austinsnyc said:
i dont see my rom listed
Click to expand...
Click to collapse
Sorry, I had spend too much time to reflash my TyTN II so that there might be some other ROMs not yet tried.
I 'll give it a try when I get some free time.
Thanks.
L26 WM 6.1 Professional WWE V5
Laurentius26 has released a new WM6.1 ROM~ L26 WM 6.1 Professional WWE V5.
It's fully compatible with Sqlce. I' ve tried this ROM and I like it very much.
Thank you my friend,
I was reading your thread before and saw which ROM's are compatible,
it was easy to take out the Sqlce from one of these
Cheers,
Leo
craig_shih said:
Laurentius26 has released a new WM6.1 ROM~ L26 WM 6.1 Professional WWE V5.
It's fully compatible with Sqlce. I' ve tried this ROM and I like it very much.
Click to expand...
Click to collapse
Not sure if you've realized the pattern, but the incompatible ROMs are the ones which have upgraded to NetCF 3.5 and SQLCE 3.5.
The ones that are not incompatible have NETCF 2.0 and SQLCE 3.0 just like the shipped ROM.
Hope this helps!
Your not completely right here!
I do have NetCF 3.5 running and my V5 ROM is compatible!
It was the first thing that I was thinking as well btw.
Thanks for letting me know
_Alex_ said:
Not sure if you've realized the pattern, but the incompatible ROMs are the ones which have upgraded to NetCF 3.5 and SQLCE 3.5.
The ones that are not incompatible have NETCF 2.0 and SQLCE 3.0 just like the shipped ROM.
Hope this helps!
Click to expand...
Click to collapse
Laurentius26 said:
Your not completely right here!
I do have NetCF 3.5 running and my V5 ROM is compatible!
It was the first thing that I was thinking as well btw.
Thanks for letting me know
Click to expand...
Click to collapse
Was informing the original Op. It seems like you're the only person who tried to make any changes as everyone else has pretty much stayed clear of this thread.
Craig, I'm surprised you even listed my beta2 UltraClean ROM since it doesn't even have NetCF 3.5 SQL CE installed, hence UltraClean. You could always install Sql CE 3.0 and it won't be a problem. That's why I offer so many variants.
Hope this helps!
_Alex_ said:
Was informing the original Op. It seems like you're the only person who tried to make any changes as everyone else has pretty much stayed clear of this thread.
Craig, I'm surprised you even listed my beta2 UltraClean ROM since it doesn't even have NetCF 3.5 SQL CE installed, hence UltraClean. You could always install Sql CE 3.0 and it won't be a problem. That's why I offer so many variants.
Hope this helps!
Click to expand...
Click to collapse
Hi, Alex, your rom is also very nice. The only one issue I occurred is that
after installing the E-book database of law I got an error message
as follows,
The file 'SLink' 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.
I have installed sqlce30.ppc.wce5.cab and NETCFv35.wm.armv4i.cab manually,
but still got the error message.
Sorry that I didn't describe this in the first post.
Passion! said:
I've had the same problem with many of the new wm6 and wm6.1 rooms
the program i use is pocket e-sword which requires SQLCE 2.0 or sqlce.wce4.armv4.cab
the 2 wm 6.1 roms i've tried that works is sleuth's (which i'm currently on) and austinsync's hybrid.
i've tried laurentius, udk, dutty's wm6.1 all can't..
Click to expand...
Click to collapse
Hello,
If your problem(s) come form the .NET CF 2.0 vs 3.5, which I think was mentioned to be the problem for esword in particular, there was actually a workaround posted in Quentin's ROM thread. I ran into the same problems with some of my cabs, I did the changes suggested in the thread, and it worked for me.
Basically, these were the steps:
1- Flash any ROM that has .NET CF 3.5 (most ROMs these days)
2- Install .NET on your PC (needed for step 3, I found out!). Can be dowloaded form Microsoft website.(Install file called NETCFSetup35.msi)
3- Install .NET power toys from MS. (File called NETCF-v35PowerToys.msi)
4- Install .NET v.20 on your PPC (cabs can be found on this forum)
5- Copy Netcfg.exe and its dll (ARM version) to your PPC and run it (prog can be found in Program Files/.NET directory on your PC)
THe NEcfg.exe is a nifty utility that allows you to detect all .NET CF versions installed on your PPC, and apply a default version to all programs but setup a few programs to run on a different .NET CF (like 2.0).
This way you can have programs that would run on any versions of .NET CF installed while having msot of your programs running on the faster, newer version.
I researched this to get Zagat 2 GO ( a great restaurant guide!) to run. Runs beautifully for me on Schap's, Dutty and 5.2 Alex ROMs (the program needs CF 2.0 to run and the default on those ROMs is 3.5).
Hope this helps.
Juju
juju-35 said:
Hello,
there was actually a workaround poste on this in Quentin's ROM thread. I did it and it worked for me.
Basically, these were the steps:
1- Flash any ROM that has .NET CF 3.5 (most ROMs these days)
2- Install .NET on your PC (needed for step 3, I found out!). Can be dowloaded form Microsfto website.( Install file called NETCFSetuov45.msi)
3- Install .NET power toys from MS. (File called NETCF-v35PowerToys.msi)
4- Install .NET v.20 on your PPC (cabs can be found on this forum)
5- Copy Netcfg.exe and its dll (ARM version) to your PPC and run it
THe NEcfg.exe is a nifty utilisy that allows you to detect all .NET CF versions installed and apply a default version to all porograms but setup a few programs to run on a different .NET CF (like 2.0).
THis way you can have programs that would run on any versions of .NET CF installed while having msot of your programs running on the faster,, newer version.
I researched this to get Zagat 2 GO ( a great restaurant guide!) to run. Runs beautifully for me on Schap's, Dutty and 5.2 Alex ROMs (the program needs CF 2.0 to run and the feault on thsoie ROMs is 3.5).
Hope this helps.
Juju
Click to expand...
Click to collapse
Thanks a lot for your excellent research. I'll try it recently. It really helps a lot.
craig_shih said:
Thanks a lot for your excellent research. I'll try it recently. It really helps a lot.
Click to expand...
Click to collapse
Need a lot of help myself (!), so I am glad to help others if/when I can. It is the whole point of a community
Make the NetCF Fix more easier
Yeah, I 've tested that method. It really works. All softwares can be run on
every new Roms. (Many thanks to juju-35)
For people who need this solution for some softwares, I provide a easier way
for them. I upload the files taken out from the original installation:
1. NETCFv2.wm.armv4i.cab-----> I don't know why I cannot upload this file
You can get this file (about 2.13MB) from forum or download the
NETCFSetupv2.msi (about 37.1MB) from Microsoft website.
After installing NETCFSetupv2.msi on PC, you can get the cab
"NETCFv2.wm.armv4i.cab" from :
C:/Program Files/Microsoft.NET/SDK/CompactFramework/V2.0/WindowsCE/WCE500/armv4i
Copy this file to Kaiser and install it.
2. sqlce30.ppc.wce5.cab -------> I have uploaded this file
Copy this file to Kaiser and install it.
3. NetCFConfig.zip -------> I have uuploaded this file
Unzip this file and you get a folder. Copy the folder to Kaiser's main
memory. The folder has NetCFCfg.exe and two .dll files(ARM version) in it.
Then run " NetCFCfg.exe " and you can see the configure screen as below:
Four menus:
About ----> Show the .Net Compact Framework versions installed
You should see 2.0.6129.0 and 3.5.7283.0
GAC-------> Show all the Assemblies installed in the Global Assembly Cache
Device Policy----> In this menu, you can set the default NetCF to v3.5.7283
and click Apply button.
Application Policy----> Here you can override device policy for applications.
That is you can choose which software to run with
NetCF v2.0.6129. Then click apply button.
After that, enjoy!!!
Craig Shih
craig_shih said:
Yeah, I 've tested that method. It really works. All softwares can be run on
every new Roms. (Many thanks to juju-35)
For people who need this solution for some softwares, I provide a easier way
for them. I upload the files taken out from the original installation:
1. NETCFv2.wm.armv4i.cab-----> I don't know why I cannot upload this file
You can get this file (about 2.13MB) from forum or download the
NETCFSetupv2.msi (about 37.1MB) from Microsoft website.
After installing NETCFSetupv2.msi on PC, you can get the cab
"NETCFv2.wm.armv4i.cab" from :
C:/Program Files/Microsoft.NET/SDK/CompactFramework/V2.0/WindowsCE/WCE500/armv4i
Copy this file to Kaiser and install it.
2. sqlce30.ppc.wce5.cab -------> I have uploaded this file
Copy this file to Kaiser and install it.
3. NetCFConfig.zip -------> I have uuploaded this file
Unzip this file and you get a folder. Copy the folder to Kaiser's main
memory. The folder has NetCFCfg.exe and two .dll files(ARM version) in it.
Then run " NetCFCfg.exe " and you can see the configure screen as below:
Four menus:
About ----> Show the .Net Compact Framework versions installed
You should see 2.0.6129.0 and 3.5.7283.0
GAC-------> Show all the Assemblies installed in the Global Assembly Cache
Device Policy----> In this menu, you can set the default NetCF to v3.5.7283
and click Apply button.
Application Policy----> Here you can override device policy for applications.
That is you can choose which software to run with
NetCF v2.0.6129. Then click apply button.
After that, enjoy!!!
Craig Shih
Click to expand...
Click to collapse
Hi Craig,
I'd like to add this as a link in the wiki. Can you edit the topic to be more appropriate now that you've found the fix? It'd also be very helpful if you were to summarize all your findings and your solution in the first post.
Thanks much!
_Alex_ said:
Hi Craig,
I'd like to add this as a link in the wiki. Can you edit the topic to be more appropriate now that you've found the fix? It'd also be very helpful if you were to summarize all your findings and your solution in the first post.
Thanks much!
Click to expand...
Click to collapse
Thank you. I'll edit the topic and contents as soon as possible.
Craig Shih
For the fix to be activated, the NetCF Config folder should be copied
to main memory. For me, if I put the NetCF Config folder in micro SD card,
the fix doesn't work. So I copy the folder to Program Files folder in main memory.
won't install for me...
this is a great work around it seems, i still have one issue. When installing NET CF v2.0, it won't install. It gets to the very end then says "Installation error. Stop all applications and processes, maximize available storage space, and run installation again. Support info: 3." .. followed by the .cab installation saying "Installation of NETCFv2.wm.armv4i.cab was unsuccessful"
What is the issue here? how do I fix this???
I'm running ROM 3.49.NO2.5066 (19588 WM 6.1) on Radio: 3.37.20 on an Alltel Titan
vestaviajag said:
this is a great work around it seems, i still have one issue. When installing NET CF v2.0, it won't install. It gets to the very end then says "Installation error. Stop all applications and processes, maximize available storage space, and run installation again. Support info: 3." .. followed by the .cab installation saying "Installation of NETCFv2.wm.armv4i.cab was unsuccessful"
What is the issue here? how do I fix this???
I'm running ROM 3.49.NO2.5066 (19588 WM 6.1) on Radio: 3.37.20 on an Alltel Titan
Click to expand...
Click to collapse
i have this problem when trying to install .net 3.5
any help on this error?
I had an issue on my Wizard when I owned it with three applications that would only run with .NetCF 2.0 installed. These were Schaps VoIP SIP configuration tool, a Threaded SMS enabler/disabler tool (can't remember who made it?) and the MoDaCo 'NoData' tool to disable GPRS. I re-cooked the ROM and removed .NetCF 2.0 and included .NetCF 3.5, when I did this none of the applications listed would run. Other .NetCF apps would run - MS LiveSearch and Calculator, however the three listed wouldn't.
I tried to merge the OEM packages for .NetCF2.0 and .NetCF3.5 by merging the .RGU files, putting all non-overlapping .dll's in the same package and using the newer .exe's from .NetCF3.5. However when I did this none of the .NetCF applications would run. Does anyone know if it's possible to merge the two .NetCF packages or any other way of including both in the same ROM?
I am currently using a custom ROM built from the official HTC WWE 6.1 ROM (5.2.19212).
Thanks
Andy
install both without marging and in the registry hives you must set a netcf as primary .net libery
NetrunnerAT said:
install both without marging and in the registry hives you must set a netcf as primary .net libery
Click to expand...
Click to collapse
That's the problem. I can't find a way to install both in the ROM (this is a Rom development forum right?). I want a way of including BOTH in the ROM unless anyone has .NetCF3.5 capable versions of the software I listed?
Cheers
Andy
ADB100 said:
That's the problem. I can't find a way to install both in the ROM (this is a Rom development forum right?). I want a way of including BOTH in the ROM unless anyone has .NetCF3.5 capable versions of the software I listed?
Cheers
Andy
Click to expand...
Click to collapse
Well what you do is, build your ROM with .Net 2.0 included. Then once you flash to it, install the .Net 3.5 cab. That way you have both.
fb401 said:
Well what you do is, build your ROM with .Net 2.0 included. Then once you flash to it, install the .Net 3.5 cab. That way you have both.
Click to expand...
Click to collapse
That is what I am doing currently - via the config.txt I install the .NetCF3.5 .cab. I just wanted a ROM that has both included...
I shouldn't have bothered posting....
First of all, why in Kaiser rom section if the problem is on Wizard?
My cooked rom do have .NetCF 2.0 removed and doesn't seem to have problem w/ Nodata, voip config tool.
jackleung said:
First of all, why in Kaiser rom section if the problem is on Wizard?
My cooked rom do have .NetCF 2.0 removed and doesn't seem to have problem w/ Nodata, voip config tool.
Click to expand...
Click to collapse
I used to have a Wizard, I now have a Kaiser and I still have the same issue.....
Simple thing... I wanted to test iFonts in my TP. After installtion phone said it needs newer version of .NET framework. So I installed 3.5 as guide said. Then i restarted the phone but still iFonts doesnt work. I mean I still get the same error. I installed 3.5 again but no can do. Both the Net framework and the iFonts are installed in the device, not in SD card. Just curious to learn things with WM 6 gizmo.
Is there any knowledgement or what?
post a link of the program (homepage) maybe i can help
.NET 3.5 it's worcking very nice
Dl'd from this site.
http://www.microsoft.com/downloads/...49-3c6b-42f1-9fd9-0041345b3385&displaylang=en
Btw what version of NET Framework is as default in Touch pro
Ep!cFa!L said:
Dl'd from this site.
http://www.microsoft.com/downloads/...49-3c6b-42f1-9fd9-0041345b3385&displaylang=en
Btw what version of NET Framework is as default in Touch pro
Click to expand...
Click to collapse
by default .net in tp is 2.0
try installing this: http://www.tectonicitt.ro/NETCFv35.wm.armv4i.cab.zip
Try enabling it. With a registry editor, go to HKLM--> Software--> Microsoft --> .NETCompactFramework and you should see the 2 versions you have installed change the value of v. 2.xxx to 0 and the value of 3.xxx to 1. Save your changes and soft reset your device. Let us know how it goes.
XL3N7 said:
Try enabling it. With a registry editor, go to HKLM--> Software--> Microsoft --> .NETCompactFramework and you should see the 2 versions you have installed change the value of v. 2.xxx to 0 and the value of 3.xxx to 1. Save your changes and soft reset your device. Let us know how it goes.
Click to expand...
Click to collapse
changing those registry key will make wm to use .net 3.5 by default instead of .net 2 that's all
this is a tweak to increase speed for applications written in .net 3.5
Ok, but first, im totally newb with these things. Normally i've used phone just to talking with some1 so... what is HKML, and how to do soft reset.
Ep!cFa!L said:
Ok, but first, im totally newb with these things. Normally i've used phone just to talking with some1 so... what is HKML, and how to do soft reset.
Click to expand...
Click to collapse
i tested ifontz on my device and it's working
download this version http://thedogcorner.blogspot.com/ from what i read the cab version have some problems
softreset: you have a small button on the right side of usb port press it with the pen it have a hedphone icon over it
ah ofcourse that was softreset This seems to be difficult to prepare phone for specific progs if u have to even edit registry.
Btw i installed FinnishT9.cab but that doesnt give option 'Finnish' on lanquage list. I saw also it disabled Scandic from keypad. Uninstalling that T9 file got back Scandic. Is that also .NET framework dependent thing?
Ep!cFa!L said:
ah ofcourse that was softreset This seems to be difficult to prepare phone for specific progs if u have to even edit registry.
Btw i installed FinnishT9.cab but that doesnt give option 'Finnish' on lanquage list. I saw also it disabled Scandic from keypad. Uninstalling that T9 file got back Scandic. Is that also .NET framework dependent thing?
Click to expand...
Click to collapse
probably not
Hi...
I'm creating my own ROM. But have small problem.
My ROM is based on oficial HTC Kaiser ROM, which includes NET CF 2.0 and SQL CE 3.0.
So I decided to remove old versions of Net CF and SQL CE.
But... When I remove NetCF and SQL CE... And replace it by newest versions (both 3.5), the ROM doesn't work. When I flash it into Kaiser and turn it on, cprog.exe is crashing, Contacts and Calendar doesn't work...
I think it's caused by SQL CE 3.5... If I remove Net CF, but put back SQL CE 3.0 everithing works OK.
Can you help me with removing old SQL CE and upgrading my ROM to 3.5 version?
Hi bro,
you should better PM a cook instead of opening this thread. No offence mate but don't you think this section should not have anything else but threads of ROM. I wish you good luck for your future projects.
I am not sure if this will help but here goes anyway....
I had issues integrating .NetCF 3.5 into my custom ROM by replacing the .NetCF 2.0 that was in there by default. The ROM would build but none of the .NetCF applications would run. It turned out to be a 'module' issue with the OEM package I was using. All the OEM packages of .NetCF 3.5 I downloaded contained modules for the main .exe and some .dlls as well as just files for other .dlls. I assume this has something to do with memory locations and using modules instead of files, however I have never got my head around this
Anyway I recooked my ROM by using the extracted files from a .NetCF 3.5 .cab I downloaded and it worked. I assume there are benefits from using OEM packages that have modules instead of the files, however I couldn't find one that would work.
I also have SQLCE 3.5 integrated into my ROM.
HTH
Andy
well, as far as .NET CF 3.5 goes, I would use the OEM package here: http://rapidshare.com/files/75044332/NETCF_3.5_OEM.zip.html. It's the only one I've tried that completely works
As far as SQLCE, I use the one posted in this thread: http://forum.xda-developers.com/showthread.php?t=421821, because I use Beejive and it does not work with SQLCE 3.5
just my suggestions
good luck cooking!
I figured it out by leaving sqlcese30.sys.dll from original ROM, removed folders SqlCeMobile SqlCeMobile_Lang_* (for me SqlCeMobile_Lang_0405) and replaced them by 3.5 version. Everithing works OK now.
I started this thread because I've found many same threads here... But no solution.
N3o21 said:
I figured it out by leaving sqlcese30.sys.dll from original ROM, removed folders SqlCeMobile SqlCeMobile_Lang_* (for me SqlCeMobile_Lang_0405) and replaced them by 3.5 version. Everithing works OK now.
I started this thread because I've found many same threads here... But no solution.
Click to expand...
Click to collapse
Can you explain to me how you did it? I've got this file - NETCF_3.5_OEM.zip
And what is next?
Thank you!