PDA

View Full Version : SB Error



NewsArchive
01-26-2013, 02:30 AM
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

NewsArchive
01-26-2013, 02:31 AM
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

NewsArchive
01-26-2013, 02:31 AM
Thanks Friedrich!

I'll chew on that a while.

Lynn

NewsArchive
01-26-2013, 02:32 AM
Recompiled zippdf.exe and all works now.

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

Thank you Sir!

Lynn

NewsArchive
01-26-2013, 02:34 AM
> 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

NewsArchive
01-27-2013, 02:58 AM
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

NewsArchive
01-27-2013, 02:58 AM
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

NewsArchive
01-27-2013, 02:59 AM
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.

NewsArchive
01-27-2013, 03:01 AM
Thanks guys!

Lynn

NewsArchive
01-27-2013, 03:01 AM
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

NewsArchive
01-27-2013, 03:02 AM
> The Verisign and Comodo timestamp servers are very reliable. They can
> handle quite a few million transactions per second.

That may be, but there are plenty of timeout reports on the web related to
the Verisign authenticode servers - and Ive seen them first hand despite a
dual fat pipe connection at a remote site where the signing occurs.

I dont use Comodo, so I dont know if they have also shown this behavior.

It is intermittent.
--

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.

NewsArchive
01-27-2013, 03:03 AM
Hi Mark,

Aha, interesting.

I think the new SB8 compiler options can help because it allows the
code-signing tool to "retry" when a timeout occurs.

Friedrich

NewsArchive
01-28-2013, 12:27 AM
An excellent feature. I don't get the time-outs often and even more
rare it fails twice in a row. Think that happened only once. BTW - if
failure happens twice in a row, possible to switch to the other time
server and retry? That has never failed here.

--

Russ Eggen
RADFusion International, LLC

NewsArchive
01-28-2013, 07:57 AM
> I think the new SB8 compiler options can help because it allows the
> code-signing tool to "retry" when a timeout occurs.

Nice.
--

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.

NewsArchive
01-29-2013, 12:57 AM
I was just wishing for that last week.

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
I'll search help files & Google for you.

NewsArchive
01-29-2013, 12:58 AM
> I was just wishing for that last week.

Now if Friedrich would finish up that SetupBuilder option to pick winning
lottery numbers...

:-)

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
01-29-2013, 12:58 AM
>> I was just wishing for that last week.
>
> Now if Friedrich would finish up that SetupBuilder option to pick winning
> lottery numbers...

Hehehehehe ;-)

Friedrich

NewsArchive
01-29-2013, 06:50 AM
Still working on my coffee feature. Priorities, you know! <g>

--

Russ Eggen
RADFusion International, LLC