I'm (finally) getting around to trying out some of Rick's Vue demo code from last SWFox. I downloaded the latest WW and cloned the Vue repo, created the project, and launched. All seems well until the 2nd time I hit a request, when the app gives me a "Cannot clear the object" error.
The code indicates this error is to help debug when an object is hanging in memory. Any clue what I'm doing wrong?
Thanks,
Eric
Not sure. Just tried it here and it works for me without a problem.
CANCEL
CLEAR ALL
CLOSE ALL
RELEASE ALL
CLEAR PROGRAM
Then try deleting all FXP files in the current folder and the Web Connection classes folder.
I have the above to a F4 macro key - useful to do this in general when you have locking issues like this.
+++ Rick ---
For this to happen on a request is pretty strange. If you have problems with the server it's usually during startup.
But check to see what code is causing this in the debugger...
IAC, it looks like a compilation error - so the recompile of everything would be my first step no matter what.
+++ Rick ---
Getting closer. I'm now getting the Unable to Load CLR Instance when trying to instantiate wwDotNetBridge.dll. I've seen this before...
I set it up from scratch on a different laptop and it works perfectly. Someday (maybe) I'll try to troubleshoot why I've never been able to instantiate wwDotNetBridge on that older PC, but not tonight. Onward...
Yeah it'd be good to know.
Older? How old? Any Windows 10 machine should work without anything other than if you're running off a network share in which case you need the .config entries to handle startup properly. Windows 7 should be fine too unless it's not patched and no updated version of .NET was installed. wwDotnetBridge requires at least .NET 4.5.
+++ Rick ---
Well it's not that old! Windows 10 1909 now but it started life about 10 years ago as a Windows 7 machine and has a decade of trial and error in it. Its .Net Frameworks are up-to-date (4.8 and Core 3.1 at this point) but it's never been able to instantiate wwDotNetCore going way back. I forget about it for a couple of years ago and then when I try again I remember, "Oh Yeah! Bummer."