Cannot install SDK certificates to WM5 phone

Hi

I have a WM5 Qtek 8310 and VS 2005 and installed the SDK tools for it.

However I cannot install the SdkCerts.cab into the phone. It says that the installation failed due to not enough system permissions.

Also I cannot deploy a small HELLO app from VS2005. The app is signed with the SDK unprivelidged certificate.

Error msg from VS2005:

The device security configuration disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your SDK documentation for proper security settings for connecting to this device. Device Connectivity Component

I have also tried with rapiconfig, but it also cannot connect.

All remote CE tools does not work.

When deploying to a WM5 PDA phone there is no problems..

My mobile operator and the shop where I bought the device knows nothing about the above and says that it is a Windows problem.

What do I do ?

Can anyone please help ?

Why should it be so difficult to get up developing on a Windows phone compared to a Symbian ? Just wondering........

[1179 byte] By [perboddum] at [2007-12-23]
# 1

Hi Per,

I have the same phone and same problem in Visual Studio 2005. I was able to find a blog with a solution for the problem:

http://blogs.conchango.com/stuartpreston/archive/2005/11/10/2376.aspx

However, I ran into another problem once the application was deployed on the smartphone. My Qtek 8310 came with .Net Compact Framework 1.0 SP3 (version 1.0.4292) installed and Visual Studio 2005 uses .Net Compact Framework 2.0.

In order to check your current version (on the Smartphone) of .Net Compact Framework run CGACUTIL.exe in windows folder on Smartphone (need to enable 'show files on ROM' in the explorer settings in order to see the CGACUTIL.exe).

I was able to upgrade the .Net Compact Framework on the Qtek 8310 by reinstalling .Net Compact Framework 2.0 on my computer while my Smartphone was connected to activesync. This also started a .Net Compact Framework 2.0 installation on the Smartphone. After the installation was complete a reboot was needed and viola - both .Net Compact Framework 1.0 SP3 and 2.0 were installed on the phone.

Link to .Net Compact Framework 2.0 installer: http://www.microsoft.com/downloads/details.aspx?FamilyID=9655156b-356b-4a2c-857c-e62f50ae9a55&displaylang=en

After this rather complicated operation (editing registry, installing certs and upgrading .Net CF) I was able to connect to and deploy applications on my Qtek 8310 using Visual Studio 2005 with no further problems.

Finally, I just want to add that I can highly recommend the Qtek 8310 Smartphone - it is simply the most brilliant gadget I ever owned! Of course, Windows Mobile 5.0 takes a lot of the credit for this

Best regards and happy 2006,

Niels Arnth-Jensen

NielsA-J at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 2

Hi Niels

I have just followed your very fine description.

And it happend to work....

Now I can deploy signed apps. from VS 2005... Great.....

Everything now works, also the CE remote tools.

I cannot thank you enough for helping through this...Thanks very much

I agree with you that the Qtek 8310 is a very neat device and the performance on it is good.

Best regards

Per Andersen,

DK

perboddum at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 3

I'm glad to hear it also worked for you!

Have fun developing for your Qtek 8310!

\Niels Arnth-Jensen

NielsA-J at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 4
Hi Niels

On my Qtek 8310 I'm not able to run CGACUTIL.exe. It hangs on start

time. Secondly I miss the rapiconfig utility, the blog you mentioned

recommends to start. And finally I'm not able to edit the values in

HKLM\Security\Policies\Policies\

Why was you able to do these actions?

Rgards, Peter Addor

addor at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 5

Hi Peter,

With the default settings my Qtek 8310 arrived with, I was able to do the following:

1. Installing RegEditSTG: http://blogs.conchango.com/stuartpreston/files/regeditSTG.zip

2. In RegEditSTG modify the following keys in HKLM\Security\Policies\Policies\ :

Change "00001001" value to 1 (decimal) (recovery note: default is 2)
Change "00001005" value to 40 (decimal) (recovery note: default is 16)

(to modify keys: Click "Values" soft-key in HKLM\Security\Policies\Policies\ folder and press down the joystick on the key you want to modify)

3. Installing SdkCerts.cab file in the SDK

At this point you should be able to deploy applications to your Qtek 8310. However, you will get an error when running the application on the device if you have the wrong version of .Net Compact Framework installed.

Don't worry about checking your version in CGACUTIL.exe. If you are not able at this point to run your application on the device because of .Net Compact Framework version conflicts install the following version of the .Net Conpact Framework on your computer while your Qtek 8310 is connected in active sync:

Link to .Net Compact Framework 2.0 installer: http://www.microsoft.com/downloads/details.aspx?FamilyID=9655156b-356b-4a2c-857c-e62f50ae9a55&displaylang=en

I hope this was a help to you.

Best regards,

Niels Arnth-Jensen

NielsA-J at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 6

Quick update:

.Net Compact Framework 2.0 SP1 has now been released and can be downloaded here:

http://www.microsoft.com/downloads/details.aspx?FamilyID=0c1b0a88-59e2-4eba-a70e-4cd851c5fcc4&displaylang=en

The new .Net Compact Framework 2.0 SP1 will now install to the storage card of the mobile device only taking up around 1 mb on the device ram (instead of 4-5 mb with the old version). Because 4 mb of free ram is needed for mms communication the freedup ram quickly comes in handy!

NielsA-J at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices General...