Hi,
I've set up a batch file mytask.cmd
containing several lines like
dgn2sdo ...
call masterload.bat
cal masterload ...
...
It runs pretty well if I activate it in a console window, but I'd like to run it as a scheduled task when most users are offline. But the first dgn2sdo job just creates the output folder and then the task seems to loop forever. It is still running after hours without consuming any ressources (cpu, memory), while it takes about 30 min in an interactive session. There is no input needed so I've no idea why it is waiting.
Regards,
Holger
No, UAC is on and doesn't pop up on execution.The target folder is writeable, but I'll change it conforming to your proposal in order to be sure.
I would still assume that you are not allowed to write to that folder, I would think it's a security issue. In interactive mode, do you have UAC on ? I would assume it's off and you get to do things that would normally require a UAC confirmation. You will not get that as a batch job. Could you modify your destination folders so you only write to the your users' Documents folder, or the ProgramData folder ?
No, no reference files are attached.
This "error" occurs when there are no loader files created. When I run the .bat file in interactive mode everything works fine, running as scheduled task, no loader files get created and the log file is polluted with those lines
>>ERROR: Error encountered while translating instances = (The Property 'DGN_ID' is read only).
looks like for every element.
Also this is uaually not a error perse. This is just telling you that the graphical element dgn_id property is not read/write. I beleive the dgn_id is used on the extract process to define the unique identifier of the element in the drawing.