WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Bug Reports >> Could not read eventlog - Error Code: 122
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1151444818

Message started by ecold on Jun 27th, 2006 at 11:46pm

Title: Could not read eventlog - Error Code: 122
Post by ecold on Jun 27th, 2006 at 11:46pm
I am monitoring a network drive on our file server. I am a domain admin and have every permission available to me. The job is not running as a service but manually. Below is the message I am getting via email.

Could not read eventlog - Error Code: 122
Description: The data area passed to a system call is too small.

Date/Time: 6/27/2006 5:41:12 PM
Computer: MO-COLDWELLE

This is a test to see if we want to buy this product so, please let me know ASAP what the problem might be.


Title: Re: Could not read eventlog - Error Code: 122
Post by Gert on Jun 28th, 2006 at 5:30am
Hi,

That is a strange message, I am not sure where it comes from. Does the same error occur if you monitor a local directory?

Gert

Title: Re: Could not read eventlog - Error Code: 122
Post by ecold on Jun 28th, 2006 at 1:56pm
Don't know but at the bottom of one email, I also got the following.

[watchDirectory:SPC] ERROR Could not read eventlog - Error Code: 6...
Could not read eventlog - Error Code: 6
Description: The handle is invalid.

Date/Time: 6/28/2006 2:22:25 AM
Computer: MO-COLDWELLE

Title: Re: Could not read eventlog - Error Code: 122
Post by ecold on Jun 28th, 2006 at 2:13pm
No, it works fine for local folders.

Title: Re: Could not read eventlog - Error Code: 122
Post by Gert on Jun 29th, 2006 at 5:26am
mmm, then it is probably a network issue. What is the operating system of the fileserver?

Gert

Title: Re: Could not read eventlog - Error Code: 122
Post by ecold on Jun 29th, 2006 at 1:55pm
Windows Server 2003 SP1 is the server where I am trying to monitor files. I am coming from a WinXP SP2 box.

Title: Re: Could not read eventlog - Error Code: 122
Post by Gert on Jun 30th, 2006 at 6:28am
It should work fine on 2003. Can you try to install/run on the fileserver itself? If it works there I guess it is a permission issue.

Gert

Title: Re: Could not read eventlog - Error Code: 122
Post by ecold on Jun 30th, 2006 at 2:04pm
We try to limit the software installed on that server. We have one big file server connected via fiber to a Terrabyte of drive space. That was part of the reason I wanted to test this app, so I didn't have to install it. I don't think it is a permission problem, I can run a script right now from my same PC that can read the event log on the fileserver. If it was a permission problem, that shouldn't work either. The FAST test of monitoring, worked without error. It only seems to be the event log.

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.