Microsoft KB Archive/254133

= FIX: Major Version of Type Library Causes Export Application Proxy to Fail =

Article ID: 254133

Article Last Modified on 9/26/2005

-

APPLIES TO


 * Microsoft COM+ 1.0

-



This article was previously published under Q254133



SYMPTOMS
If a component's type library has a major version number that is larger than 127, and this component is installed in a COM+ application, then when you try to export this application as an "application proxy," you may receive the following error message:

Export Application :

Error occurred writing to the application file. Either the path cannot be accessed or an existing file cannot be overwritten. Make sure you entered the full path for the application definition file. The application was not exported.

When Admin SDK is used to export this application as an "application Proxy," error "80110407" is returned.

NOTE: You can export this application as a "server Application" without any errors.



CAUSE
Microsoft Windows Installer (MSI) defines the type library's version as follows:

The major and minor versions are encoded in the two-byte integer with the minor version in the lower eight bits and the major version in the upper eight bits.

This is too small for the actual type library version numbers, which are two-byte integers for major and minor versions.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

The English version of this fix should have the following file attributes or later:

  Date       Time     Version      Size       File name    Platform -  7/18/2000  08:01p   1.11.1820    1,780,496  msi.dll      x86

If you do not want to install this hotfix, a workaround for this problem is to regenerate the type library with a version number that is not greater than 127.

You can change the version number of the type library in the IDL file and recompile it.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 2.

Additional query words: typelib typelibrary tlb

Keywords: kberrmsg kbbug kbfix kbwin2000presp2fix kbqfe kbsysadmin kbhotfixserver KB254133

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.