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

Article translations Article translations
Article ID: 254133 - View products that this article applies to.
This article was previously published under Q254133
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

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.

Properties

Article ID: 254133 - Last Review: October 20, 2013 - Revision: 1.1
APPLIES TO
  • Microsoft COM+ 1.0
Keywords: 
kbnosurvey kbarchive kbhotfixserver kbqfe kbbug kberrmsg kbfix kbsysadmin kbwin2000presp2fix KB254133

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com