FIX: SQL Server CE Application Fails on Pocket PC 2002 Emulator on Pentium IV Processor (814851)



The information in this article applies to:

  • Microsoft SQL Server 2000 Windows CE Edition

Bug# : 5887 (SSCE)

SYMPTOMS

When you install the Microsoft Pocket PC 2002 Software Development Kit (SDK) on a Pentium IV or on a dual processor computer, and you use eMbedded Visual Basic that targets the Pocket PC 2002 emulator, you might experience the following problems:
  • The eMbedded Visual Basic applications that are downloaded to the emulator might not start automatically.
  • The eMbedded Visual Basic IDE cannot debug an eMbedded Visual Basic application that runs on the emulator.
  • While creating objects, a SQL Server CE application displays the following error message:

    ActiveX can't create object

CAUSE

The problem can occur if the Pocket PC 2002 SDK setup does not correctly register the eMbedded Visual Basic packages for the emulator.

RESOLUTION

To resolve this problem, run the FixppcvbSql.vbs script. The FixppcvbSql.vbs script re-registers the Visual Basic packages with the correct CPU level for the Pocket PC 2002 SDK.

The following file is available for download from the Microsoft Download Center:
FixppcvbSql.exe
The FixppcvbSql.exe file contains the following files:

File name Size
FixppcvbSql.vbs 7KB


For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

FixppcvbSql.exe file contains a Windows Script Host (WSH) script that re-registers the eMbedded Visual Basic packages. Run the self-extracting archive to extract the file that contains the script, and then run the script at the command prompt with the full path of the Pocket PC 2002 SDK installation location. For usage instructions, run the script at the command prompt without arguments.

Modification Type:MinorLast Reviewed:8/4/2004
Keywords:kbdownload kbSDK kberrmsg kbfix KB814851 kbAudDeveloper