This operation cannot be completed on a disconnected device.

Aug 1, 2012 at 8:08 AM

Hello there,

I still get errors like these,

A first chance exception of type 'System.InvalidOperationException' occurred in RAPI2.dll System.InvalidOperationException: This operation cannot be completed on a disconnected device. bij System.Devices.RemoteDevice.get_ISession() bij System.Devices.RemoteFile.CopyFileToDevice(RemoteDevice device, String desktopFileName, String deviceFileName, Boolean overwrite, Action`1 percentProgressCallback) bij Moxx_Mobility.Device.Devices.MoxxRapi.CopyFileToDeviceInternal(RemoteDevice dev, String localfilepath, String remotefilepath) in C:\Projects\Moxx-Mobility.Library\trunk\Moxx-Mobility.Library\Moxx-Mobility.Device\Devices\MoxxRapi.cs:line 212

It seems that the first time a device connects everything goes great, but the second time things go bad... In particular on CE devices.

Does someone experience the same problems, or already solved this?

 

Thanks in advance