launch Excel from an ASP Classic

Copper Contributor

For an older applicatioin I need to launch Excel from an ASP Classic application (Windows 10, IIS Version 10).

 

The code in that application ist like this:


    xlApp = new ActiveXObject( "Excel.Application" );

This works fine with Office 2010 and older.  Using Office 2016 or 365 Excel does not start and IIS shows following error:

 

    microsoft jscript runtime error '800a0046' permission denied.

 

Also an Excel background process appears in the task-manager, but does not start like it did with Office 2010.

 

Access rights in DCOM configuration (32 and 64 bit tried) are set like it worked with older versions.

Can somebody help?

What does cause this problem and how to solve it?
Is there an alternative to ActiveXObject?

0 Replies