Article ID: 945371 - Last Review: December 12, 2007 - Revision: 1.2 Exception error message when you use Visual Studio 2008 to deploy a SQL Client-based application to a mobile device or to an emulator: "Missing method Exception"On This PageSYMPTOMSConsider the following scenario.
Missing method Exception
{"Can't find PInvoke DLL 'dbnetlib.dll'."} CAUSEThis problem occurs because Visual Studio 2008 is installed side by side with Visual Studio 2005. In the side-by-side installation of Visual Studio 2008, the SQL Client CAB files that are used for installing SQL Clients on mobile devices point to the SQL Client CAB files of Visual Studio 2005. Notes
RESOLUTIONTo resolve this problem, reinstall SQL Server Compact 3.5
Design Tools. To do this, run the following file on the Visual Studio 2008
installation
DVD or CD: VSTS\WCU\SSCE\SSCEVSTools-Language.msi Note Language
represents the language of Visual Studio 2008.MORE INFORMATIONSteps to reproduce the behavior
APPLIES TO
| Article Translations
|
Back to the top
