Author Topic: Windows Srv 2012 - Task Schedule - COM permissions  (Read 3474 times)

Andreas1975

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Windows Srv 2012 - Task Schedule - COM permissions
« 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


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Windows Srv 2012 - Task Schedule - COM permiss
« Reply #1 on: June 11, 2013, 05:18:26 am »
You need a user to run EA.

q.

Andreas1975

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Windows Srv 2012 - Task Schedule - COM permiss
« Reply #2 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