Microsoft Dynamics Integration Manager Error in Citrix Environment

wolverangel
wolverangel used Ask the Experts™
on
We publish Great Plains 9.0 through Citrix. Recently we have installed Integration Manager. The user launches GP in a Citrix session then launches IM from the GP console. The user can open and run the first integration no problem but when trying to open and run a second integration from within the same window, the following error appears: "The destination could not be initialized due to the following problem: All Microsoft Business Solutions - Great Plains windows and palettes must be closed before starting an integration."

There are no other windows open within the Citrix session. We have tried slecting "Close All" from the Windows menu within GP to no avail... we still get the error when trying to run the second integration.

The work-around is to close out of the GP session entirely and then re-launch the GP session in Citrix but this is cumbersome.

Any ideas out there?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Hi,

That is definitely strange, so no obvious answers at the moment.  Have you tried checking task manager from within the Citrix session to see if there might be a second Dynamics.exe process?

Steve Endow
Dynamics GP Certified Trainer

Author

Commented:
Well, there certainly are going to be other instances of Dynamics.exe since this is a Citrix server that holds dozens of connections at once. I verified this by connecting to it via RDP and then launching GP from the desktop. Task manager showed several instances of Dynamics.exe from the various Citrix connections at the time even before I started. I got the same results. I was able to run the first integration with no error (again, with multiple Dynamics.exe's present in task manager) but recevied the same error upon running the second integration.

I forgot to mention that I have to change companies within GP in between integrations.

Commented:
Sorry, I meant to ask if there is a second Dynamics.exe process running in the one user's Citrix session.  I assume there isn't, but just wanted to double check.

Based on the additional info, the two tests I can think of are:

1) Try performing the test after hours when no other users are logged into the Citrix server and when no other Dynamics.exe processes are running on the server. I don't think this is the issue, but it should only take a minute to test and rule it out.

2) You say that you are switching companies between integrations.  Have you tried closing and restarting IM when you switch companies / between integrations?  It could be a quirk / bug in GP or IM where after logging in to a new company, IM thinks there is a window still open.

3) Which version of GP you are?  I'll see if I can reproduce.

4) What is the full Integration Manager version number that you are on?  Just in case an IM service pack might have fixed it.


Steve Endow
Should you be charging more for IT Services?

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
Ah I see, well I can't invoke the task manager from within a user's Citrix session because we don't publish the entire desktop... just the app... but when logged on to the server via RDP, I can watch the task manager as a user tests the scenario and I don't see any additional instances of Dynamics.exe appear that are listed under that user's ID.

1) I tested on our stage Citrix server which mimics the production environment excatly but has no other users connected while I test. I watched the task manager as I tested. There were only one instance of Dynamics.exe and IM.exe throughout the test. However, I received the same error upon running the second integration.

2) I tried closing and restarting IM when I switch companies. I still get the error.

3) GP version: 9.00.0281

4) IM version: 9.00.0029

any other ideas? thanks for the follow up.

Commented:

Does this only happen in Citrix, or can you reproduce on a desktop as well?

Author

Commented:
It also happens from desktop as well.

Commented:
Okay, thanks.

If you don't mind giving me a day or two, I'll get IM 9 installed with a test integration and see if I can reproduce the issue, and I can also try and reproduce it with IM 10.  

I'll let you know what I find.

Steve Endow

Author

Commented:
Any help would be appreciated. Thanks
Commented:
Okay, after getting IM installed and having to create a second GP company to test, I think I have a solution.

I ran the integration in one company, then switched companies, then ran the integration again, and I received the error:

"The destination adapter could not be initialized due to the following problem:

All Microsoft Business Solutions-Great Plains windows and palettes must be closed before starting an integration."

I was able to reproduce the issue consistently.

Since I know, like you, that I didn't  have any GP windows open, the one window that came to mind was the GP "home page".

I believe that the home page is actually rendered with IE, but is effectively considered a GP window.

So I clicked on the X in the upper right corner of the home page, and the integration then ran fine!  This solution appears to have eliminated the error for me without having to close GP or IM.

So, give this a try and see if it works for you.  If it does, your user can either manually close the home page when doing the integrations, or they can click on the "Customize this page" link in the upper right and disable the home page completely.

Let me know if it works for you.

Steve Endow
Dynamics GP Certified Trainer
             

Commented:
This would definitely qualify as a 500 point solution   ;-)

Author

Commented:
Nicely done, Steve, that did the trick. Thank you for your efforts. I have awarded you the full 500. ;)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial