Page 1 of 1 1
Topic Options
#151245 - 2005-11-09 06:56 PM ERROR: Tokenized script + Windows 95
RaphaelPereira Offline
Fresh Scripter

Registered: 2005-05-17
Posts: 13
Loc: Rio de Janeiro, Brasil
Does anybody know because the error below happens?

>>> KiXtart 2001 <<<
ERROR: A cryptographic service handle could not be acquired
Error: (0x80090016/-2146893802)!


The KiXtart version that I am using: 4.51 Build 207 (most recent)

this just happens in the following way:
Tokenized script + Windows 95

The function CryptAcquireContext is in advapi32.dll that is in the version 4.71.0118.0 in this Windows 95.
_________________________
Raphael Pereira

Top
#151246 - 2005-11-09 07:02 PM Re: ERROR: Tokenized script + Windows 95
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
This has been reported already.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#151247 - 2005-11-09 07:17 PM Re: ERROR: Tokenized script + Windows 95
RaphaelPereira Offline
Fresh Scripter

Registered: 2005-05-17
Posts: 13
Loc: Rio de Janeiro, Brasil
but which is the solution?
_________________________
Raphael Pereira

Top
#151248 - 2005-11-09 07:31 PM Re: ERROR: Tokenized script + Windows 95
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
So, did you find where it was reported? If you did, you should have read Ruud's words:
Quote:

Good point, and I agree we should not spend too much time with Win95 at all. However, this seems like a doable fix (i.e.: one that does not take a lot of time and one that does not affect the other platforms) so I'll give it a try.



_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#151249 - 2005-11-09 08:00 PM Re: ERROR: Tokenized script + Windows 95
RaphaelPereira Offline
Fresh Scripter

Registered: 2005-05-17
Posts: 13
Loc: Rio de Janeiro, Brasil
I understand and I agree that windows 95 should not be a priority.
but me, in particular, will have some problems, because I still have many computers Windows 95, and my scripts has passwords in the code. therefore I need to use the tokenized scripts.
I also know that it is my problem, and you don't have anything with that.
but for kindness, if you could help me, I will be very thankful.
I love kixtart and I struggled in my department for you use him/it.
please. help me.
_________________________
Raphael Pereira

Top
#151250 - 2005-11-10 09:40 AM Re: ERROR: Tokenized script + Windows 95
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Well, in the post Les made in the Beta forum about the 4.51 release:
Quote:

KiXtart 2010 4.51 is a minor update with the following fixes & enhancements:

GetFileSize has been enhanced so it can operate on open files.
GetFileTime has been enhanced so it can operate on open files.
Additionally,GetFileTime now supports a 2nd parameter enabling selection of the time to be returned.
Tokenized files can now be protected with a password. To use this option simply specify a password for the file to be protected on the commandline using the '/u' option.
Fixed handling of multiple INCLUDE's of the same INCLUDE file.
Adjusted scope of variables in INCLUDE files to that of the INCLUDing script.
Fixed handling of empty Delimiter parameter by Join & Split.
Added a 5th parameter to AScan enabling selection of the type of match.
Fixed handling of the '~' operator.
Removed '2001' text from exception messages.
Changed 'LongHorn' text to 'Vista'.
Added support for new Windows Versions (Starter Edition, Server R2, etc).
Fixed encryption/decryption of tokenized files on Windows 95.
Removed error event that was erroneously generated by @ONWOW64.
Corrected the way duplicate UDF's are handled: KiXtart now reports an error if it encounters a duplicate UDF




So if you really have to have tokenised scripts for Win9x the answer is to upgrade to 4.51 and give it a try.

Top
#151251 - 2005-11-10 03:28 PM Re: ERROR: Tokenized script + Windows 95
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
But he said:
Quote:

The KiXtart version that I am using: 4.51 Build 207 (most recent)



_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#151252 - 2005-11-10 03:56 PM Re: ERROR: Tokenized script + Windows 95
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Quote:

But he said:
Quote:

The KiXtart version that I am using: 4.51 Build 207 (most recent)








Hmmm. Good point.

Raphael, check that you are using the latest build of KiXtart both on the machine that you are creating the tokenised file on, and on the machine that you are running it on.

Also, try tokenising it on the Win9x machine and running that version.

Top
#151253 - 2005-11-10 04:52 PM Re: ERROR: Tokenized script + Windows 95
RaphaelPereira Offline
Fresh Scripter

Registered: 2005-05-17
Posts: 13
Loc: Rio de Janeiro, Brasil
thanks Les, thanks Richard.

the error also appears in the following conditions:

from the computer Windows 95
create test.kix (just ? "simple test")
run wkix32 or kix32 test.kix /t (4.51 Build 207)
run wkix32 test.kx -> the error happens.
run kix32 test.kx -> the error does not happen.
_________________________
Raphael Pereira

Top
#151254 - 2005-11-10 05:16 PM Re: ERROR: Tokenized script + Windows 95
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
looks like ruud has forgotten to update wkix32
_________________________
!

download KiXnet

Top
#151255 - 2005-11-10 05:24 PM Re: ERROR: Tokenized script + Windows 95
RaphaelPereira Offline
Fresh Scripter

Registered: 2005-05-17
Posts: 13
Loc: Rio de Janeiro, Brasil
it can be...

the error:
>>> KiXtart 2001 <<<
ERROR: A cryptographic service handle could not be acquired
Error: (0x80090016/-2146893802)!

other fix not applied: "Removed '2001' text from exception messages."
_________________________
Raphael Pereira

Top
#151256 - 2005-11-10 05:37 PM Re: ERROR: Tokenized script + Windows 95
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Try typing "wkix32 /?"

I've just downloaded the 4.51 package and I'm getting "KiXtart 2010 4.51" as the version.

Right-clicking on the exe shows it is build 207.

Top
#151257 - 2005-11-10 07:34 PM Re: ERROR: Tokenized script + Windows 95
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
indeed that "2001" sounds odd...
_________________________
!

download KiXnet

Top
#151258 - 2005-11-11 01:50 PM Re: ERROR: Tokenized script + Windows 95
RaphaelPereira Offline
Fresh Scripter

Registered: 2005-05-17
Posts: 13
Loc: Rio de Janeiro, Brasil
confirmed Richard, is this version.
_________________________
Raphael Pereira

Top
#151259 - 2005-11-11 02:23 PM Re: ERROR: Tokenized script + Windows 95
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
My guess is there is an older version being picked up on the path.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#151260 - 2005-11-11 05:22 PM Re: ERROR: Tokenized script + Windows 95
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
actually, he is right.
ruud did not fix the issue with 4.51

anyway, best way to test the new build is use @kix
tokenize a script with "@kix ? get $" in it.
if it fails, run it also untokenized.
_________________________
!

download KiXnet

Top
#151261 - 2005-11-11 07:34 PM Re: ERROR: Tokenized script + Windows 95
RaphaelPereira Offline
Fresh Scripter

Registered: 2005-05-17
Posts: 13
Loc: Rio de Janeiro, Brasil
it doesn't exist other interpreters in the path, and I always call the executable of the kixtart making reference to the complete path.
_________________________
Raphael Pereira

Top
Page 1 of 1 1


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 1172 anonymous users online.
Newest Members
StuTheCoder, M_Moore, BeeEm, min_seow, Audio
17884 Registered Users

Generated in 0.086 seconds in which 0.031 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org