“Error #2046: The loaded file did not have a valid signature.”

After I’ve updated to Flex SDK 3.1.0 I’ve got this Error #2046: The loaded file did not have a valid signature.

Everything in the projects was pointing to the new sdk 3.1.0, instead of 3.0.0, but RSL libraries in the bin-debug folder were still from the old SDK (framework_3.0.0.477.swf, rpc_3.0.0.477.swf, datavisualization_3.0.0.477.swf along with corresponding SWZs)

After some head scratching I’ve opened up the properties of the main application,
Flex Builder path => Library path and looked into the settings of the framework libraries -bingo! It was still using the old settings.

So, all you have to do is to remove old RSLs and add new ones (both swf & swz), so it will look like that:

RSL setup screen

3 Responses to ““Error #2046: The loaded file did not have a valid signature.””

  1. mitek says:

    Merci! 🙂

  2. Mark Bieber says:

    One huge thing that i figured out was that if your date is set before the release of a flash version (say 4.0), It will prevent you from ever seeing a site coded with that framework. So check your clocks and try again.

  3. Phil Poulin says:

    Hey Mark, I just wanted to say thank you for that tip, somehow my date got set to 2001 instead of 2010, and changing it just fixed all my problems.

    Cheers!

Leave a Reply