PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Connect to server in emulator
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Connect to server in emulator
![]() |
Connect to server in emulator |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I'm establishing a connection to a sql server. When it runs on my
handheld, the connection is established quickly (very fast). But when run under the emulator it takes a loooong time, the very first connection. It also errors out with 'server not found or access denied'. The second, third, etc time is very fast - so long as I don't wait too long between attempts (15 or so minutes). Strange thing too, the error I get is not true. I removed the try block as a test, and the connection failed (threw the message), but the attempt to use the connection further down in my code to access data proved fine. The connection was fine. Then why did it throw the error?? And whats happening that the connection takes about 15 minutes to establish (even tho it throws the error) the first attempt, but no time at all in successive attempts? ALSO, is there any way to cancel a connection while its attempting to open?? Thanks! |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

