Active Sync 4.0

G

Guest

I have just installed Visual Studio 2005 and am having a problem deploying an
application to a Windows CE device. I am using Active Sync 4.0 and am on a
local network, but cannot deploy my application. I have tried to establish a
connection to my device using Active Sync directly and was unsuccessful there
also. (I was hoping that I could establish a connection over the network.)
Previously, I was using Visual Studio 2003 with the Smart Device
Authentication Utility (which appears to not be present in 2005) and that
worked fine. My Windows CE device is NOT a pocket PC or SmartPhone. It is a
generic device. Also, it appears that I have no emulation support for a
generic WinCE device in VS 2005. Is that possible?

Thanks,
 
P

Paul G. Tobey [eMVP]

It's a Windows CE device running what version of Windows CE? 4.2 won't
work. It's not supported.

Paul T.
 
G

Guest

Paul,

I am running WinCE 5.0 and to the best of my knowledge have gotten all the
latest updates especially for the .NET 2.0 libraries. I don't know if this
complicates matters, but I am trying to deploy a "Hello World" application
after I have downloaded a Debug OS via Platform Builder (which also has all
the .NET 2.0 stuff). As I mentioned, I didn't have any problem doing this w/
VS 2003 when using the Smart Device Authenticaiton Utility. It may be that I
just don't know how to use Active Sync via the Network. At first glance, I
wondered whether or not you could use Active Sync any way other than via a
COM or USB port, although I suspect that's not the case. Also,when I use
Platform Builder, I am including the Catalog item for Active Sync. (I guess
that there is no Smart Device Authentication Utility for VS 2005?)

Thanks,
 
P

Paul G. Tobey [eMVP]

Not sure about the SDU in CE 5, but I'll look. No, there's no support for
network sync any more in AS4. It was deemed a security risk. I think that
the SDU scheme should still work, since that's not dependent on ActiveSync,
but whether the components are actually available or not, I don't know.

Paul T.
 
I

Ilya Tumanov [MS]

Procedure to connect/debug on devices in VS 2005 without AS is here:
http://blogs.msdn.com/vsdteam/archive/2005/01/05/347332.aspx



Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
G

Guest

Paul,

Thanks for your responses. Essentially what I am trying to do is deploy an
app to my WinCE device. (I really don't need Syncing support.) It sounds
like I'm forced to deploy either via USB or COM port. The problem that I am
having is how to do this. When I download my Debug version of myOS via
Platform Builder and try to connect or deploy via Active Sync, I get an error
that says that either my device is not properly connected or my device is not
a Smartphone or PocketPC. I am connected via a serial port but it is true
that my device is NOT a PocketPC or Smartphone. It is an AMD Geode board
that I am trying to develop a WinCE OS for. I notice that there is Debug
info that is sent over the serial port that I can view w/ HyperTerminal when
I download the WinCE OS via Platform builder. Is is possible that this is
preventing the connection using Active Sync? If it is, can I turn this Debug
port off? I do have a USB port on my WinCE device. If I have to use this,
could I use it as a USB client? I have tried to look for the SDU for .NET
2.0, but I don't think that it's out there.

Thanks,
 
P

Paul G. Tobey [eMVP]

As you see from Ilya's response, you can use the Smart Device
Authentication, etc. programs to connect over the network. That's probably
the easiest.

Yes, if you have a USB device port on your device, you can set things up so
that, when you plug it into your PC, it connects via ActiveSync. Refer to
the microsoft.public.windowsce.platbuilder group for past experiences on
that subject.

If you are trying to use the same serial port for debug messages from
Windows CE and for ActiveSync, yes, that's a serious problem. How you turn
off debug messages, exactly, depends on the BSP for your board, so I can't
answer that definitively. Consult the docs for the board support package
for how to accomplish that. If you have a second serial port, you could use
that for ActiveSync. I've covered how to set that up before in the
..platbuilder group.

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top