ConnectionInterrupted problem

  • Thread starter Thread starter yves puelings
  • Start date Start date
Y

yves puelings

Hi,
I am struggling with a deployment problem for a couple of days now.
Whenever I try to deploy a VB.NET solution from VS2003 onto my Symbol
PPT8800 (CE.NET 4.1) I get following error after just after copying
the executable to the device:

Error: ConnectionInterrupted from connection object.
---------------------- Done ----------------------

Build: 1 succeeded, 0 failed, 0 skipped
Deploy: 0 succeeded, 1 failed, 0 skipped

I get this error whenever I Debug->Deploy the application.
The device is connected to my development system by means of a serial
connection. The PC is running AS 3.7.1.
Building, deploying and debugging the same solution to a CE.NET 4.1
MD40600 device works fine. This device is however USB connected.
I have tried several options such as:
-uninstalling AS 3.7 and installing 3.5
-out various TCP connection settings
-Smart device authentication identification (showed connection
problem)
-Select Windows CE device CPU
None of these seem to work. I start to get desperate since it needs to
be deployed and debugged on the PPT8800 since that has a scanner
build-in.
I have followed about any thread but have come up empty so far.
Any input in this matter is welcom.
Regards.
Yves
 
Hi Yves,

look right above the errormessage. Sometimes this error occurs, if one
or more files on the device are still writeprotected (eg. after
running the app). Try to delete the files manually. If this fails,
reset the device and then delete them manually.

Hope this helps.

Greetz

Jens
 
Thanks for input Jens.
Just above the error message there 's the name of my exe being copied. I
don't have the device at hand right now, but I will definitely try this
this evening. I did experience some problems on the MD40600 (where I did
manage to debug the application) too when trying to close down the
application.
Even though I specified the minimizebox= false, the application didn't
stop upon hitting the OK button. The form disappeared, but somehow the
debugger still indicated that the application was running, althoug it
wasn't listed in in the list of running applications.
I didn't think of both problems being related but I'll give it a try.
Thanks for the suggestion.
Yves.
 
Jens,
I followed your suggestions but still no luck.
I could remove the application and its directory without a problem,
but still got the ConnectionInterrupted error upon deploying it. I
even get the problem when I create a new solution and deploy it.
Next thing I tried was to establish a connection explicitly by hitting
the 'connect to device' button in the toolbar. It established a
connection but as soon as I deploy the application it reports
following error and the deployment fails.

Error: The operation could not be completed

I'm open for any suggestion.
Regards.
Yves
 
Yves,

strange thing that, but i also had this Problems with a Symboldevice.
Are you sure, that you can access the device via activesync? I mean
using the explorer on its filesystem? If this wont work, try to use a
different version of activesync. What kind of connection do you have
to the device? Serialcable, USB, infrared, ...?

Try to disable all the other conectiontypes to the device other that
the one you are actually using.

If nothing else helps try nevertheless to install an other version of
activesync.

Sorry that i cant give you more help on this.

Greetz

Jens
 
Hi Jens,
Many thanks for your support.
Are you sure, that you can access the device via activesync? I mean
using the explorer on its filesystem?

Yes, I can connect to the device by means of ActiveSync and use the
'Mobile Device' entry to explore it. I took a small application, let it
create a cab file, installed it on the device, and it showed up.
If this wont work, try to use a different version of activesync.

I also uninstalled my AS 3.7.1 and installed 3.5. This didn't fix the
'ConnectionInterrupted' error either.
I noticed in some discussion threads that moving to a full partnership
in stead of a guest worked for some people, but not for me since the
device is not connected as a guest.
What kind of connection do you have to the device? Serialcable, USB,
infrared, ...?

The connection I use with the Symbol device is serial cable.
The connection on the MD40600 (the one that can deploy and debug) is a
USB one.
Try to disable all the other conectiontypes to the device other that
the one you are actually using.

Do you mean unchecking all the AS connection settings on the host PC,
except for the COM ones?

I have an iPAQ 3630 also with a serial connection to the craddle. It 's
just a PPC, but I'll try to deploy something on it, just to find out if
the PPT8800 is the problem, or the host side. Maybe another approach
could also be to use eVB or eVC++ to debug a dummy application on the
Symbol PPT8800. Is this going to get me any closer to a solution, which
still is deploying an debugging in VS2003 on the PPT8800 (with scanner)?

Any feedback is welcome.
Regards.
Yves.
 
Hi Yves,

yes, i mean unchecking all the other connectiontypes, like USB and
Network (as far as you using serial-com-port).

Have you tried to deploy the app with the Release-Setting instead of the
Debug-Setting? Just to test if it is the connection/device in general.

But as you see, ill reach my limits in supporting you now. If all this
doesnt work, i dont know any further hints. Sorry pal...

Greetz

Jens
 
Jens,
unchecked all other connection types... same problem persists.
Deploying the release compiled version also comes up with the same
problem.
I just tried hooking up a PocketPC device with a serial connection.
This works.
This means that there is either a problem in the communication
protocol to the .NET device (since PPC works with serial AS
connection), or a problem in the Symbol device.
Anybody any hints what to look for? I'll try to hook up the device to
another VS2003 development system to rule out the possibility that
there 's something wrong with my system.
Anyhow, again thanks for trying to help me out Jens.
Regards.
Yves
 
Hi Yves,

Have you run the Select Windows CE CPU tool on your Visual Studio machine?
If you haven't, please download Windows CE Utilities for Visual Studio .NET
2003 Add-on Pack from http://msdn.microsoft.com/mobility/downloads and run
the tool. Then restart Visual Studio .NET and try your scenario.

Thanks,
Ximing
 
Hi Ximing,
thanks for participating.
I previously downloaded and ran the Windows CE CPU picker, selected
ARMV4T (the Symbol PPT8800 has an Intel X processor) but that didn't fix
the problem. I'll double check this. Maybe I forget to relauch the
VS2003. I'll get back with the results.
Thanks.
Yves
 
Great, it works!! I guess that the problem was I hadn't relaunched
VS2003. Don't yet know if I will need to redo this every time I launch
VS2003, I mean running the tool and closing and starting VS, but I 'll
figure out next time.
Anyhow, many thanks to you guys, Jens and Ximing for supporting me.
Thanks a lot.
Kind regards.
Yves
 
Good to know the problem is solved. When you somehow have changed your VS
device configurations by say installing a new Pocket PC SDK, you may have
to run the tool again. Otherwise you do not need to run it any more.

Ximing
--------------------
| From: (e-mail address removed) (yves puelings)
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Subject: Re: ConnectionInterrupted problem
| Date: 13 May 2004 00:31:01 -0700
| Organization: http://groups.google.com
| Lines: 8
| Message-ID: <[email protected]>
| References: <[email protected]>
<#[email protected]>
| NNTP-Posting-Host: 193.121.76.2
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1084433462 23056 127.0.0.1 (13 May 2004
07:31:02 GMT)
| X-Complaints-To: (e-mail address removed)
| NNTP-Posting-Date: Thu, 13 May 2004 07:31:02 +0000 (UTC)
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!
news.maxwell.syr.edu!postnews1.google.com!not-for-mail
| Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.compactframework:53070
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Great, it works!! I guess that the problem was I hadn't relaunched
| VS2003. Don't yet know if I will need to redo this every time I launch
| VS2003, I mean running the tool and closing and starting VS, but I 'll
| figure out next time.
| Anyhow, many thanks to you guys, Jens and Ximing for supporting me.
| Thanks a lot.
| Kind regards.
| Yves
|
 
Back
Top