Hi. I've got my hands on an ebox II and I've just started looking into smart devices/windows ce/embedded.
I don't know if this is the place to ask a question about ebox, but I'm having trouble deploying Visual Studio .NET 2005 to the ebox (which is running Windows CE 5.0 - the evaluation version). I can't make ActiveSync work with the ebox through the serial port (it just doesn't detect the device, which I've imaged with ActiveSync support in PlatformBuilder), so I guess the only way I can make it work is through the ethernet connection.
I found one article that describes how to make the ebox work with Visual Studio, but it talks about VS.NET 2003, and things are a bit different. I even tried it that way (the exes that I was missing for 2005 I tried to substitute from 2003). It looked like it got conman application running. I wrote a simple Hello World application, I modified my Windows CE 5.0 device settings (with the ebox's ip) and I hit deploy. I got "Error 1 Connect to device failed. Conman HelpText System".
Does anyone know how to fix this Did anyone attempt VS.NET 2005 and ebox
I would appreciate any kind of help.
Thanks,
Tibs
PS For those of you who are interested in making VS.NET 2003 work with the ebox, the link is http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnembedded/html/embedded04012003.asp

eboxII and Visual Studio .NET 2005
InGyu Jeon
siphonalfusion
That is known to work if procedure is followed exactly and connection is made promptly.
If that’s the case, the only reason it won’t work I could think of are missing dependencies in the OS image. Do you see any suspicious messages in PB output
Fadi Toutayo
Ok...this is what I did for 4 hours yesterday:
1. uninstall .NET CF 1.0 (I have .NET 2003 and 2005 on my computer) and uninstall .NET CF 2.0
2. re-install .NET CF 2.0
3. re-image & re-deploy: still gave me the same error message
4. checked the catalog of the image and noticed that under the user end applications directory, I had the .NET CF 1.0. Only the .NET CF 1.0 was available in the PB catalog. I thought since I just downloaded WinCE 5.0 PB from the MS site, it would be equipped with .NET CF 2.0.
5. downloaded the PB yearly update 2005 and the PB january 2006 update.
6. re-created an image; this time both .NET CF1.0 and .NET CF 2.0 were in the PB catalog. I've added both to the image and built the image.
7. my wince device just froze after this image (with .NET CF 1.0 and .NET CF 2.0) was downloaded into it.
8. re-created image for debugging (previously was release). The ebox was still frozen.
9. went back to my first, original image (with .NET CF 1.0), I removed the .NET CF 1.0 from the catalog, I've added the .NET CF 2.0, re-built. Things were looking better, but now, I got the following error:
Deploying 'C:\Documents and Settings\Tiberiu\My Documents\Visual Studio 2005
\Projects\HelloCF\HelloCF\bin\Debug\HelloCF.exe'
Deploying 'C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0
\windowsce\diagnostics\System_SR_enu.cab'
Apparently, VS couldn't find this cab file. I ran out of time last night, so I'll have another go at it tonight. Is this another item that I missed adding from the catalog If yes, then which one it is Any other suggestions
Also, the reason from which I'm doing all this is because I'm trying to get a project written in VS.NET 2005 (2.0) ported to the compactframework that would run on a wince device. The only special thing about my application (that runs well on XP) is that it deals with the SerialPort class of the new 2.0 framework. I was able to create a wince device project in VS.NET 2005, port my code and successfully re-compile. I'm still not sure if the application will actually run on the wince device (that is equipped with a serial port). All I'm trying to do is find out if this is possible but I'm having so much trouble deploying a Hello World application. Do you have any thoughts on this Do you know if anyone has attempted something like this
Thanks
Tiberiu
Moreno
Thanks for the answer. I actually continued the deployment (with this error) and the application did launch!!! The VS 2005 was a clean install; however I do have VS 2003 installed (I only uninstalled the .NET CF 1.0).
My serial port application is running kinda sluggish, but it is running!!!
Thanks,
Tiberiu
CnoEvil
This CAB is optional; you can install it manually if needed. Were your application deployed Was it started If not, can you start it manually from file explorer
From your description it looks like your installation of VS 2005 is corrupted. Was it an update from Beta If so, was beta uninstalled properly
Yes, deployment to x86 devices running CE works for me (though it's not eBoxII but generic CEPC).
kbailey
So, you've got device connected, but VS won't deploy the CAB for some reason, is that right That might be if you had previous version which was not uninstalled properly. The path looks a bit off to me, default folder is %ProgramFiles%\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\wce500\x86. I would say you have some installation issues.
Anyway, please try installing CAB manually. Or, you can add NETCF V2 to the OS image since you're using PB: http://blogs.msdn.com/mikehall/archive/2005/10/28/486358.aspx
Remco Jorna
Hi Ilya. Thank you kindly for your answer.
I did check the dependencies in the OS image and it looked like I had the right stuff. I did not see any suspicious messages in the PB output, except that error message.
What I did is install VS.NET 2005 on my laptop (until now I was running VS.NET 2005 beta 2 on my desktop) and I'm not getting that error anymore! However, I'm getting another error:
Deploying 'C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\windowsce\wce500\x86\NETCFV2.wce5.x86.cab'
The system cannot find the file specified.
I checked and the cab file specified exists at that location. I understand from your blog that the cab file is the compact framework classes for the X86 architecture; so I tried uninstalling the CF2.0 and installing it again (a fresh copy from the MS site). It still didn't work... I don't know what to do now. Do you have any suggestions
Thanks,
Tiberiu
ramprasad62406
Hi. I've followed the article, but I still can't get it to work. I run the conmanclient2.exe and maccept.exe on the device, I configure the Device Settings with the ebox's IP and I still get the same error.
I can ping the ebox from my desktop. I don't know how else to debug this... Does anyone have any suggestions
Thanks
Tibs
Colin1111
If this eboxII is a device running Windows CE 5.0, you can use VS 2005 to develop for it. To connect to CE 5.0 device without AS the following procedure can be used:
http://blogs.msdn.com/vsdteam/archive/2005/01/05/347332.aspx
gundulf
Try adding the catalog component CAB File Installer/Uninstaller to your workspace.
Make sure that you have NETCFV2.wce5.x86.cab in the following folder
\\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\windowsce\wce500\x86\
iq662000
VS 2003 is side by side with VS 2005, so that should not matter. NETCF V1 you've uninstalled - it's not a part of VS 2003 for sure as VS 2003 contains NETCF V1 bits within itself. It was either end user redist or it was a part of VS 2005 (it supports NETCF V1 projects as well).