Error message when you try to publish a ClickOnce application in Visual Studio 2005: "Unable to download a required file. You may retry downloading the file or cancel setup" (916759)
The information in this article applies to:
- Microsoft Visual Studio 2005 Standard Edition
- Microsoft Visual Studio 2005 Professional Edition
- Microsoft Visual Studio 2005 Team System Developer Edition
- Microsoft Visual Studio 2005 Team System Architect Edition
SYMPTOMSConsider the following scenario. You try to publish a ClickOnce application to a Web server in Microsoft Visual Studio 2005. You run the Setup.exe file from the Web page that you specified as the publish location. In this scenario, you may receive the following error message: Unable to download a required file. You may retry downloading the file or cancel setup Additionally, the following text appears under Details: An error occurred downloading the following resource:
ReportViewerExe CAUSEThis problem occurs when all the following conditions are true: - You are using a non-English version of Visual Studio 2005.
- You select the Microsoft Visual Studio 2005 Report Viewer option as a prerequisite to publish the application.
- You select the Download the prerequisites from the component vendor's web site option for the installation location of the prerequisite.
Note The word "Web" is capitalized incorrectly in this option name.
WORKAROUNDTo work around this problem, follow these steps: - Open the following folder:
VSInstall:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\ReportViewer\Language Note VSInstall represents the drive on which you install Visual Studio 2005. Language represents the localized version of the ReportViewer control. - In a text editor, open the Package.xml file.
- Before the closing tag of the <Strings> element, insert the following line of code:
<String Name="ReportViewerExe">http://go.microsoft.com/fwlink/?LinkId=49981</String> - Save the Package.xml file, and then close the text editor.
- Publish the application in Visual Studio 2005 again.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.REFERENCESFor more information about how to use the ReportViewer control, visit the following Microsoft Developer Network (MSDN) Web site:
Modification Type: | Major | Last Reviewed: | 4/7/2006 |
---|
Keywords: | kbExpertiseAdvanced kbtshoot kbprb KB916759 kbAudDeveloper kbAudITPRO |
---|
|