Copy link to clipboard
Copied
Hi there,
first the facts - I´m using
I have been using my trusty Script for years. It pulls texts from the text resource database for the machines we build (sql) into FrameMaker variables.
Since recently the script stops with the following error message:
The error is clear to understand, the question is "why can that variable suddenly not be found any longer?".
I appreciate any guesses about the reason of this behaviour. The only thing that has changed shortly before was a Windows update. Could that be the reason?
Best regards,
Lutz
I answer to myself, because I found the solution:
After newly installing Framemaker, this time as 32bit, all works as usual.
Apparently, something has changed in the background of Windows what did not let 64bit FramMaker accessing the 32bit database...
Copy link to clipboard
Copied
Maybe it's to hot for ordinary work... Try to restart Windows and then start FM again.
Copy link to clipboard
Copied
It would be helpful to see a few lines around and including 119 in the script. My guess is that a Windows update did something to the database connection that FrameScript is establishing.
Copy link to clipboard
Copied
Hello, thanks for the reply,
but I guess in this case the error would have been rather "Database connection could not be established" or something similar, but anyway, here is the relevant part of the script. Because it is a shortened script version for test purposes, the error is in line 53:
Another aspect is the 32bit/64bit mess inside of Windows. Datasource and Database driver are 32bit, FrameMaker and ElmScript are 64bit. But as I said: It worked before for a long time.
Copy link to clipboard
Copied
I answer to myself, because I found the solution:
After newly installing Framemaker, this time as 32bit, all works as usual.
Apparently, something has changed in the background of Windows what did not let 64bit FramMaker accessing the 32bit database...
Copy link to clipboard
Copied
Very good that this worked!I remember that I had a similar problem some years ago. Now and then a database connection got lost and an error message popped up. As far as I remember I had to recreate the database connection in Windows, and then the FrameScript script worked again.
Keep a copy of FM 2019, as long as you need this script! FM 2022 is only 64 bit.