FIX: Exporting Application Proxy in COM+ Gives Export Application Error

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

On This Page

SYMPTOMS

When both a dynamic-link library (DLL) that contains a typelib and the typelib itself are imported in an application in the COM+ component services, exporting the application as an application proxy gives 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.
This problem does not occur under Microsoft Transaction Server (MTS) on Microsoft Windows NT 4.0.

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

WORKAROUND

You can use one of the following methods to work around this problem:
  • Remove the typelib from the DLL.
  • Do not import the typelib file into the application.

STATUS

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

MORE INFORMATION

Steps to Reproduce Behavior

  1. Generate a DLL (Test.dll) with a build-in typelib (for example, by using Visual Basic or Visual C++/ATL).
  2. Create a new COM+ application.
  3. Drag and drop both the DLL and the typelib in the COM+ application.
  4. Export the COM+ application as an application proxy.

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
292184 HOWTO: Create a COM+ Application Proxy That Installs Only Type Library Files

Properties

Article ID: 255973 - Last Review: October 20, 2013 - Revision: 1.0
APPLIES TO
  • Microsoft COM+ 1.0
Keywords: 
kbnosurvey kbarchive kbbug kberrmsg kbfix kbsysadmin kbwin2000presp2fix KB255973

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