Question

I used WCF to put up xml data to be downloaded on my pocket pc - wm 5.0. I'm on testing stage so I am using usa windows mobile 5.0 pocket pc r2 emulator. Unfortunately, data wouldn't show up on the browser of the emulator. Error says, 'The file 'xxxx' cannot be opened. Either it is not signed with a trusted certificate or one of its components cannot be found...'

Please help me. I've been looking for answers for 2 months now. Here is the screenshot of the emulator:

enter image description here

and here is the screenshot of the xml file:

enter image description here

Was it helpful?

Solution

The error message you mentioned is launched if the OS tries to start an executable and either of the following issue occurs:

  1. you are trying to run an unsigned app on a system which requires signed executables
  2. the executable was written for a different processor
  3. the executale references runtime library (DLL) that is not available or cannot be loaded

When you try to open a xml file within Internet Explorer Mobile, it should normally load. AFAIK only msxml and related DLLs are invoked and are available on the WM5 emulator.

There is one or more registry setting that may affect xml loading, but a WM5 emulator started from scratch (reset state) should work.

Can you post screen shots and the xml file?

The problem is with the html web reference. Although a PC web browser is capable of doing some intelligent stuff and perform the right action by just parsing the first line(s) of the references file named "codes", a windows mobile device only knows what to do with files by there mime type. This Mime type is mostly de-referenced using the the extension of the file. As the file "codes" does not have an extension, the IE mobile browser does not know what to do with the file and brings an error message. If you just use a file named "codes.xml" IE mobile is able to interpret it and shows a parsed xml file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top