We are working on an application which generates an MS word document and opens in the client machine where users can edit and save in the same server using Impersonation.
It worked in test environment but when moved to production it is giving problems.
When we logged into server generates a word document through UI and it is working fine but when we logged off from server it is throwing below exception.
Word experienced an error trying to open the file.
Try these suggestions.
* Check the file permissions for the document or drive.
* Make sure there is sufficient free memory and disk space.
* Open the file with the Text Recovery converter.
Can any one help this how to solve the above issue.
Your impersonated user(register either web.config or other way) has not proper permission in that directory in your production server. You just assign appropriate permissions to that directory to the impersonate user.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)