Search code examples
asp.netiis-7openoffice-calc

OpenOffice Dll Not Working After Deploying in IIS Server


I have created an ASP.NET application in which I am creating an OpenOffice .calc File and storing it to my project folder.. Everything works fine in local machine.. But if I deploy it to IIS it is not working... What will be the reason??

Error I'm getting is: Could not load file or assembly 'cli_uno.dll' or one of its dependencies. The specified module could not be found.


Solution

  • Had same problem, i just changed in dcomcnfg (in DCOM configuration) properties for OpenOffice. Change in Identity tab to interactive user.

    Btw. check in your IIS7 APPPOOL (advanced settings) what Identity is set, mb it dont have premissions (try NetworkService, if not working go LocalSystem <- not recomemnded, i think it was about security)

    Btw2. Oh and i forgot. Under Identity in II7 apppool u have loadUserProfile - set it to true

    Also, it can be in DCOM configuration in Localization tab, try this too if its not working.