Page 1 of 1 1
Topic Options
#4463 - 2000-10-12 11:09 AM Correct ID with command logevent ...
Anonymous
Unregistered


When i use the LOGEVENT command in my logon-script, i get a strange message in my event log:

quote:
The description for Event ID ( 0 ) in Source ( LogonScript ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: The logonscript started.

Do i have to use other ID's? Or do i have to declare my own ID's in the registry or something? Does anybody knows?

I use the following command:

code:
LogEvent( 0, 0, "The logonscript started", "" , "LogonScript")


Top
#4464 - 2000-10-12 01:36 PM Re: Correct ID with command logevent ...
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

It is a known problem. Your message will be inserted in the eventvwr log. We skip the firts part of reading.

Attention for the length of the string you want to insert. About 900 characters are possible. Greater values aborts your kixtart script.
Greetings.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#4465 - 2003-08-11 11:54 PM Re: Correct ID with command logevent ...
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
Has this ever been addressed/fixed?

I'm getting the same messages in 4.21
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#4466 - 2003-08-12 01:34 AM Re: Correct ID with command logevent ...
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
See also Event Logging with Custom Message DLL
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


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

Who's Online
0 registered and 640 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.05 seconds in which 0.024 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