Solved

S - Word does not open so I can see the WIndow

Posted on 2008-10-27
6
387 Views
Last Modified: 2013-12-06
Hi,

So I am executing a runrmtcmd from a iSeries terminal emulation screen to a window server running Microsoft Windows 2003 Server running Office 2003.  When I check off the command to kick off a word document, it does not open word on the server (if I am waiting the server via VNC).  

When I do this to a Windows 2000 Server running Office 97, it does popup.  Any ideas ?

Thanks,
VSACIT
0
Comment
Question by:VSACIT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 22816470
Configure the service to allow it to interact with the desktop.

Control panel - Administrative Tools - Services - Log On tab - Allow Service to interact with desktop.  

It is probably opening a hidden window that belongs to the service, so the Word window is not visible to your interactive session.  You can test this theory by opening Task Manager, displaying tasks for All Users, and seeing if there is a instance of Word open under the appropriate user associated with the Remote Command service.

You will also need to configure the Incoming Remote Command service to run under the profile of the logged-on users.  If multiple users are connected to the terminal server, you may get unpredictable results.

If you want to duplicate as closely as possible the old functionality, check out all of the configuration options for both the service and the Incoming Remote Command configuration in Client Access Administration.

It isn't recommended to run in this configuration on a server (run as logged-on user + allow servcie to interact with t desktop), since it is possible that multiple users will be logged on at once (or none).  You would normally use this feature only on a workstations, since Windows limits workstation OS's to a single concurrent logon.

- Gary Patterson
0
 

Author Comment

by:VSACIT
ID: 22820280
The IRC service is already set to Allow service to interact with the desktop.   Nope, WinWord.exe shows up by itself in task manager, like it normally would if it opened on the screen.  

My eyes have been cracking from the 6 hours I spent yesterday duplicating the settings as much between the old server and the new one.  :0)  I am the only one who logs into this server, so I am not worried about multiple people attempting to login to this server.  

Agreed, it should only be done on workstations, but these are the cards I have been dealt....

0
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 22823446
Do you actually need the document to pop on the screen, or are you performing a function (like running a macro or printing) that can be done in a non-visible window?

What account is the Remote Command service running under?  If it isn't running under the Local System account, try changing to the Local system acct and restarting the service.

- Gary
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:VSACIT
ID: 22831143
we need them to pop open so we can see errors if they come up (like fields having too much data, ODBC error, etc.).

It has been tried as Local System, domain admin, and same ID as the ID actually logged into Windows.  Same behavior for all three.
0
 
LVL 35

Accepted Solution

by:
Gary Patterson earned 500 total points
ID: 22835252
I have seen the behavior that you describe fairly recently at a client site, but since the application didn't need to interact with the user, it was no problem.  They are no longer running the application in question, since we retired that particular set of applications (and everything else that depended on IRC).

We don't generally use nor recommend IRC due to security concerns, so when I have to do this particular sort of job, I often use a client/server data queue application.  You might find that to be a nice solid solution (and pretty fast and easy to implement) in this case.

For example, one client had a green-screen application that need to open a PDF for the user to view on the workstation.  We just wrote a simple little data queue application.  On the AS400, the application pushes the name of the document to open onto a data queue (QSNDDTAQ API), and on the workstation, we created a little program that runs in the system tray at session start-up that watches the AS/400 data queue and then opens the document.  Works like a champ, and can be adapted to just about any purpose.  Plus it doesn't create the exposure that the IRC service does, since the receiving application can filter the incoming requests any way it like to keep random commands from being executed.

Don't see your OS version, but here is a link to the V5R4 iSeries Access Programming section of the Information Center.  You'll find links and examples there in a number of common PC programming languages.  If you can't find a data queue example in your programming language of choice, post back and I'll see if I can help you find one:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzaik/rzaikoledbprovider.htm

- Gary Patterson  
0
 

Author Closing Comment

by:VSACIT
ID: 31510492
Thanks for your help...
0

Featured Post

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows 2008 set profile 9 62
VBA Split word document every 5 pages of word document 3 63
Remote desktop connection frequent connection lost 5 101
Lenovo server installtion 1 29
I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.

751 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