Saturday, May 10, 2008

Office Troubleshooting: Word appears to hang when you open some docs

Word appears to hang when you open some (but not all) documents - documents take a long time to open

Consider the following scenario: You replace an existing file server with a new one. During the testing phase, both the new server and the old server are online. Everything works great. During the operational phase, you take the old server offline. Suddenly, users complain that Word hangs on their client computers when they open some--but not all--documents from shared network locations or from their local drives. What happened?

Every Word document has an attached template. If that template is missing, Windows XP will try to locate the missing template multiple times. If the missing template was located on the old file server that has been taken offline, Windows XP won't be able to find the template. The process of locating a missing template may cause a Word document to take longer than expected to open. Word will appear to hang. If you wait long enough, however, the document will open eventually. It will take longer to open the document when you are connected to the network compared to when you are disconnected from the network.

If Word appears to hang because a document is taking a long time to open, you can view the attached template for the affected document using the following steps.

Word 2007
1) Be sure the affected document has been copied to the client computer. Disconnect the client computer from the network. Open the document.
2) Click the Office button and click Word Options to open the Word Options dialog.
3) In the Add-Ins options choose Templates in the Manage list and click Go. The Templates and Add-ins dialog is displayed.
4) The path and file name to the attached template is displayed in the Document template field.

Word 2003 and earlier versions
1) Be sure the affected document has been copied to the client computer. Disconnect the client computer from the network. Open the document.
2) From the Tools menu choose Templates and Add-Ins. The Templates and Add-ins dialog is displayed.
3) The path and file name to the attached template is displayed in the Document template field. The value in the Document template field might look something like "\\old_server_name\old_path\template_name.dot".

NOTE: If the attached template is Normal.dotm (for Word 2007) or Normal.dot (for Word 2003 and earlier versions)--and the template is located in the default location in the user profile on the client computer--the field will simply display "Normal". If this is the case, then something else is wrong; it's not an attached template issue.

What can you do?

You could bring the old file server with the old template files back online so that the Windows XP client computers can find them. This is usually not an option and it would require you to maintain an old file server into the future.

Fortunately, Microsoft Knowledge Base article 830561 “Documents that have attached templates take a long time to open in Word 2002 and in Word 2003” at http://support.microsoft.com/default.aspx?scid=kb;EN-US;830561 includes information about workarounds that you can use.

In my experience, the favorite workaround in KB 830561 among IT professionals appears to be “Method 2: Use a custom Visual Basic Application to change the attached template to the global template (Normal) when a new document is opened.” This is because changing the attached template to be the Normal template will prevent the problem from happening again in the future. However, you need to ask the affected users first how they are using Word, because you might be permanently breaking an important relationship between the document and its attached template.

If the "Automatically update document styles" option is selected in the Templates and Add-ins dialog for an affected document, this means that the user who authored the document expects to be able to change styles in the attached template and then have those modifications affect the styles in the document when the document is opened.

No matter which workaround you choose to use from Knowledge Base article 830561, be sure that the affected documents are being programmatically opened on a computer that has been disconnected from the network to make the process complete more quickly.

If you don’t want to use a custom Visual Basic program to resolve the attached templates issue, you can leverage Word's attached template discovery logic to attach a new template to an affected document. You can do this by copying the existing template files from the old file server (or the new file server, for that matter) to specific locations on the client computer. Alternatively, you can create new template files using the same names as the missing templates and then copy those new template files to specific locations on the client computer. Word will attach the appropriately named template file to an affected document when the document is opened. Once again, be sure that the affected document has been copied to the client computer and disconnect the client computer from the network in order to speed things up.

Word will look for the missing templates in the following locations on the client computer in the following order.
Office 2003 on Windows XP
C:\Documents and Settings\\Application Data\Microsoft\Templates\
C:\Documents and Settings\\Application Data\Microsoft\Word\STARTUP\
C:\Program Files\Microsoft Office\OFFICE11\

Office 2007 on Windows XP
C:\Documents and Settings\\Application Data\Microsoft\Templates\
C:\Documents and Settings\\Application Data\Microsoft\Word\STARTUP\
C:\Program Files\Microsoft Office\Office12

Source: http://blogs.technet.com/ryan_christiansen/archive/2008/04/28/word-appears-to-hang-when-you-open-some-but-not-all-documents-documents-take-a-long-time-to-open.aspx

Sunday, November 04, 2007

Floating at 431km/h

Nothing much really, would like to take this as an excuse to update my overly outdated blog...

I missed out the chance to try out the Maglev (Magnetic Levitation) train in Shanghai during my first trip there and this time around I made it up to myself at last.


30KM in 8 minutes, phew......

Friday, June 08, 2007

A series of unfortunate events

A supposed business trip to Busan, Korea on Sunday morning ended up me hanging around at KLIA for a few hours because of an overbooked flight to HK. Check-in counter was still open and being put into the waiting list didn't help much either. The sympathetic counter manager requested me to see her after the flight to see what can be done.

Arriving at the ticketing office on the 3rd floor 2hrs++ later, she managed to book and confirm a flight departing to HKIA the same time next morning so I left feeling better that my superior won't taruh me kau kau (of course still kena taruh a bit after telling him).

Gone home and do what I was suppose to do, meeting up a pair friends from Penang and sending my car for a wash. Getting nervous of shit might happen again, so being a little cautious and I checked in my flight online and chosen one of the only 4 seats left out of the hundreds.



Things went the way it should the next morning and finally I touched down at HKIA to connect my flight to Busan. I ran towards the transfer counter and to my surprise, they said there's no flight from HK to Busan today, I was in daze and wondering how could this be? I referred back to my itinerary and then furiously thinking how could that stupid counter manager booked me for a flight where the connecting flight to my final destination is two days away, what the fuck am I gonna do for two days in HK, this is a fucking business trip alright, not a multiple cities stop-over vacation.

What is done is done, now I'm in the middle of nowhere (not exactly no where la), back to reality, I got my passport stamped (yeahhh... finally been to HK) and continue with my mission. If you have watched Amazing race (I'm sure you have la otherwise you won't be reading my blog because a country without TV would not have internet access also) Running around HKIA (mind you, it's one of the biggest airport & busiest in Asia) like the desperate Amzing Race contestants looking for the earliest possible flight to their destinations.



After a luggage pulling marathon, restless standing at various airline counters, Cathay staff managed to find, book & confirm me an alternative which was to touch down at Incheon aiport at Seoul and departing from Seoul to Busan the next morning at 9am (Better than nothing, IMHO)

Finally got to the Busan office and life gone back to normal. Meeting up some of the staff for the first time and it was a public holiday the next day, so they took me out (there I was preparing to get to passed out, I've been warned that this would happen) Having eaten the freshest Sashimi ever in my life (mind you, the fish head & mouth was still moving where only the bones was left intact with the head) Also consumed various type of UMOs (Unidentified Marine Objects) that night and of course not forgetting the constant pouring of Shoju... OK, the night went by, I got back to the hotel in semi-conscious state and I shot that photo the next morning:



Oh... no no, this is not the end yet, bare with me I know this is a little longer than my usual post but since there's nothing much I can do now I might as well make use of free time that I have...

Just a couple of hours ago, I've finished what I've came here for... so I packed my bag and say goodbye to the local staff here and a colleague of mine decided to send me back since I couldn't get myself a cab (it was raining heavily and the taxi booking line all jammed up).

He dropped me off and that was my nightmare started, OMFG... I couldn't find my hotel key card (you must be thinking, duh... what the hell, get the hotel to issue me a new one) Yeah sure, that was the least that I was worrying about.... because I couldn't even locate my wallet which I have my Malaysian IC, Amex Corp. Card, My own credit card, and the USD300 dollars (RM1,039) in there!!!



Called up the office and they said there's nothing there, didn't know what to do except to get a new key card from the hotel and start logging on to look for emergency contact numbers to report my lost cards. To my surprise, the front desk exec asked me for my name and telling me that someone found my wallet and left her with his name and contact number, MY GOODNESS! (I'm thinking... I must've done a lot of good deeds all these while... :)

According to her, the person (Mr. Kang) will be returning to Busan later this evening and retrn the wallet, what a good honest Samaritan. Well, the only thing besides blogging that I can do right now and keep my fingers crossed and it remains to be seen whether the cash still intact or not. I have the feeling he is the first person to came across my wallet, otherwise, bye-bye USD300 and hello bread and instant noodles for breakfast-lunch-dinner-&-supper!



I can't believe that I can actually blog in Korean interface too.... and this final incident is actually giving me the reason to post to my otherwise long-forgotten blog.

(credit cards had been made unusable prior to blogging this)

UPDATE: I met up with Mr. Kang the next afternoon and I got my wallet back with all the money, receipts, credit cards still intact, I was grateful and offered him a reward but he kindly turned it down. Giving out money is not really a Korean or Japanese to express your gratitude so I bought him a carton of spirits and some juices to show my appreciation.

Tuesday, March 20, 2007

Spiderman (Alain Robert) did it again

An idle Tuesday suddenly turned into an exciting and photo shooting spree... It all happened when the Frenchman aka The Spiderman was climbing up to Level 59 of Petronas Twin Towers, Tower 2 to be exact, not via the staircase but from the outside! Check the photos and videos we managed to capture.


The mobile reception is definitely better at this height...

I think I better start calling my lawyer now

Yea... please tell me where do I go from here....

Hmmm... just another 29 stories to go, shouldn't be a problem BUT there's a BIGGER problem here...

Damn, the authorities are gonna bring me back to jail again!


Saturday, January 20, 2007

My 1st Helicopter Ride

Captain: AHR4S to base, request for take off

Base: Copied that AHR4S, runway cleared for take off

Captain: Maximum Performance Take-Off required due to overloading, heheh...

Base: Request granted, go ahead and do watcha want.... I'm going to take a short nap, over!

Captain: Ai yai sirrr..... TQ!

(2 mins later...)

Me: Captain, request to have IFR turned off!

Captain: Why would ya wanna do that? Request denied!

Me: God damn it, we paid for this ride, alright!!?

Me: AHR4S to base, Houston we got a PROBLEM! The captain refuse to take request from us!

Base: Base to AHR4S pilot, you idiot!! Don't you remember customer is always right? Comply with whatever request they make alright!? They're here to promote VMY2007, you FOOL!

Captain: Copy that, sirrrr.......

(3 mins passed...)

Me: eh captain.... this ride is so boring, do some stunts, will ya?

Captain: Whatever you say, sir. How about a mid-air free dive from 5000ft?

Me & team: Sounds good dude.... go for it, also don't forget to do some 45 degree steep turns, P-factor quick stop and high-speed Touch 'N Go ya!

Captain: You guys really have the balls for it.... I'll throw in a high altitude slip for ya 'all!!!