Hi,
Anyone tried using SOEArchive function? I am testing it out and currently getting the error: "Failed to write data - They system cannot open device or file specified. I could not find any reference to this error message.
TIA
Hi,
Anyone tried using SOEArchive function? I am testing it out and currently getting the error: "Failed to write data - They system cannot open device or file specified. I could not find any reference to this error message.
TIA
Hi Mark ,
I have seen a report of this error in a previous case. It was related to Citect runtime trying to write a binary file to C:\ and being blocked by UAC of Windows. The work around suggested was:
Please also be aware that archiving will commence according to the values defined for the "ArchiveAfter" and "KeepOnlineFor" parameters. See online help for more info:
gcsresource.aveva.com/.../InitiateArchivingwithaCicodeFunction.html
Hi Oliver,
Thanks for the response. I discovered this myself yesterday, I ran the citect runtime as administrator to check if it is just a file permission issue.
I played around those two parameters and was able to get some archiving after I played around the date time setting on my computer. I tried just to set the computer date to more than a week and got some data archived in the folder.
regards,
Mark
Hello mark ,
i think that i am currently facinf the same problem
i have configured the archiveafter to 0 ,
And keeponlinefor for 6 weeks ,
i made an event as : SOEArchive("C:\Archiving Folder") ,
i took the output of this function and it gives me the number and it gives me the numbe 537
which indicates that the operation wasnt successful ,
and i want to know where i made things wrong ,
because i have enabled the UAC ,
and i dont know exactly what do you mean by running the runtime as administrator , do u mean to login as user who has the role of an administrator ?
and btw i want to know when data are archived they are archived in which format ?
Hi Yahya,
You need to run citect runtime as administrator (windows account). The format is very similar to the database files you see in the alarm server folder.
So I cannot have those archives as excel or text ?
I have run it as administrator but still nothing happens , also I don't see any notification in the soe page , it gives me nothing other than that tye dismount was successful
I didnt know that archiving data was this hard in citectscada
So I cannot have those archives as excel or text ?
I have run it as administrator but still nothing happens , also I don't see any notification in the soe page , it gives me nothing other than that tye dismount was successful
I didnt know that archiving data was this hard in citectscada