Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RDA pull timeout

20 views
Skip to first unread message

Vaquar

unread,
Oct 27, 2005, 6:38:04 PM10/27/05
to
SQL CE Gurus,

While any RDA commands (Pull/Push/SubmitSQL) are getting data from server,
and I pulled out the unit from cradle, I should get network error.
In the code I am trapping these errors :-
// 0x80072ee1 0x80072f19
HRESULT hr = m_CERDA->Pull(lclData, srcQuery, srcConnection, TRACKINGOFF,
errTable);
if ((hr >= 2147954401) && (hr <= 2147954457))
{
// notify user
}
If network is unavailable before any RDA function is called, then I get this
error within minute.
But if network is unavailable during RDA call, then it gives error exactly
after 1 hour.
Why does it takes an hour ? Can I control it ?

I tried "connect timeout=1" and "30" and w/o it as well. But same result.

Any idea to fix this situation.

Thanks


Laxmi Narsimha Rao ORUGANTI (MSFT)

unread,
Nov 3, 2005, 3:20:10 AM11/3/05
to
Are you using SQL CE 2.0 or SQL Mobile 3.0?

If SQL Mobile 3.0, did you try using these two?

ConnectionRetryTimeout
QueryTimeout

Thanks,
--
Laxmi NRO, SQL Mobile, Microsoft Design Engineer
This posting is provided "AS IS" with no warranties, and confers no rights.


"Vaquar" <Vaq...@discussions.microsoft.com> wrote in message
news:8732BE1F-73CB-46F8...@microsoft.com...

Vaquar

unread,
Nov 5, 2005, 11:14:03 AM11/5/05
to
I am using SQL CE 2.0 and eVC++4.0.
Does this mean there is no control in SQL CE 2.0 ?

Is SQL Mobile 3.0 next version of SQL CE 2.0 ?
Is it available with SQL server 2000 ?

Thank you

o Vaquar

Laxmi Narsimha Rao ORUGANTI (MSFT)

unread,
Nov 8, 2005, 5:21:12 AM11/8/05
to
QueryTimeout is available in SQL CE 2.0 also.

SQL Mobile 3.0 is next version of SQL CE 2.0
SQL Mobile 3.0 is available with SQL Server 2005, Visual Studio 2005.
It will also be available soon as free web download (with an End User
License Agreement) meant for devices.
If you want to use SQL Mobile for devices, then there are no restrictions.

Thanks,
--
Laxmi NRO, SQL Mobile, Microsoft Design Engineer
This posting is provided "AS IS" with no warranties, and confers no rights.


"Vaquar" <Vaq...@discussions.microsoft.com> wrote in message

news:C343A054-A368-4904...@microsoft.com...

0 new messages