Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CE.net Connection ISSUE

Status
Not open for further replies.

roccorocks

Programmer
Nov 26, 2002
248
US
This could be in multiple forums, but I am posting it here. The problem I am having is that when I try to connect to my local intranet connection (SQL Server), it takes 3 failed attempts before I actually connect to SQL and can pull information. It is always 3 failed attempts. For each attempt that fails, I get the "SQL Server does not exist or access denied" error. Once connected, data is easily pulled. The amount of time that I do not recieve the error message is about 2 minutes (from when connected and attempt to connect multi times in this time frame). After 2 minutes, the errors will show again (all 3). This would get old for users, since I am using the device for barcoding.

I am using C#.net for programming the CE.net mobile. Could it be a limitation of the CE.net libraries? Does anyone have programming experience with CE.net? All the tests I have through a NON-Mobile application seem to work fine. One thing I have noticed is that a ping request of my device address takes a lot longer than pinging another workstation on our network.

Just FYI, the device is a MC3000 wireless mobile computer running CE.net 4.2. I am using a Symbol Spectrum24 Access point.

Thanks,

Rocco
 
Anyone have information on this yet? I really need this to move forward with an application.

Thanks,

Rocco
 
1)Try to set Timeout in the connection string:
Connect Timeout=180
2)If you are using TransactionAttribute try to set Timeout for there.
obislavu
 
obislavu, I have messed with the connection timeout more than I would like to explain. Adjusting (up/down) does not make a difference with the issue I am having (just increases/decreases the amount of time I gotta sit and wait). It is a very strange problem that I have not seen b4. When I do the exact same thing in a non-mobile device, I dont have any issues (always connect the first try).

Thanks for your suggestion,

Rocco
 
Just an update on this. It seems to be an issue with the emulator. I have not had any connectivity issues on the actual device!

Thanks,

rocco
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top