DOCUMENT:Q255829 13-JAN-2001 [vbwin] TITLE :PRB: PDW Includes Comsvcs.dll File with COM+ Applications PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:5.0,6.0 OPER/SYS: KEYWORDS:kbwizard kbCOMPlus kbDeployment kbOSWin2000 kbVBp500 kbVBp600 kbPackage kbGrpDSVB kbDSu ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Professional Edition for Windows, versions 5.0, 6.0, on platform(s): - the operating system: Microsoft Windows 2000 - Microsoft Visual Basic Enterprise Edition for Windows, versions 5.0, 6.0, on platform(s): - the operating system: Microsoft Windows 2000 ------------------------------------------------------------------------------- SYMPTOMS ======== When distributing a Visual Basic application from a Windows 2000 system that references the COM+ Services Type Library, the Package and Deployment Wizard (PDW) includes the Comsvcs.dll file in the distribution package. CAUSE ===== The Visual Basic 6.0 Package and Deployment Wizard and the Visual Basic 5.0 Application Setup Wizard normally include all files that are referenced by the project being packaged and do not include any special handling code for the Comsvcs.dll file. RESOLUTION ========== When you are creating the Visual Basic application package for distribution, deselect the Comsvcs.dll file from the files list when you are stepping into the Included Files dialog box of the Package portion of the Package and Deployment Wizard. STATUS ====== This behavior is by design. MORE INFORMATION ================ The Comsvcs.dll file is a non-redistributable system file that already exists on target Windows 2000 systems. REFERENCES ========== For a list of files that can be distributed with your applications, please check the Redist.txt file shipped with Visual Basic and Microsoft Visual Studio. Additional query words: COM Comsvcs Redist ====================================================================== Keywords : kbwizard kbCOMPlus kbDeployment kbOSWin2000 kbVBp500 kbVBp600 kbPackage kbGrpDSVB kbDSupport Technology : kbVBSearch kbAudDeveloper kbZNotKeyword6 kbZNotKeyword2 Version : WINDOWS:5.0,6.0 Issue type : kbprb Solution Type : kbnofix ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2001.