FIX: SQL Server Mobile components do not appear in the catalog in Platform Builder 5.0 (918066)



The information in this article applies to:

  • Microsoft Windows CE Platform Builder 5.0

SYMPTOMS

When you are using Microsoft Windows CE Platform Builder 5.0, Microsoft SQL Server 2005 Mobile Edition (SQL Server Mobile) components do not appear in the catalog.

CAUSE

This problem occurs because the SQL Server Mobile components are not integrated with Platform Builder 5.0.
A supported software update to resolve this issue is now available from Microsoft.

For more information about how to obtain Windows CE Platform Builder and core operating system software updates, click the following article number to view the article in the Microsoft Knowledge Base:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Instructions to apply the software update

To apply this software update for Platform Builder 5.0, follow these steps:
  1. Close Platform Builder 5.0.
  2. Run the software update package.
  3. Run Platform Builder 5.0, and add the new SQL Mobile catalog item to your workspace.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

The SQL Server Mobile software update for Platform Builder 5.0 provides SQL Server Mobile functionality in a new catalog item, SQL Mobile. The SQL Mobile catalog item is in the Application and Services Development node, next to the SQL Server CE 2.0 catalog item. These catalog items are mutually exclusive. You cannot use items from the SQL Mobile catalog and the SQL Server CE 2.0 catalog in the same project. If you want to develop SQL Server Mobile applications, you must use Microsoft Visual Studio 2005.

The SQL Mobile catalog item group contains the following items:
  • SQL Mobile
    This catalog item corresponds to the SQL Server Mobile native components for Windows CE 5.0. When you select this item, you can run native C++ applications (OLEDB) on the destination Windows CE custom device board.
  • SQL Mobile .Net 2.0 Data Provider
    This catalog item corresponds to the System.Data.Sqlserverce managed data provider for the Microsoft .NET Compact Framework version 2.0. When you select this item, you can run managed C# or Microsoft Visual Basic .NET applications by using the System.Data.Sqlserverce namespace. This catalog item adds SQL Server Mobile native components and the .NET Compact Framework 2.0 to the destination Windows CE 5.0 image.
  • SQL Server .Net 2.0 Data Provider
    This catalog item corresponds to the System.Data.SqlClient managed data provider of the .NET Compact Framework 2.0. When you select this item, you can run managed C# or Visual Basic .NET applications by using the System.Data.SqlClient namespace. This catalog item adds .NET Compact Framework 2.0 to the destination Windows CE 5.0 image.
You have to install .NET Compact Framework 2.0 update for Platform Builder 5.0 to enable support for SQL Mobile .NET 2.0 Data Provider and SQL Server .NET 2.0 Data Provider.

For more information about the .NET Compact Framework 2.0 update, click the following article number to view the article in the Microsoft Knowledge Base:

904260 A software update is available that adds the .NET Compact Framework 2.0 Catalog item to Windows CE Platform Builder 5.0

You may receive the following warning messages when you build a Windows CE 5.0 image by using SQL Server Mobile:Warning: No .rel file found for module sqlcecompact30.dll, using old fixup style.
Warning: No .rel file found for module dbnetlib.dll, using old fixup style. You can safely ignore these warning messages. This software update is based on the release version of SQL Server Mobile. Therefore, the .rel files for SQLCECompact30.dll and DBNetlib.dll are not included in this software update.

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MajorLast Reviewed:7/27/2006
Keywords:kbExpertiseAdvanced kbQFE kbpubtypekc KB918066 kbAudDeveloper kbAudITPRO