Solved

Dynamics GP not opening Word Templates - Citrix Metaframe

Posted on 2012-03-28
6
1,405 Views
Last Modified: 2012-03-30
This is an issue I have been trying to solve for a while.

1.  I am using Citrix Metaframe 4.0.1 (old version I know)
2. I am using Microsoft Word 2007 SP2
3. I am using Dynamics GP 2010 R2
4.  This is all running on Microsoft Windows Server 2003 R2 SP2

Here is a rundown:

I have a project to have our users print POs using the Word Templates feature integrated into GP 2010 R2.  I have assigned several Word templates to the POP Blank Form Modified report and begun testing.

When I tell GP to print a PO, by default I am presented with the template option and choose to print to screen.  At this point, it appears to process the template but then Word does not open showing the PO on the screen.

In my temp folder, I see that the Word document has been created and I can then open in manually to see the template.  This is an issue because I don't want our users to have to browse to the temp folder to open their POs.

I have done tons of troubleshooting both by myself and with Microsoft support and I am going to try to include it all here.

1. I have tried using the Citrix Program Neighborhood as well as a direct RDP connection to the server to print the templates and the same issue happens.
2. I can use the GP Template Configuration to modify the templates and Word will open up when I do that.  It will just not open when I go to render the template using a PO.
3. Microsoft sent me a tool called testsaveas.exe that has me enter a docx file into a field and then I click a button to open the file.  The file is supposed to open in Word when I click this button but it does not.  So this seems to eliminate GP as the issue as it is not involved in this test at all.
4.  They instructed me to use the same tool with a PDF or TXT file and the same issue happens.  The files never open up in Acrobat or Notepad.  This seems to eliminate Word as the issue  as well.
5.  At this point Microsoft is suggesting that Citrix is the cause as they have pretty much eliminated any of their software as the cause.  I have googled this issue and have found at least 1 other user that has had this exact problem but there is no solution.  Microsoft even acknowledges that they have had another call with the same issue but the user ended the support before it was resolved.

I will try to provide any other requested information as I really would like to get this resolved.  Thanks for any help you can provide.
0
Comment
Question by:hmsmfgtech
  • 3
  • 3
6 Comments
 
LVL 10

Expert Comment

by:Abdulmalek_Hamsho
Comment Utility
I assume you have tried to give "Everyone" full access on the Temp folder.

I have the following questions:

1- Do you have any pending processes in GP after not getting the file opened? This can be checked in Process Monitor in GP

2- Any hanged process in Windows Task Manager?

3- Do you face this issue when you log in locally to this machine?

4- What's the exact path of the Temp Folder?
0
 

Author Comment

by:hmsmfgtech
Comment Utility
Although the administrator and all other users I have tried have full access to the temp folder, I still tried to grant Everyone Full Control and I got the same result.  I even granted everyone full control to c:\temp even thought it was not being used.

1. I looked at the Process Monitor after trying to render a template and the only thing I saw was under Queue: Timed, Location: Local

Change User Date after 12:00 am. (1)
Check for Reports To Publish(1)

2. Windows Task Manager doesn't report any hung processes.

3. I have had the issue while logging in through Citrix, RDP and locally (Vsphere console since this is a vm)

4. c:\documents and settings\administrator.hms\local settings\temp
0
 
LVL 10

Accepted Solution

by:
Abdulmalek_Hamsho earned 500 total points
Comment Utility
I don't know about testsaveas.exe and its job, but I would like to know the following:

1- Does testsaveas.exe work in your machine (not the server) perfectly?

2- In the server (Citrix), have you tried to open files located in the Desktop?
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

Author Comment

by:hmsmfgtech
Comment Utility
1. Yes the TestSaveAs.exe works when I use it on a different computer.

2. I have tried to open files in multiple locations including the desktop with the same result.
0
 

Author Comment

by:hmsmfgtech
Comment Utility
I have found a solution to this issue.

The problem was created by the Citrix Memory Optimization Shell Extension.  Apparently, when opening Word from GP, this extension intercepted the call and prevented it.

I have temporarily disabled the shell extension using the ShellExView Tool from Nirsoft.  Everything worked as it should after this change and there has been no ill effects.

I will of course reply to this thread if I see any ill effects come up.

I am going to reward the points to Abdulmalek since he made an attempt to assist me with this issue.  Thank you!
0
 
LVL 10

Expert Comment

by:Abdulmalek_Hamsho
Comment Utility
But I wonder why were you facing the issue when you log in locally !!!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
#Citrix #Citrix Policies #XenDesktop #VDI #POC #Citrix Univeral Printer Driver #Citrix UPD
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now