Results 1 to 9 of 9

Thread: [RESOLVED] Publish error

  1. #1

    Thread Starter
    Lively Member viper5646's Avatar
    Join Date
    Feb 2009
    Location
    kitchener Ontario
    Posts
    90

    Resolved [RESOLVED] Publish error

    Hi
    Im tryng to publish an app in VB 2008 Express, when I do I get the following error:
    Error 1 Cannot publish because a project failed to build.
    Error 2 An error occurred while signing: SignTool.exe not found.
    Can anyone help
    Thank you

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Publish error

    The first one means that there's something wrong with your code. If your code can't compile then you cannot publish the compiled project. You should be running the project in the debugger first and it will tell you whether there are any compilation errors, which you then need to fix.

    The second one might right itself once you fix the first but it might also be a sign of something more serious. Fix the first issue and post back if the second remains.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Lively Member viper5646's Avatar
    Join Date
    Feb 2009
    Location
    kitchener Ontario
    Posts
    90

    Re: Publish error

    thanks jmcilhinney for your reply

    There are no errors when compiling. I tried it and runs ok.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Publish error

    If that is truly the case then your IDE is definitely broken and needs to be reinstalled. More likely it's not the case and you're actually running an old build. When you build, does it say Build Succeeded or Build Failed in the status bar? Are there any error message is the Errors window? If you delete the 'bin' folder from under your project folder, does it still run?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Lively Member viper5646's Avatar
    Join Date
    Feb 2009
    Location
    kitchener Ontario
    Posts
    90

    Re: Publish error

    When I build it says Build Succeeded in the status bar.
    I also get this error message in the error window "Error 1 Cannot publish because a project failed to build."

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Publish error

    Hmmm... it sounds to me like your IDE is broken and needs a repair.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7

    Thread Starter
    Lively Member viper5646's Avatar
    Join Date
    Feb 2009
    Location
    kitchener Ontario
    Posts
    90

    Re: Publish error

    First of all could you tell me what is the IDE.
    To Reinstall the IDE do I have to reinstall VB.

  8. #8
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Publish error

    IDE is Integtrated Development Environment. VB is the programming language. VB Express is the IDE.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  9. #9

    Thread Starter
    Lively Member viper5646's Avatar
    Join Date
    Feb 2009
    Location
    kitchener Ontario
    Posts
    90

    Re: Publish error

    Thanks jmcilhinney

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width