Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046}

前端 未结 2 492
深忆病人
深忆病人 2021-01-20 00:16

i use Windows XP_SP_3 and IIS 5 (local host), build site with asp.net4 and use this code:

Application appClass = new Application();
Document wordDoc = appClas         


        
2条回答
  •  感动是毒
    2021-01-20 01:00

    Start Internet Information Services (IIS). Right-click your application's virtual directory, and then click Properties. Click the Directory Security tab. Under Anonymous access and authentication control, click Edit. Make sure the Anonymous access check box is not selected and that Integrated Windows authentication is the only selected check box. Configure ASP.NET to use Windows authentication with impersonation, use the following configuration

    ...
    
    
    ...
    

提交回复
热议问题