Sparx Systems Forum

Discussion => Automation Interface, Add-Ins and Tools => Topic started by: Drew Tebs on December 21, 2017, 10:59:34 pm

Title: Remote start "html export" on server
Post by: Drew Tebs on December 21, 2017, 10:59:34 pm
Dear all,

We have all our functional documentation listed in EA 13.5.
Our goal is to have this exported weekly to a sharepoint which is open to our customers.
We have set up a server specifically for this job.
Once logged onto this server we can run the entire export automated without any problem using a custom build program called EADumpConsole.

The problem we're having is in remote starting this job.
TFS 2017 shows no signs of any errors on the surface.
Once we look into the logging we see the error as listed below.

Can someone help us with figuring out where our problem lies?

Thank you,

Code: [Select]
2017-12-08T15:13:02.7717911Z Start : D:\Software\EADumpConsole\EADumpConsole.exe
2017-12-08T15:13:02.7717911Z last_exit_code: 0
2017-12-08T15:13:02.7717911Z D:\Software\EADumpConsole\EADumpConsole.exe : ended
2017-12-08T15:13:02.7717911Z Repository: 0: DBType=3;Connect=Provider=MSDASQL.1;Password=****;Persist Security Info=True;User ID=ea_owner;Data Source=EA_REPO;LazyLoad=1;
2017-12-08T15:13:02.7717911Z Package:    1: 0BAAFD24-05D1-4645-85B9-E05920BB3FF5
2017-12-08T15:13:02.7717911Z Output:     2: \\dev.wgwa.local\\dfs\\9446\\DATA\\TFS\\tfs_use_case\\html\\Edison
2017-12-08T15:13:02.7717911Z System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
2017-12-08T15:13:02.7717911Z    at EA.IDualRepository.OpenFile(String FilePath)
2017-12-08T15:13:02.7717911Z    at EADumpConsole.Program.RunHtmlBuilder(Object obj)
2017-12-08T15:13:02.7874137Z Deployment status for machine 'o9446earapp001.wgwa.local:5985' : 'Passed'
Title: Re: Remote start "html export" on server
Post by: Geert Bellekens on December 21, 2017, 11:13:42 pm

This will only work as long as a real user is logged in.

One of my clients has a dummy pc setup for this that is always logged in.
They start the script to export to html (and publish to sharepoint) as a scheduled task.

Title: Re: Remote start "html export" on server
Post by: Drew Tebs on December 22, 2017, 01:43:25 am
Hey Geert,

Thanks for the swift reply!
I'll let you (and everybody else on this forum) know if this has solved the problem.