Select the product you need help with
A smart device application cannot be started on an emulator or on a mobile device if you develop the application on a computer that has Visual Studio 2008 and Visual Studio 2005 installedArticle ID: 945316 - View products that this article applies to. On This PageSYMPTOMSYou develop a smart device application on a computer that has Microsoft Visual Studio 2008 and Microsoft Visual Studio 2005 installed. If you deploy the smart device application to an emulator or to a mobile device, the application cannot be started on the emulator or on the mobile device. This problem occurs if the application is based on the Microsoft .NET Compact Framework 3.5 and on the SQL Client for mobile devices (System.Data.SqlClient.dll). This problem does not occur if the application is based on the Microsoft .NET Compact Framework 2.0 and on the SQL Client for mobile devices. CAUSEThis problem occurs because the SQL Client for mobile devices is not deployed to the emulator or to the mobile device. WORKAROUNDTo work around this problem, manually deploy the SQL Client to the emulator or to the mobile device. To manually deploy the SQL Client, use the following .cab files:
Collapse this table
%Program Files%\Microsoft SQL Server Compact Edition\v3.5\Devices\Client\platform\processor Note The .cab files and .dll files in the following folder are also used to install the SQL Client for mobile devices on Windows CE 6.0 devices and to install the SQL Client for Windows Mobile 6.0 devices:%Program Files%\Microsoft SQL Server Compact Edition\v3.5\Devices\wce500 To deploy the System.Data.SqlClient.dll file by using Visual Studio 2008, copy the files and folder for the SQL Client for mobile devices as follows.Collapse this table
MORE INFORMATIONSteps to reproduce the problem
PropertiesArticle ID: 945316 - Last Review: November 27, 2007 - Revision: 1.2 APPLIES TO
|


Back to the top








