FIX: Major Version of Type Library Causes Export Application Proxy to Fail (254133)
The information in this article applies to:
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.
RESOLUTIONTo 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.
STATUSMicrosoft 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.
Modification Type: | Minor | Last Reviewed: | 9/26/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbBug kberrmsg kbfix kbSysAdmin kbWin2000PreSP2Fix KB254133 |
---|
|