I have an Intermec barcode scanner and develop an app. I create CAB and install it on the device. After the scan an SQL query is to be started. But the inquiries lasts very slowly 1-5 sec. SELECT query to 2 sec, UPDATE to 5 sec.

Database on the SQL Server 2008, Wifi network , windows mobile 6.5 prof., C#, .net cf 3.5.

But when I connect the Intermec device via dock directly to PC (LAN network) and start debug direct from VS2008, the query is executed in less