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
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...
Is SQL Mobile 3.0 next version of SQL CE 2.0 ?
Is it available with SQL server 2000 ?
Thank you
o Vaquar
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...