FIX: Cannot Read Source File Error Running PDW Distribution (240927)



The information in this article applies to:

  • Microsoft Visual Basic Learning Edition for Windows 6.0
  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0

This article was previously published under Q240927

SYMPTOMS

When installing a Visual Basic application created with the Package and Deployment Wizard (PDW) and the package contains one or more DLLs with long file names, an error similar to the following occurs and the installation terminates:
Cannot read source file c:\windows\temp\rbt5120.tmp

CAUSE

This problem is caused by mismatched components on the target system. Once an install has been made successfully, the problem does not recur.

RESOLUTION

Create a PDW package with a simple Visual Basic project that does not contain files with long file names and install it on the machines that demonstrate this problem. Subsequent installation of packages containing files with long file names do not experience this problem.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in the latest service pack for Visual Studio 6.0.

For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed

To download the latest Visual Studio service pack, visit the following Microsoft Web site:

REFERENCES

For additional information about potential deployment problems with long file names, please click the article number below to view the article in the Microsoft Knowledge Base:

239069 PRB: Cannot Open or Find File Error Installing VB Application


Modification Type:MinorLast Reviewed:12/12/2005
Keywords:kbAppSetup kbbug kbDeployment kbfix kbQFE kbVS600sp4fix kbVS600sp5fix kbwizard KB240927