Problem with WORD 2010

Hello,

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?

Thanks,

Mark
LVL 1
mbudmanAsked:
Who is Participating?
 
JohnConnect With a Mentor Business Consultant (Owner)Commented:
Look through this Microsoft support article to see if it sheds light on your issue

https://support.microsoft.com/en-ca/help/2752331/guidance-for-relocation-of-iis-7-0-and-iis-7-5-content-directories
0
 
JohnBusiness Consultant (Owner)Commented:
"Default User" is a Microsoft user and so that is why you have this issue.

1. Open Word, Options and change the location of the temporary files to your own User folder or a neutral C:\temp folder that "Everyone" has permission to.

2. Restart your computer in Safe Mode and make sure your user name is a member of Administrators (or use a user name that is) and try to delete the files in Default.
0
 
mbudmanAuthor Commented:
I went into Word Options; The current file location that is used to save files is not in the temporary internet file location. How will changing this value make a difference?
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
JohnBusiness Consultant (Owner)Commented:
The Auto Recover location in my setup points to c:\users  \ ..me.. \AppData\Roaming\Microsoft\Word

I though this setting might change things.

I have a program that makes calls to Word 2010 through IIS. When the process is finished WORD is supposed to close.

Is it a program error?  Have you damaged Normal.dot ?  Try uninstalling and reinstalling Office 2010.
0
 
mbudmanAuthor Commented:
Unfortunately, I did not write the code for the program that I am trying to fix. For some strange reason, it writes temporary files to the default user. The system does use  a service account, but files are still written to the users\default\...\temporary Internet files\content.word

I would like to change this location and also ensure that WORD closes when the application finishes.

It seems to be a bug in WORD 2010 that causes temp files to be locked by WORD 2010.

I was hoping I could find some sort of viable solution. All I found was that other people encounter similar issues but no one has a working resolution.
0
 
JohnBusiness Consultant (Owner)Commented:
I think Word just does not know how to handle a non-Word folder. I would not class this as a Word specific bug. I think you will need to work on changing the program.
0
 
mbudmanAuthor Commented:
I was hoping to be able to modify these settings in the registry, but the posted suggestions that I have come across do not work.
0
 
JohnBusiness Consultant (Owner)Commented:
"Default" is secured so I am not surprised by your findings.
0
 
mbudmanAuthor Commented:
I know the problem is because of default. I am just trying to find a solution.

I have an update perhaps this will shed some light:

In IIS, a web site has been created as well as a subfolder; They both use .net 4.x

When IIS is stopped, I can delete the files in :

C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Word

The minute I start IIS,  and go to the website I create, the system immediately t populates this folder with 9 temp files that are locked and cannot be deleted.

I know it is not supposed to write to the user\default\... directory. How can I find the settings and change them to the correct location?
0
 
mbudmanAuthor Commented:
Thank you for your assistance
0
 
JohnBusiness Consultant (Owner)Commented:
You are very welcome and I was happy to help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.