Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Andreas1975 on June 10, 2013, 10:04:04 pm

Title: Windows Srv 2012 - Task Schedule - COM permissions
Post by: Andreas1975 on June 10, 2013, 10:04:04 pm
Hi.

I know there are several posts with similar topic, and I've spent weeks reading them, and try to get this to work.

I try to automate the generation of the html-report (using the java-api, since thats the language I can).

I kick it off using a bat-file, and that works excellent when going through the command prompt. However - Scheduling this as a Window Task (using same administrative user on Window Server 2012), I get error messages that very much seems to relate to COM-permissions that is described in several other posts.

I just cant figure out where on Windows Server 2012 I can configure this permission (if it is a COM-permissions issue)?

Anyone know, or can hint me in right direction?

thanks
/Andreas

Title: Re: Windows Srv 2012 - Task Schedule - COM permiss
Post by: qwerty on June 11, 2013, 05:18:26 am
You need a user to run EA.

q.
Title: Re: Windows Srv 2012 - Task Schedule - COM permiss
Post by: Andreas1975 on June 11, 2013, 05:42:43 pm
Yes, I have a user.
And with the same user the scripts goes excellent using the command-prompt, but not as a Scheduled Task (Wich is configured to use the same user).

I also tried another special user that I set all special OS permissions I could find ("act as part of operating system", "run as batch") etc... all thoose special permissions not even an Administrator has...

Still no success...

regards
Andrea