Page 1 of 1 1
Topic Options
#206561 - 2013-01-15 10:25 PM Several macros produce a fatal exception on Win8
Henriques Offline
Fresh Scripter

Registered: 2007-09-13
Posts: 43
I recently upgraded to Windows 8 Pro on 2 computers at home, so there's no connection to a server. Before this I Always used a script printing all the macro's. I had never had a problem with this script not even with the macro's which were meant for a connection to a server. The content of these macro's was nothing with a length of 0.
However on windows 8 I get a "Fatal exception occurred" on the following macro's;
@comment, @fullname, @homedir, @homedrive, @homeshr, @longhomedir, @maxpwage, @primarygroup, @priv, @pwage and @rserver.
The last OS I was working with were windows7 ultimate 32b and windows7 home premium 64b.


Edited by Mart (2013-01-16 09:22 AM)

Top
#206562 - 2013-01-16 09:25 AM Re: Several macros produce a fatal exception on Win8 [Re: Henriques]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
Hi and welcome to the board.

I moved you reply to its own thread in the beta section because it was not related to the post you replied to.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#206855 - 2013-03-03 09:52 PM Re: Several macros produce a fatal exception on Win8 [Re: Mart]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
I tried these macros on Win 8 Pro, with kix 4.62, and 4.63 and did not experience the issues described above.
Top
#207247 - 2013-05-02 04:42 PM Re: Several macros produce a fatal exception on Win8 [Re: Allen]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
I just tried these macros again, with Windows 8 Pro 64bit using kix version 4.53, 4.62, and the just released 4.64beta1, and could not reproduce the error you are experiencing.
Top
#207248 - 2013-05-02 05:09 PM Re: Several macros produce a fatal exception on Win8 [Re: Allen]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4396
Loc: New Jersey
On a standalone, non-domain PC?
_________________________
Actually I am a Rocket Scientist! \:D

Top
#207250 - 2013-05-02 07:58 PM Re: Several macros produce a fatal exception on Win8 [Re: Glenn Barnas]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
Yes
Top
#207257 - 2013-05-03 11:28 PM Re: Several macros produce a fatal exception on Win8 [Re: Allen]
Henriques Offline
Fresh Scripter

Registered: 2007-09-13
Posts: 43
I modified the script and give you the output screen;

Dim $PIET[3]
? "Start script"
? @KIX + @CRLF

$PIET[0]= @BUILD
$PIET[1]= @SCRIPTDIR
$PIET[2]= @KIX
$PIET[3]= @DOS

? $PIET[0]
? $PIET[1]
? $PIET[2]
? $PIET[3] + @CRLF

$PIET[3] = @FULLNAME
? $PIET[0]
? $PIET[1]
? $PIET[2]
? $PIET[3]

? "*" + @COMMENT + "*"
? "*" + @FULLNAME + "*"
? "*" + @HOMEDIR + "*"
? "*" + @HOMEDRIVE + "*"
? "*" + @HOMESHR + "*"
? "*" + @LONGHOMEDIR + "*"
? "*" + @MAXPWAGE + "*"
? "*" + @PRIMARYGROUP + "*"
? "*" + @PRIV + "*"
? "*" + @PWAGE + "*"
? "*" + @RSERVER + "*"


The output (Dos screen)


c:\scripts>testje.kix

Start script
4.64

9200
C:\scripts
4.64
6.2

c:\scripts>

------
So when @DOS is used there's no problem in the array, they are all printed. At the moment I changed the 3th element to @FULLNAME there's nothing printed.

Top
#207258 - 2013-05-03 11:42 PM Re: Several macros produce a fatal exception on Win8 [Re: Henriques]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
My results, which seem normal to me

 Code:
Start script
4.64

9200
D:\scripts\korgtests
4.64
6.2

9200
D:\scripts\korgtests
4.64

**
**
**
**
**
**
*42*
*None*
*ADMIN*
*149*
**

Top
#207259 - 2013-05-03 11:50 PM Re: Several macros produce a fatal exception on Win8 [Re: Henriques]
Henriques Offline
Fresh Scripter

Registered: 2007-09-13
Posts: 43
The same script with 4.63 produces;
c:\scripts>\scripts\kix32 testje.kix

Start script
4.63

9200
c:\scripts
4.63
6.2
Fatal exception occurred.

c:\scripts>

Top
#207260 - 2013-05-03 11:59 PM Re: Several macros produce a fatal exception on Win8 [Re: Henriques]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
Just some ideas to try...

Check the Event Logs
Disable AV
Update Network Card Drivers
Try the Script in Safe Mode

Top
#207261 - 2013-05-04 12:22 AM Re: Several macros produce a fatal exception on Win8 [Re: Allen]
Henriques Offline
Fresh Scripter

Registered: 2007-09-13
Posts: 43
Ok. The Program Log gives the following error;
+ System

- Provider

[ Name] KIXTART

- EventID 1722

[ Qualifiers] 0

Level 2

Task 0

Keywords 0x80000000000000

- TimeCreated

[ SystemTime] 2013-05-03T22:14:30.000000000Z

EventRecordID 4175

Channel Application

Computer ninja

Security


- EventData

UserGetInfo failed Error : De RPC-server is niet beschikbaar. (0x6ba/1722)

THE is not available.

Top
#207262 - 2013-05-04 01:09 AM Re: Several macros produce a fatal exception on Win8 [Re: Henriques]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
If you do a forum search for 1722 you will see this issue has popped up over the years, with no real solutions. I did a quick google search and didn't find much in the way of solutions, but many instances of this happening, even outside of kixtart.

One article I found that had a fix is below...
 Quote:
I found the problem. The RPC server is unavailable because the service couldn't function properly because it's dependancy (server service) couldn't start... I checked the dependencies through the server's properties and I looked through services and started those required dependancies to start the server service, once that started... Everything functioned properly. Sorry, didn't mean waste the thread. I just hope this thread will come handy to those who stumble upon it through google with a similar problem. xD

Top
#207273 - 2013-05-06 10:20 PM Re: Several macros produce a fatal exception on Win8 [Re: Allen]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Try the script on a completely different computer and see what you get.
Top
Page 1 of 1 1


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

Who's Online
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.065 seconds in which 0.023 seconds were spent on a total of 13 queries. Zlib compression enabled.