Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

BUG: Distribution of Microsoft Scripting Runtime Library Fails


View products that this article applies to.

This article was previously published under Q254166

↑ Back to the top


Symptoms

If your Microsoft Visual Basic application uses Microsoft Scripting Runtime Library (Scrrun.dll), the Package and Deployment Wizard (PDW) automatically picks up the dependency from Scrrun.dep, which points to http://activex.microsoft.com/controls/vb6/ScrRun.cab. However, this .cab file does not actually exist. Any component that tries to download the Scripting Runtime Library from this site will fail.

The following error message may appear in your Code Download Error log for this problem:
Code Download Error: (hr = 800c0007) No data is available for the requested
.........
ERR: INF Processing: Failed (80004004) processing: scrobj.dll . Cannot get primary/default language!
LOG: URL Download Complete: hrStatus:0, hrOSB:80004004, hrResponseHdr:0, URL:(URL to your CAB File)

↑ Back to the top


Cause

There is a bug in the Scrrun.dep file that is included with Visual Basic. The Scripting Runtime Library is no longer available in the form of a .cab file. Instead, the Scripting Runtime Library is now available in the form of an .exe file that is located at:

↑ Back to the top


Resolution

Microsoft Scripting Runtime must be installed through the use of a self-extracting .exe file. For versions of Scripting Runtime mentioned at the beginning of this article, the only way to distribute it is to use the complete self extracting .exe file located at the following locations:

Microsoft Windows 98, Microsoft Windows Millennium Edition, and Microsoft Windows NT 4.0Microsoft Windows 2000 and Microsoft Windows XP

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

Microsoft Scripting Runtime Library Version 3.1 is no longer available. Users should obtain the latest runtime from the links in the "Resolution" section.

For more information about Microsoft Windows script downloads, visit the following Microsoft Developer Network (MSDN) Web site:

↑ Back to the top


References

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
252937� How to find more information about why code download failed
For more information on how internet component download works, see the following Microsoft Webcast: For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:

↑ Back to the top


Keywords: kbbug, kbcode, kbdownload, kbfaq, kbnofix, kbscript, KB254166

↑ Back to the top

Article Info
Article ID : 254166
Revision : 10
Created on : 10/26/2007
Published on : 10/26/2007
Exists online : False
Views : 583