Error #2046: The loaded file did not have a valid signature
Ahh, Flash. Flash Flash Flash. You’re at the supermarket, you’re buying chicken breasts for statutory Saturday night curry, and the boss calls to say the website is down. You check the services monitor – no errors. You’ve deployed no changes – it’s a weekend. But sure enough, the flash player on the site doesn’t load.
Often, #2046 is caused by some kind of corruption. Sometimes, deleting your .macromedia folder fixes it (causes a redownload of any corrupt Flash objects). But when everybody reports the error across all platforms… it must be something else.
‘Did not have a valid signature’ isn’t terribly specific, but you might find that setting your system clock back by 24 hours fixes the issue. If this is the case for you, Adobe are bastards. The SDK you are using has expired. It will still generate Flash binaries without reporting an error, but the binaries it creates will mysteriously not work on any system with a correctly-set clock. Download the latest SDK, and it’s business as usual.
Oh. And one day that SDK will expire, of course. And the binaries you’ve already created will need to be rebuilt. You could buy an SDK license, but … well … not for Linux. So I guess you’re trapped.
Thanks, Adobe
mark van schaik says:
September 22nd, 2010 at 11:23 am
thanks! was using a beta SDK version for a production app, which stopped working over the weekend and just had me quite frustrated about why. expiry date on the binaries makes sense, and testing showed it to be so.
Of course now I need to upgrade my application, but it’s satisfying to know what the issue is.
Boydell says:
September 22nd, 2010 at 4:52 pm
Wow. That was it. You are the only one that had it figured out, and I looked at many sites and many forums, even support forums on Adobe. Funny that you posted this one day before I was trying to track down a solution. If this had happened to me last week I would have been out of luck.
My only problem is, this is not flash I built. It is the Easy Flash Uploader, a special version they built for us that supported what we need. So now I have to see if I can talk them into re-generating it…
Blake says:
September 28th, 2010 at 3:54 am
Check this out:
http://bugs.adobe.com/jira/browse/SDK-28016