Can't re-activate DraftSight if system date is current!

Sorry about the formatting here! I wrote this as a problem report, but that service totally refuses to upload it. So I copied it and pasted it here, and it reflows everything. I don't see any "code" tag, it ignores the ones I've used other places, and the help search says it is broken and will be fixed "soon" - just like it said two days ago.

Last December I installed the 2015 version of DraftSight64.exe on my new Microsoft Surface Book, with Win 10 and a 3000 x 2000 pixel screen that requires scaling. It worked normally for the first six months of activation. This week I needed to use it, and it wouldn't start. I wasted hours perched on a box at the job site trying to reactivate it. Even tried uninstalling and switching to the new 2016 version. No luck. On my previous computer at home, activated with exactly the same eMail and identity, the old version says I have 30 days of trial left, and runs normally.

On the Surface Book, the first activation dialog does not scale properly and cuts off the number of days remaining. None of the user-friendly scaling adjustments affect this. My system is configured to prefer local manifests, so I installed DraftSight.exe.manifest set to false (that it is not scaling aware), and now I can see that it says zero days remaining. When I try to activate, if I paste in my eMail, it fails to verify and won't let me try to activate. So for dozens of tries I've manually entered all the info. When I click activate now, the DraftSight window flashes for an instant, and then the "Please reactivate" dialog appears. I can see with Wireshark that it interacts with the DraftSight servers. In the log at C:\\Users\\loren\\AppData\\Local\\Temp\\Activation.logit shows:

---

20:05:35 Debug: [LINE NO] "36" "07/25/2016" Activation() begin20:05:35 Debug: [LINE NO] "124" "07/25/2016" isUserRegisteredEval() begin20:05:35 Debug: [LINE NO] "131" "07/25/2016" Trying to connect activation server.20:05:35 Debug: [LINE NO] "132" "07/25/2016" ns1__isUserRegisteredEval() begin20:05:36 Debug: [LINE NO] "134" "07/25/2016" server response =  0 "Success"20:05:36 Debug: [LINE NO] "135" "07/25/2016" ns1__isUserRegisteredEval() end20:05:36 Debug: [LINE NO] "158" "07/25/2016" User is Registered.20:05:36 Debug: [LINE NO] "199" "07/25/2016" isUserRegisteredEval() end20:05:36 Debug: [LINE NO] "39" "07/25/2016" Activation server status:  "Up"20:05:36 Warning: QTextCursor::setPosition: Position '35' out of range20:06:38 Debug: [LINE NO] "286" "07/25/2016" Trying to connect activation server.20:06:39 Debug: [LINE NO] "288" "07/25/2016" server response =  500 "fail"20:06:39 Debug: [LINE NO] "62" "07/25/2016" saveDataAndSendEmail() return value  "OFFLINE"20:06:39 Debug: [LINE NO] "63" "07/25/2016" saveDataAndSendEmail() return value  "NOT_WORKING"

---

Each attempt generates a new crash dump at C:\\Users\\loren\\AppData\\Local\\CrashDumps

such as:07/24/2016  08:02 PM        11,615,661 DraftSight.exe.2012.dmp07/24/2016  07:50 PM        16,129,464 DraftSight.exe.3372.dmp They also show up in EventViewer as DraftSight crashes, but without any clues as to why. I haven't installed WinDbg on this machine yet, so I can't look at the MDMP files. The only human-readable test is "MDMP“§Z  dbgcore.amd64,10.0.10011.16384".

So I found https://swym.3ds.com/#post:26516 and the Activation_and_Licensing_Models_V06 Document which they disgustingly hide the actual URI for - you have to find those words and left click them to download it. It says:---"I didn't activate DraftSight before the end of the 30 days trial period. How can I activate now?"If you are having trouble to activate after the 30 days trial expired‐a simple workaround would be to change the date on your system, to one prior to the end of the trial period. Once the activation is performed, you can return to the correct settings.---

I definitely did activate DraftSight when I installed it. but apparently if you don't happen to use it immediately after your six months are up, it begins eating up your 30 days of free trial. So I set my calendar back two months, and it runs fine! But there is no way I can find to trigger free activation once it is running. So I tried to activate premium, and got this error (as interpreted by the Err.exe tool):

---

C:\\Users\\loren>err 0xc000007b# for hex 0xc000007b / decimal -1073741701 : 

STATUS_INVALID_IMAGE_FORMAT                                   ntstatus.h# {Bad Image}# The application or DLL %hs is not a valid Windows image.# Please check this against your installation diskette.

---

The error revealed the problem file as C:\\Program Files\\Dassault Systemes\\DraftSight\\bin\\setup\\i386\\swactwiz.exeand right under it was swactwiz.exe.manifest which on inspection was a Win7 manifest, not a Win 10 version. I renamed it to hide its effect, and now the swactwiz.exe program runs properly. But apparently it is not the problem for free activation - that still fails.

Amazingly, if I manually set my system date back to yesterday, DraftSight runs normally! Even though it would not actually run yesterday, nor the day before. Apparently any day older than the current day lets it run...  Every activation failure still produces a crash dump:07/25/2016  02:00 PM        11,648,328 DraftSight.exe.10524.dmp The Activation.log shows all the logins, both successful and failed - these were all just now today, with different bogus date settings:

---

13:58:36 Debug: [LINE NO] "124" "07/23/2016" isUserRegisteredEval() begin13:58:36 Debug: [LINE NO] "131" "07/23/2016" Trying to connect activation server.13:58:36 Debug: [LINE NO] "132" "07/23/2016" ns1__isUserRegisteredEval() begin13:58:37 Debug: [LINE NO] "134" "07/23/2016" server response =  0 "Success"13:58:37 Debug: [LINE NO] "135" "07/23/2016" ns1__isUserRegisteredEval() end13:58:37 Debug: [LINE NO] "158" "07/23/2016" User is Registered.13:58:37 Debug: [LINE NO] "199" "07/23/2016" isUserRegisteredEval() end13:59:00 Debug: [LINE NO] "124" "07/24/2016" isUserRegisteredEval() begin13:59:00 Debug: [LINE NO] "131" "07/24/2016" Trying to connect activation server.13:59:00 Debug: [LINE NO] "132" "07/24/2016" ns1__isUserRegisteredEval() begin13:59:00 Debug: [LINE NO] "134" "07/24/2016" server response =  0 "Success"13:59:00 Debug: [LINE NO] "135" "07/24/2016" ns1__isUserRegisteredEval() end13:59:00 Debug: [LINE NO] "158" "07/24/2016" User is Registered.13:59:00 Debug: [LINE NO] "199" "07/24/2016" isUserRegisteredEval() end13:59:20 Debug: [LINE NO] "124" "07/25/2016" isUserRegisteredEval() begin13:59:20 Debug: [LINE NO] "131" "07/25/2016" Trying to connect activation server.13:59:20 Debug: [LINE NO] "132" "07/25/2016" ns1__isUserRegisteredEval() begin13:59:20 Debug: [LINE NO] "134" "07/25/2016" server response =  0 "Success"13:59:20 Debug: [LINE NO] "135" "07/25/2016" ns1__isUserRegisteredEval() end13:59:20 Debug: [LINE NO] "158" "07/25/2016" User is Registered.13:59:20 Debug: [LINE NO] "199" "07/25/2016" isUserRegisteredEval() end13:59:41 Debug: [LINE NO] "36" "07/25/2016" Activation() begin13:59:41 Debug: [LINE NO] "124" "07/25/2016" isUserRegisteredEval() begin13:59:41 Debug: [LINE NO] "131" "07/25/2016" Trying to connect activation server.13:59:41 Debug: [LINE NO] "132" "07/25/2016" ns1__isUserRegisteredEval() begin13:59:41 Debug: [LINE NO] "134" "07/25/2016" server response =  0 "Success"13:59:41 Debug: [LINE NO] "135" "07/25/2016" ns1__isUserRegisteredEval() end13:59:41 Debug: [LINE NO] "158" "07/25/2016" User is Registered.13:59:41 Debug: [LINE NO] "199" "07/25/2016" isUserRegisteredEval() end13:59:41 Debug: [LINE NO] "39" "07/25/2016" Activation server status:  "Up"13:59:41 Warning: QTextCursor::setPosition: Position '35' out of range14:00:29 Debug: [LINE NO] "286" "07/25/2016" Trying to connect activation server.14:00:30 Debug: [LINE NO] "288" "07/25/2016" server response =  500 "fail"14:00:30 Debug: [LINE NO] "62" "07/25/2016" saveDataAndSendEmail() return value  "OFFLINE"14:00:30 Debug: [LINE NO] "63" "07/25/2016" saveDataAndSendEmail() return value  "NOT_WORKING"

---

The exact same "User is Registered" response works if the date is not today. If the system date is current, the program won't run and it demands re-activation, and that fails. And writes a crash dump file. Maybe the 13:59:41 Warning: QTextCursor::setPosition: Position '35' out of rangeline is a clue? I don't get what it could mean... My installer for DraftSight 2015 shows Dec 1 2015 for last modified date. The earliest entry in Activation.log is 16:06:45 Debug: [LINE NO] "158" "12/14/2015" User is Registered.So six months should have been up by June 1 2016, and if the 30 days appends to that, the program should have stopped working by July 1 2016. But it is happy to run if it thinks it is July 24 2016. I don't understand...  

Meanwhile, the version on my old computer with the exact same activation credentials thinks it is fully activated and has 30 free days remaining. I am an administrator, have no antivirus software running, use no proxy, and can see the activation attempts connect to the activation server. DraftSight never provides any error messages as user dialogs, apparently it totally crashes and writes the crash dump files instead. I can't find any other manifest files to hack. I did run this with ProcessExplorer and watch the active threads. Through the whole activation attempt, it is running "ValidateCertificate", timeGetTime, and ig9icd64.dll!DrvValidateVersion, constantly, racking up literally billions of cycles, as shown in the attached screenshot. I saw several other problems with the screen scaling, before I forcibly disabled it with my custom manifest. I realize the Surface Book is on the bleeding edge of Windows functionality, lots of programs have problems here, but DraftSight has wasted more of my time now than any other app. I have lots of critical files that depend upon it, that were working great until this re-activation bug showed up. Hope we can get this fixed!

 

In the problem report: BTW, your "OS" selection below is rather outdated! I'm on Windows 10 v1511!

Hmmm...  I clicked Send and it looked like you saw it, but this window is still open. Will try again. "Please Wait...  Ticket is being created..." But no confirmation. No eMail, no spam...  Watching in Wireshark this time...  Looks like lots of data sent to akamaiedge. And I saw a flash at the top of the Firefox screen - will watch there next time...  "An error while uploading your file". Trying a different file...  Still failed - can't delete the filename, trying a text file...  No. Maybe a Firefox problem? Trying Chrome...  Same error. Maybe this message is too long? Moving it to the file, you don't get to see the ProcExpl screenshot...  No, that doesn't work either.  I guess DraftSight has totally jumped the shark. Was great while it lasted!

 

So where are the images I've supposedly attached???

I don't believe how broken this all is...