This blog post is about a difficult Visual Studio Tools for Microsoft Dynamics GP (VSTools) performance issue that I had on a citrix server environment. What I'm going to do is list the symptoms that I received in the case and then the troubleshooting that we did to narrow down the situation and the results of that. So what the case started with was the following:
The client was experiencing an issue with windows developed using Visual Studio Tools for Dynamics GP where the first time after logging into GP, certain users attempt to open these windows it takes a very long time for the windows to display, sometimes as long as 115 seconds. Anytime after that initial window open in the same Dynamics GP session, if they open these same windows again they open almost instantly. Dynamics GP windows themselves work fine, it is only the VSTools window where the slowness occurs. This issue is occurring for only certain users, meaning that some users working in the same environment (Citrix – GP Client & SQL Server) are experiencing this problem while others are not. Also, the slowness issues seems more related to the windows credentials rather than the GP user, meaning that if windows user ‘AD1’ is experiencing the slowness described, then it does not matter what GP login he/she uses, it is slow. If Windows user ‘AD2’ is not having the problem they can log on with the same GP Login as Window user ‘AD1’, they will not see the slowness.
So the first thing we did was the following.
The answers came back with the following:
At this point, I don't think it's SQL but I'm not sure which way to go. Screen sharing is not an option as this customer is in Singapore and they had processes running in their off hours that they were not willing to shut down. So the next steps were:
Now this is definitely a citrix server/user profile issue. Our new plan of action is as follows:
Answers were:
So at this point, it looks like the accessing of CRL.VERISIGN.NET:http is causing the slowdown and we need to find out what this is and why it's running for certain users.
The reply came back with the following:
This issues seems to be a “CryptoAPI certificate chain validation” problem. Here are our most recent findings:
This is maybe more of an anatomy of a support case along with the answer to this issue. In the end, the dexsql.log being turned on also wasn't helping matters and the antivirus should have those exclusions. So that was a little bit of the problem, but the main issue was that when the .net form was being opened, it was trying to download certificates for that user.
In hindsight, I should have went to process monitor earlier in the case but hindsight is always 20/20! It's a great tool for diagnosing performance issues and I plan to use it more in the future.
Dave Dusek
Wow, you've got a tough job man! Thank you for documenting these steps. I'm sure it would help others out there.
Posting from DynamicAccounting.net
http://msdynamicsgp.blogspot.com/2009/09/dynamics-gp-vs-tools-performance-issue.html
Great Job!!! Thanks for documenting it all for us.
Ary
PLEASE READ BEFORE POSTING
Please only post comments relating to the topic of this page.
If you wish to ask a technical question, please use the links in the links section (scroll down, on right hand side) to ask on the Newsgroups or Forums. If you ask on the Newsgroups or Forums, others in the community can respond and the answers are available for everyone in the future.