Click here to Skip to main content
15,178,967 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Suddenly i am getting this error
"Can not create work file. Check the TEMP variable in the Autoexec.bat file." on production server.

I am readying word template and replace bookmarks with values. it is working fine in development server and earlier it was working nice on both server i am
not able to diagnose. Can anybody expain the solution.

Thanks
Posted
Updated 24-Apr-11 5:17am
v2

1 solution

See if this KB article helps you:

http://support.microsoft.com/kb/302629/en-us[^]
   
Comments
mahesh__kumar__sharma 21-Apr-11 16:24pm
   
Thanks for your reply.
I read it but it didn't solve my problem.
Nish Nishant 21-Apr-11 16:24pm
   
So do none of those causes apply to you?
mahesh__kumar__sharma 21-Apr-11 16:27pm
   
yes. The OS is Windows-2003, Inerop Office 2003.
Nish Nishant 21-Apr-11 16:32pm
   
Yeah although the article says Word 2000, it is likely that the 3 causes mentioned there would be the same or similar with later versions too. So check to see if any of the 3 causes are true in your case.
mahesh__kumar__sharma 21-Apr-11 16:34pm
   
i went through this possibilities but none of them is applicable.
Nish Nishant 21-Apr-11 16:36pm
   
On this deployment machine, can you directly open the template with Word?
mahesh__kumar__sharma 21-Apr-11 16:40pm
   
yes, even it write doc file in directory but not execute more than this. and before this it was smoothly working by last 3 months.
mahesh__kumar__sharma 21-Apr-11 16:41pm
   
Thanks for your intrest if you get anything please send me.
Nish Nishant 21-Apr-11 16:48pm
   
You may want to ask on a Word specific forum, that may give you better responses.
Nish Nishant 21-Apr-11 16:48pm
   
Ok, so it's not a programming issue then. If Word itself won't work, then how do you expect to automate this task?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900