Permission Denied

  • 89 Views
  • Last Post 15 March 2018
smoothwood posted this 11 February 2018

Hello,

When I run below line in Export Script, I got Permission Denied error?

var excel = new ActiveXObject ("Excel.Application");

Could you please advise how to solve this issue?

Thanks

Donald

 

Order By: Standard | Newest | Votes
Ekaterina posted this 28 February 2018

Hello,

Could you please clarify what product do you use?

By default the scripts are executed by the "Network Service". Please make sure that all needed permissions are given to that service in your system.

smoothwood posted this 28 February 2018

Hi Ekaterina,

I am using FC11 - 11.0.6.2822 Distributed version

Even I added Network Service to Administrator group, I still get the same error, please see the screenshot

Thanks

Attached Files

Ekaterina posted this 14 March 2018

Hello,

Please check that Network Service has enough permissions in the folder/subfolders where the exported files are placed and that these files are not used by any other processes when export takes place.

smoothwood posted this 15 March 2018

Hello Ekaterina,

I don't think it's about the permission in the folder, even I only put below single code line, I still get the same error.

var excel = new ActiveXObject ("Excel.Application");

Thanks

Donald

Ekaterina posted this 15 March 2018

Hello,

Were you able to create on your machine a new Excel object with JScript not from the inner FlexiCapture script? Most probably it is not a FlexiCapture fault, please look for general help topics handling this type of problems with Excel, for example

https://stackoverflow.com/questions/10619805/vb6-excel-application-object-permission-denied

Close