Publishing error 80070002 – MS Visual Studio

Asked By 50 points N/A Posted on -
qa-featured

Hi TechyV buddies!

I am having some problem with visual studio. Every time I publish an application I get an error.  My ODAC (11.2.0.3.0) was installed recently and when I enable “create a setup program to install prerequisite components”  it always end up having an error. The error is this: 1) Cannot publish because a project failed to build. 2) An error occurred generating a bootstrapper: Unable to begin updating resource for binDebugapp.publishsetup.exe with error 80070002

Does ADO.NET entity model has something to do with the error because I am using that model? Is there any alternative for my publishing to work? Can anyone help me solve this issue? I will be very thankful for any help. Thank you!

SHARE
Answered By 0 points N/A #148825

Publishing error 80070002 – MS Visual Studio

qa-featured

 

Hi,
 
I think the problem you are facing is due to corrupt Bootstrapper. There may also be some other corrupt files.Check the prerequisite dialog box and see if  .NET Framework 3.5 SP1 bootstrapper package is selected. Then follow the below steps:
 
1. First, update the data of the package. Open the bootstrapper package and click on Product.xml file.
 
2. Open the file in Notepad and paste the following lines 
 
<PackageFile Name="TOOLSclwireg.exe"/>
<PackageFile Name="TOOLSclwireg_x64.exe"/>
<PackageFile Name="TOOLSclwireg_ia64.exe"/>
 
3. Now save the Product.xml file.
 
Then download the files for installation of core files from here –>  http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe
 
Then install the downloaded files and restart your computer.
 
Hope it works for you.

Login/Register to Answer

Related Questions