Accord For excel workbook creation issue

We have developped a vbscript to import an SDFile and create an Accord for excel sheet. The script is launched by the 'run command on server' on a Windows PP server.
Actually the script is blocked during the loading of the accord template LoadAccordTemplate.xla and it never ended. The same script launched on the server in a windows console works fine. I suspect a permission or an environment setting issue but I can't find any help from the web.
best
olivier