Bad Signature

Hi,

I've been using wyUpdate for a while now with an application with no known problems. This afternoon I published an update just as I normally do and now clients are unable to update. The updater control displays the red "X" with "Failed to check for updates." The details are:

ZipEntry::ReadDirEntry(): Bad signature (0x00010000) at position 0x00000374

A little digging reveals that this comes from the DotNetZip class. I've used this in other projects, so am somewhat familiar with it. Never seen this before. I get that the .wyu and .wys files are just zip archives, and I am able to open all of them with my desktop zip program by renaming them *.zip. So, the archives appear to be in good shape.

The "Failed to check for updates" message appears immediately upon trying to check (as opposed to later during an actual update or something).

Finally, I cracked open the file inside the wyserver.wys archive and noticed that one of the incremental updates was missing. There was an entry for 1.1.9.1 to 1.1.9.2, and one for 1.1.9.3 to 1.1.9.4, but no entry for 1.1.9.2 to 1.1.9.3, even though the appropriate .wyu file as indeed on the server.

I fixed this buy explicitly building and uploading that update. However, I don't know how it got messed up in the first place.

Any ideas?

-Brent

Finally, I cracked open the file inside the wyserver.wys archive and noticed that one of the incremental updates was missing. There was an entry for 1.1.9.1 to 1.1.9.2, and one for 1.1.9.3 to 1.1.9.4, but no entry for 1.1.9.2 to 1.1.9.3, even though the appropriate .wyu file as indeed on the server.

Do you mean 1.1.9.1 -> 1.1.9.4 & 1.1.9.3 -> 1.1.9.4? Because wyBuild doesn't support incremental updates. (e.g. 1.1.9.1->1.1.9.2->1.1.9.3, etc.).

If you have the server files that failed to load, could you send it to me? wyatt@wyday.com

I fixed this buy explicitly building and uploading that update. However, I don't know how it got messed up in the first place.

Any ideas?

Have you been modifying the files, or are you just uploading the files as they come out of wyBuild? We've never seen this error before, and we don't have any bugs in our bug tracker about it.

Did everyone get this issue when they were trying to update? Have you gotten this before?

I can't tell you much more until I see the file with the error.

Hi,

No, I should have saved the file. If this ever happens again I'll be sure to save it. My guess is it was just a fluke.

To answer your question, no, I'm just using wyBuild to handle everything. I only started looking at the files directly when I was trying to troubleshoot. Everyone who tried to update experienced the same issue, and explicitly building and publishing that update (rather than just all previous version to current version) fixed it for everyone.

Now, it may be that everyone was on version 1.1.9.2, and it may also be that somehow 1.1.9.3 didn't publish correctly (and I only noticed that the 1.1.9.2->1.1.9.3 was missing, but in fact, perhaps, all ->1.1.9.3 updates were missing). I don't know, and there is not much to do about it without having all of the facts.

This does bring up another similar issue that I want to ask about, but I'll start another thread.

-Brent