Capture Uncradling of PDA During Remote Data Access

  • Thread starter Thread starter Jamie
  • Start date Start date
J

Jamie

Help!!!!

I am banging my head against a brick wall with this... if I am using RDA to
transfer data between my PDA and a remote Server and I uncradle the PDA, the
application just keeps on trying. There is no lost connection error, the
timeout on the RDA connection does not work. If I re-dock it just keeps on
trying without actually doing anything. I could leave it all day and it
would never timeout or error.

Please help!!!!!

Jamie
 
Hi,
maybe you should use
try{

}catch(SQLCeExeption e))
{}

I use this statement , and in your case I'm getting Error Message
someting like rhis: IIS Request faild;
 
There is a timeout, but the default value is quite large. I believe the
default was 5 minutes in SQL Server CE, and was reduced to 3 minutes in SQL
Server Mobile. In either case, you can specify your own timeout, in the RDA
object.
 
The timeout appears to only work on first establishing a connection. If you
already have a connection and are performing an rda pull, then you uncradled
the pda, it just hangs there. I have waited over an hour for it to timeout.
I have sqlceexception's in the catch around the code but it does not get
there.
 
Jamie,

I've got the same problem.....course even if you did set the timeout and it
worked.....if your data was increasing you'd have to constantly increase the
time out to keep from getting false timeouts when the data is actually being
transfered.....I'll be monitoring this thread with interest...

TIA
Harry
 
Thanks Arun, This is a help for the future, but unfortunately we have no
immediate plans to go to Visual Studio 2005 or SQL Server 2005.
 
Thanks Arun,

This appears to not be related to queries I'm making:
I'm using the
Dim objDA As New SqlCeDataAdapter(SQL, cnSQL)

with a CE command object and a connection object.

Can't really see where the QueryTimeout would be used....looks like it's just commected to the Replication object.



Harry
 
Back
Top