I have a program that makes calls to Word 2010 through IIS. When the process is finished WORD is supposed to close. These steps are performed by a service account, labeled "WORD"
However, temporary files for for are created in the following folder:
C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Word
I do not understand why these files are getting created in this location i.e. under default
The other problem is the files created here are locked and cannot be deleted, even though WORD has closed. As a side effect of this problem, since the files are locked, new users who try to log on to this particular server get cannot log on and get the error :
"Profile not available"
The reason this happens is that when a new profile is created, the system tries to copy the default user folder to the new user. The copy process fails because in the Content.Word folder are temp files that cannot be copied as they are locked by WORD. Hence the creation of the new profile fails, and the user cannot logon.
I am going to change the default location for temp files for WORD, so hopefully this resolves the profile issue, but having these temp files locked indefinitely is causing the IIS process to crash.
It seems to be some sort of bug in Office 2010. I cannot change the version of WORD at this time.
Any suggestions on how to fix?