This discussion is archived
6 Replies Latest reply: Nov 27, 2012 5:57 PM by 976594 RSS

Publishing error 80070002

937686 Newbie
Currently Being Moderated
Hello,
I have a problem with publishing an application in Visual Studio. I have installed ODAC (11.2.0.3.0). When I enable "Create setup program to install prerequisite components" in Publish tab the publishing is ending with error :
1) Cannot publish because a project failed to build.
2) An error occurred generating a bootstrapper: Unable to begin updating resource for bin\Debug\app.publish\setup.exe with error 80070002
I'm using ADO.NET Entity Data Model.
Is there a way to let the prerequisite control turned on without getting error ?

Thanks JR.
  • 1. Re: Publishing error 80070002
    583536 Newbie
    Currently Being Moderated
    I am running across the same error as well. Tried changing the cpu type from x86 to ANY CPU. that did not help. moved the project from a solution of 8 projects, to a solution of its own. that did not help either. The error that I get is:

    c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3939,9): error MSB3169: An error occurred generating a bootstrapper: Unable to begin updating resource for bin\Debug\app.publish\setup.exe with error 80070002
  • 2. Re: Publishing error 80070002
    948185 Newbie
    Currently Being Moderated
    Same error. I use click-once setup, target .NET 4 framework, and used Entity Framework 4 in VS 2010. After install ODAC 11.2 Release 4 (11.2.0.3.0) with Oracle Developer Tools for Visual Studio, it gives this error, even with the previous working projects.

    Is there any solution? Please help!

    Edited by: 945182 on Jul 9, 2012 3:39 AM
  • 3. Re: Publishing error 80070002
    942272 Newbie
    Currently Being Moderated
    I also have this issue--a new (or old) solution that does NOT include ODP works perfectly. Seems to be an issue created by ODP libraries/addin somehow.
  • 4. Re: Publishing error 80070002
    JuliánYuste Newbie
    Currently Being Moderated
    Hello, I also have this problem.

    Is there any solution or workaround to the problem?

    Thx.
  • 5. Re: Publishing error 80070002
    Alex_Keh - Oracle_Product_Manager Expert
    Currently Being Moderated
    I don't have much expertise in the VS Publish functionality. Googling it points to some possible reasons for the error. Assuming that Publish works without including ODP.NET in the project, try cleaning out your Bin and Obj folders. If that doesn't work, you may want to try some of the other suggestions, such as clearing out your %TEMP% folder.

    http://social.msdn.microsoft.com/Forums/en/winformssetup/thread/9ab9b88b-a57b-4945-9f94-e48a82ad5d8c
    http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/e81d47d9-5df6-49b9-84b4-7bdbe77d3eaa

    If no one else on the discussion forum can provide a working solution, open a service request with Oracle if this problem reproduces only when ODP.NET is included.
  • 6. Re: Publishing error 80070002
    976594 Newbie
    Currently Being Moderated
    I just installed ODP.NET and started getting the error on my wix installer project. Deleting all the files in %temp% worked for me! Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points