RE: Sqlce push/pull timeout over GPRS
From: Brad Syputa - MS (bradsy_at_Online.Microsoft.com)
Date: 04/04/04
- Previous message: Brad Syputa - MS: "RE: Fips encryption"
- In reply to: Simon: "Sqlce push/pull timeout over GPRS"
- Next in thread: Simon: "Re: Sqlce push/pull timeout over GPRS"
- Reply: Simon: "Re: Sqlce push/pull timeout over GPRS"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 04 Apr 2004 22:26:44 GMT
For RDA, Command Timeout is not a parameter that will be used. There is no
easily effective way to halt the RDA sync short of reseting the device
(from my experience). Once it starts, it will make all attempts possible to
finish the Push or Pull. If the connection is lost, it will timeout looking
for the IIS Server after about 2 minutes.
--------------------
| Reply-To: "Simon" <info@geoaps.com>
| From: "Simon" <info@geoaps.com>
| Subject: Sqlce push/pull timeout over GPRS
| Date: Fri, 2 Apr 2004 21:54:35 +0100
| Lines: 27
| Organization: geoaps
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <usQB2SPGEHA.3096@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.ce
| NNTP-Posting-Host: 82-34-88-31.cable.ubr05.gill.blueyonder.co.uk
82.34.88.31
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.ce:11847
| X-Tomcat-NG: microsoft.public.sqlserver.ce
|
| Hello,
|
| I am using sqlce to push/pull data over gprs. The same transaction can
take
| from 2 seconds up to 5 or 6 minutes depending upon (I suppose) the GPRS
| connection. I have tried to set the timeout on the connection and the
| command to 30 seconds using the code shown below. Neither method seems to
| work. This is causing problems because the pocket pc is locked up for as
| long as the data transfer takes.
|
| Dim rdaOleDbConnectString As String =
| "Provider=SQLOLEDB.1;Password=pwrd;Persist Security Info=True;User
| ID=Usid;Initial Catalog=SD_Dbase;Data Source=123.123.123.123; Connection
| Timeout=30"
| Dim rdaOleDbConnectString As String =
| "Provider=SQLOLEDB.1;Password=pwrd;Persist Security Info=True;User
| ID=Usid;Initial Catalog=SD_Dbase;Data Source=123.123.123.123; Command
| Timeout=30"
|
| Neither of the above seem to actually timeout and stop the transmission if
| it has not connected or completed in 30 seconds, does anyone know if the
| command format is wrong or any other ideas?
|
| Thanks
|
| Simon
|
|
|
- Previous message: Brad Syputa - MS: "RE: Fips encryption"
- In reply to: Simon: "Sqlce push/pull timeout over GPRS"
- Next in thread: Simon: "Re: Sqlce push/pull timeout over GPRS"
- Reply: Simon: "Re: Sqlce push/pull timeout over GPRS"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|