Security Privileges Moving Visio ASP App to Win2K3 Running IIS6

W

Woof

I'm having great fun (not) trying to set up the correct privileges so that my
ASP pages can access Visio 2007 using Microsoft.Office.Interop.Visio.

All runs great on local VS2005 machine - the problems start after moving to
production server (with a new install of Visio 2007).

Problems start at: Visio.Application visioApplication = new
Visio.Application(); Event Viewer shows:

The machine-default permission settings do not grant Local Activation
permission for the COM Server application with CLSID
{00021A20-0000-0000-C000-000000000046}
to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20). This security
permission can be modified using the Component Services administrative tool.

DOM config does not have a listed application with that ID, but has
Microsoft Office Visio Drawing with ID of
{00021A14-0000-0000-C000-000000000046}. So, I allow Local Activation for the
Network Service account on this app, and the Event Viewer error changes to:

The server {00021A20-0000-0000-C000-000000000046} did not register with DCOM
within the required timeout.

There is also now an application error of:
Faulting application VISIO.EXE, version 12.0.4518.1014, faulting module
VISLIB.DLL, version 12.0.4518.1014, fault address 0x0051ee82.

I have also tried changin privileges for VISIO.exe and VISLIB.dll for
explicit access from Network Service with no joy.

Can anyone please point me in the right direction?

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top