Asp.net page specified location insertion Photo (2) in word document

    word document into page insert a picture realized, local operation is OK, but publish to IIS on the error,

  Error information: retrieving the CLSID of the COM class factory {000209FF-0000-0000-C000-000000000046} assembly failed due to the following error: Class not registered 80040154

       To check the information found through word related components installed on the server or directly install Office , did not find the relevant components in the server install Office. After installation is complete, and the error

  Error information: retrieving the CLSID of the COM class factory {000209FF-0000-0000-C000-000000000046} assembly failed due to the following error: 80070005 Access Denied

      solution:

      Run "dcomcnfg", open the DCOM configuration program. (Or Start → Settings → Control Panel → Administrative Tools → Component Services → Computer → My Computer → DCOM configuration)

      Locate the Office components, the "identity" tab the user to "Interactive User."

Set select the "Security" tab in the "Use custom configuration permissions", click "Edit."

Add user EveryOne, manually add

 

Such permission would configured, function properly.

 

Guess you like

Origin www.cnblogs.com/wendy0217/p/10980868.html