-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With a windows service, Word file conversion error #13
Comments
Are you running this service under another user? |
If so then make sure you have given this user launch permissions for the different office applications with this tool --> https://docs.microsoft.com/en-us/windows/win32/com/setting-processwide-security-using-dcomcnfg |
The service running with the same user as the one with which word is installed. |
The problem is not DCOM. |
I must add that "C:\Windows\System32\config\systemprofile\Desktop" must be created through windows explorer (and not a dos command line) as there is a Windows file redirection (that costs me a lot of days..). |
By launching the conversion of a word document in a webservice, I have the error "The file 'doc.docx' seems to be corrupt, error: Object reference not set to an instance of an object".
Is there a special configuration for windows services? The same conversion from a console application works.
The text was updated successfully, but these errors were encountered: