Skip to main content

Hi there,

I have a number of FME Workflows on our GIS server that successfully run via scheduled tasks and bat file. However this latest one I have created only runs under my account and not the service account. The difference between this and other workflows is that this one is connecting to web services (Vicmap as a Service). I have made sure the service account has full permissions on any folders it is writing to as well the FME Programs folder. We are currently on FME Workbench 2022 but will soon be upgrading to the latest license structure.

Do I need to consider any other permissions when dealing with web services?

 

Regards,

Josh

Are you able to check the log? My only guess would be some kind of Authentication and/or firewall issue.


Thanks for the response. The log in Event Viewer shows an “Action Failed” with 

 

Task Scheduler failed to complete task "\Microsoft\Windows\CertificateServicesClient\KeyPreGenTask" , instance "{af9771d5-5594-4cf4-8a75-75aadf082da2}" , action "NGC Pregeneration Task Handler" . Additional Data: Error Value: 2148073520.

 

and “Action Start Failed” with 

 

Task Scheduler failed to start instance "{af9771d5-5594-4cf4-8a75-75aadf082da2}" of "\Microsoft\Windows\CertificateServicesClient\KeyPreGenTask"  task for user "NT AUTHORITY\SYSTEM" . Additional Data: Error Value: 2148073520.

 

I’ll check with my IT team now.

 

Thanks again.

 

Regards,

 

Josh


I ended up opening FME under the service account and realise the SQL connections needed recreating with the Windows logon for that account, plus I one of the tables I had to drop and then run the job under this account to recreate it. The fact that it was created under my SQL login must have meant the service account couldn’t drop it to recreate it.

 

Thanks,

 

Josh


@joshuajames1979  Glad you got that working. I just ran into something similar. Trying to diagnose now. Gremlins 😂


Yes it can be mystery sometimes. I'm scared to make any tweaks.


I resolved my issue today. All of a sudden I was getting an an error in flow about not being able to access fgdb at a shared file location. Said make sure has not been saved in a newer version. ArcObjects error -1.

Turns out the service account had been removed from the User Group granting read/write privs to that location. Gremlins.


Reply