Problems with office automation in asp.net. I can use alternatives such as open-office, if I knew how

后端 未结 6 1203
天涯浪人
天涯浪人 2020-12-17 04:10

I have a ASP.NET 2.0 web application that should upload a ppt file and then extract its slides to images. For that I have imported office.dll and Microsoft.Office.Interop.Po

6条回答
  •  一整个雨季
    2020-12-17 04:54

    Don't ever use Office Interop from an ASP.NET application. See Considerations for server-side Automation of Office.

    However, if you have no alternative, on Windows Server 2008 you need to create the following directories to get this to work:

    Windows 2008 Server x64: C:\Windows\SysWOW64\config\systemprofile\Desktop Windows 2008 Server x86: C:\Windows\System32\config\systemprofile\Desktop

提交回复
热议问题