Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: SB Error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default SB Error

    I'm getting an error when I try to compile. The strange thing is that the
    file has not changed. Old script.

    Error is always at the same place. See images attached.

    Turned off anti virus.

    What's happening here? Thanks!

    Lynn Howard
    Attached Images Attached Images   

  2. #2

    Default Re: SB Error

    Lynn,

    > I'm getting an error when I try to compile. The strange thing is that the
    > file has not changed. Old script.
    >
    > Error is always at the same place. See images attached.
    >
    > Turned off anti virus.
    >
    > What's happening here? Thanks!

    Error -1 means that the Microsoft Authenticode code-signing process failed.

    It's one (or more) of the following:

    1. The certificate that you are using in this specific compiler directive
    line expired

    -and/or-

    2. The certificate configuration information that you are using in this
    compiler directive line is incorrect (e.g. wrong password)

    -and/or-

    3. If you timestamp then "something" blocks access to the timestamp server

    -and/or-

    4. The file is already code-signed and you have not enabled the "Skip if
    file is already code-signed" option

    -and/or-

    5. The "zippdf.exe" PE Header is invalid and Microsoft Authenticode does not
    like it.

    Hope this helps a bit.

    Friedrich

  3. #3

    Default Re: SB Error

    Thanks Friedrich!

    I'll chew on that a while.

    Lynn

  4. #4

    Default Re: SB Error

    Recompiled zippdf.exe and all works now.

    Must have been #5 - Microsoft didn't like the header.

    Thank you Sir!

    Lynn

  5. #5

    Default Re: SB Error

    > Recompiled zippdf.exe and all works now.
    >
    > Must have been #5 - Microsoft didn't like the header.
    >
    > Thank you Sir!

    You are welcome, Lynn!

    Friedrich

  6. #6

    Default Re: SB Error

    BTW are other folks having problems with code signing and AVG?

    I have to turn AVG off to get an error free compile of SB.

    Lynn

  7. #7

    Default Re: SB Error

    Lynn,

    > BTW are other folks having problems with code signing and AVG?
    >
    > I have to turn AVG off to get an error free compile of SB.

    Not that I am aware of. I would suggest to report this to AVG so they can
    fix the bug.

    What you can do is to add the code-signing tool and the sb7.exe compiler to
    the AVG "exclusion list" to disable real-time monitoring. This should work
    around the AVG bug.

    Friedrich

  8. #8

    Default Re: SB Error

    Ive noticed some timeouts when connecting to the authenticode servers on
    and off lately, but Im not sure if its due to issues on my end or theirs.
    You see a fair # of goog results on the topic, so Im not alone there. Not
    sure if this could cause what Lynn is seeing.
    --

    Mark Riffey
    http://www.rescuemarketing.com
    Now featured on the Visa Business Network
    If Guy Kawasaki, the staff of the Wall Street Journal,
    Fast Company, US Bank, Marketing Profs & Business Week read it,
    maybe you should too.

  9. #9

    Default Re: SB Error

    Thanks guys!

    Lynn

  10. #10

    Default Re: SB Error

    Mark,

    > Ive noticed some timeouts when connecting to the authenticode servers
    > on and off lately, but Im not sure if its due to issues on my end or
    > theirs. You see a fair # of goog results on the topic, so Im not alone
    > there. Not sure if this could cause what Lynn is seeing.

    The Verisign and Comodo timestamp servers are very reliable. They can
    handle quite a few million transactions per second.

    BTW, in SB8 Final we have the following improvements / changes to deal with
    timeout issues:

    ---
    IMPROVEMENT: IDE: Add CODESIGN_DELAY #pragma to set the delay (in number of
    seconds) between each timestamp trial. Defaults to 5.

    IMPROVEMENT: IDE: Add CODESIGN_TSTRIALS #pragma to set the maximum number of
    timestamp trials until success; defaults to 5.

    CHANGE : IDE: The default delay between each code-signing timestamp
    trial increased from 0 to 5 seconds.

    CHANGE : IDE: The default maximum number of timestamp trials until
    success increased from 1 to 5.
    ---

    Lynn recompiled the original .EXE and that fixed the problem. So it seemed
    to be caused by a "corrupt" PE Header.

    Friedrich

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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