Page 1 of 3112345678910...202530...Last »

Silverlight "ArgumentException: An item with the same key has already been added" when attempting to print a report

It’s been about 3 months now since working with Microsoft Dynamics GP 2015 in our production environment. To recap, at Intelligent Partnerships we run all our information technology infrastructure on Microsoft Azure. A big reason for this, of course, is the high degree of mobility required by our consulting staff and the ability to access demo environments and be able to enter timesheets and expenses from anywhere in the world they happen to be. In addition, we need to be able to run our business and access our financials and analytics without being constrained to a particular geographical location. As such we rely heavily on Dynamics GP’s Web Client and Business Analyzer to achieve these goals.

One of the issues we started noticing with Web Client recently is, when you attempt to print a report – Standard or Template – but cancel out the printing on the Report Destination window, then attempt to print the report once more, we would receive the following Silverlight error message:

Severity: Critical Summary: A server side exception of type “ArgumentException” has occurred. Details: ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at Microsoft.Dynamics.GP.Web.Services.Runtime.Dexterity.Hierarchy`1.Add(T ancestor, T item) at Microsoft.Dynamics.GP.Web.Services.Runtime.Dexterity.Implementation.WCDexRuntimeStateResourceManager.Register(DexUri parentId, IWCDexWindow window) at Microsoft.Dynamics.GP.Web.Services.Runtime.Dexterity.Implementation.Adapters.WCDexFormOpenStateChangedNotificationAdapter.Notifications_FormOpenStateChanged(Object sender, DexUriEventArgs`1 e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at Microsoft.Dexterity.Runtime.Interop.DexNotification.OnFormOpenStateChanged(DexUri uri, DexFormOpenState value) at Microsoft.Dexterity.Runtime.Interop.Win32.NativeMethods.MsaCommandExec(Int16 tag) at Microsoft.Dexterity.Runtime.Interop.Win32.NativeMethods.<>c__DisplayClass26.b__25() at Microsoft.Dexterity.Runtime.Interop.Win32.NativeMethods.ExecuteMsaAction(Func`1 interopAction, String entryPoint) at Microsoft.Dexterity.Runtime.Interop.Win32.NativeMethods.MacroSystemCommandExecute(Int16 tag) at Microsoft.Dexterity.Runtime.Interop.DexMacroSystem.CommandExecute(Int16 tag) at Microsoft.Dynamics.GP.Web.Services.Runtime.Dexterity.Implementation.WCDexMessageProcessor.ProcessCommandExecuteInstanceResourceMessage(IWCDexMessage msg) at Microsoft.Dynamics.GP.Web.Services.Runtime.Dexterity.Implementation.WCDexMessageProcessor.Process(IWCDexMessage message) at Microsoft.Dynamics.GP.Web.Services.Runtime.Dexterity.DexRuntimeStateManager.SendMessage(IWCDexMessage message) at Microsoft.Dynamics.GP.Web.Services.Runtime.Dexterity.DexRuntimeStateManager.MainEventLoop()

This particular error was received attempting to print a sales order processing quote, but we have been able to reproduce from other windows. While I don’t claim to understand all these exceptions, this particular one seems to refer to an issue caused by a “key” being added twice to the same “Generic.Dictionary” collection. Since the action causing the error seems to be a second attempt at printing a report – the same report it seems – somewhere along the lines it would appear that some value isn’t being cleared out from the collection of reports being printed which would cause a duplicate key. Again, pure speculation.

Nonetheless, in speaking to the Dynamics GP development team, it seems to be this issue has been written up and may be solved in the upcoming hotfix release. This issue can be reproduced in Microsoft Dynamics GP 2015 build 14.00.0619 (January Hotfix).

Until next post!

Mariano Gomez, MVP
Intelligent Partnerships, LLC

Read the article:
Silverlight "ArgumentException: An item with the same key has already been added" when attempting to print a report

March 11, 2015 · Mariano Gomez · No Comments
Tags: , , , , , , , , , ,  · Posted in: Blogs I Follow Total Views: 44

CBM Cash Receipt Customer GL Posting Account Error

A user reported this issue when he tried to enter a cash receipt in CBM module. Following error message prevented him from continuing further.

Screen Shot 2015-02-23 at 3.10.24 PM

This error was confirmed to be happening only for one particular customer record. For all other customers, it worked.

We basically do not have posting accounts setup for each customer or customer class. So it is absolutely no way due to missing posting accounts. Several minutes later, decided to compare customer records between this particular customer and one other customer that’s working.

REASON: Customer Class ID for this customer record was wrong and was not part of the list of customer classes that we have setup on our company. Because this class ID was wrong, posting accounts validation stopped right there and threw a message that was totally irrelevant to actual reason.

RESOLUTION: I changed the customer class ID for this customer with an existing one. User could then enter a cash receipt in CBM.

Troubleshooting issues successfully is probably the best way to end a business day!


Filed under: #MSDYNGP, Cashbook, CBM, Troubleshooting

Continue reading here:
CBM Cash Receipt Customer GL Posting Account Error

February 23, 2015 · Vaidyanathan Mohan · No Comments
Tags: , , , , , , , ,  · Posted in: Blogs I Follow Total Views: 63

Welcome to the Microsoft Dynamics GP Engineering Team blog

Now, here’s something you don’t see every day: in the trench software development and testing engineers having time to write anything other than code. Well, the Microsoft Dynamics GP Engineering Team (consisting of the Development Engineering and Testing teams) have decided to break their ‘silence’ (so to speak) to pick up their digital pens and deliver some awesome content.

From this group you can expect content around the inner works of Service Based Architecture, Workflow and myriads of other engineering topics.

If you are an avid Microsoft Dynamics GP development engineer, a Microsoft Dynamics GP ISV, a technical consultant looking to propel your knowledge to new heights, then this new resource is for you! Expect coverage from folks like Alice Newsam, Rob Anderson, Michael Hammond, Chris Rudolph, Yuri Mikeev and others.

Below please find the link to the Dynamics GP Engineering Team Blog:

Dynamics GP Engineering Team Blog

Until next post!

Mariano Gomez, MVP
Intelligent Partnerships, LLC

Disclaimer: the above banner is not an official Microsoft or Microsoft Dynamics GP Engineering Team logo and was created solely for the purpose of bringing attention to the team’s new Community site.

View post:
Welcome to the Microsoft Dynamics GP Engineering Team blog

January 20, 2015 · Mariano Gomez · No Comments
Tags: , , , , , , , , , , ,  · Posted in: Blogs I Follow Total Views: 48

GP 2015 Web Client Installation – Port Conflict Issue & Resolution

I have been doing some R&D with GP2015 (Desktop & Web Client) on my virtual machine for almost a week now. On that note, let me share with you one particular issue, that’s a bit silly, yet possible to be faced by many of you out there.

I had a working instance of GP 2015 Web Client on my VM (that’s connected to my work domain). I uninstalled it due to an SSL conflict with local web site. Uninstall went on smoothly.

I worked on that local web site stuff and decided to install web client back. When I began the installation, following error message happened:

Screen Shot 2015-01-02 at 3.49.01 PM

Screen Shot 2015-01-02 at 3.50.47 PM

I had no idea about this port, as this port number was never used while setting up the web client installation. I am not an expert in networking either. So googled this error and got this link on Microsoft Support KB: How to determine which program uses or blocks specific transmission control protocol ports in Windows.

I used the command netstat -ano to figure out which process is using the port 48665. Below is the list that I got:

Screen Shot 2015-01-02 at 3.50.25 PM

Highlighted on RED box is the one that was using the port 48665. This process was System Process, as found through Task Manager:

Screen Shot 2015-01-02 at 4.15.35 PM

Well, only to that extent could I proceed. My instinct asked me to restart the VM once and see if that clears this port. And it did.

Screen Shot 2015-01-02 at 3.55.00 PM

And my web client installation went on well and completed without any issues.

Reason: After uninstalling my Web Client earlier, I did not restart my machine. I continued with the local web site task and tried to install Web Client again. Previous installation would have held that port (just my assumption) and did not release it till I restarted my VM.

Resolution: If you are going to install Web Client, just make sure that you restart the server.

On my next post, I shall discuss about an issue that I faced while uninstalling my web client and the resolution to the same.


Filed under: #MSDYNGP, Dynamics GP 2015, GP 2015, GP Web Client, GP2015, Microsoft Dynamics GP, Troubleshooting, Web Client

Read more here:
GP 2015 Web Client Installation – Port Conflict Issue & Resolution

January 2, 2015 · Vaidyanathan Mohan · No Comments
Tags: , , , , , , , , , , ,  · Posted in: Blogs I Follow Total Views: 80

Dynamics GP 2015 Upgrade Process & Paths

With the release of Dynamics GP 2015, it’s time to start planning for the upgrade to Dynamics GP 2015. Here is quick summary on the upgrade process, path & supported version.
Hope this helps everyone as I have also processed through one!
Upgrade Paths:
Sr. No
Upgrade Path For GP 2015
GP 8.0
GP 8.0 >> GP 10.0 >> GP 2013 SP2 >> GP2015 RTM ( 14.00.0524 or Later)
GP 9.0
GP 9.0 >> GP 10.0 >> GP 2010 SP4 >> GP2015 RTM ( 14.00.0524 or Later)
GP 9.0 >> GP 10.0 >> GP 2013 SP2 >> GP2015 RTM ( 14.00.0524 or Later)
GP 10
GP 10.0 >> GP 2010 SP4 >> GP2015 RTM ( 14.00.0524 or Later)
GP 10.0 >> GP 2013 SP2 >> GP2015 RTM ( 14.00.0524 or Later)
GP 2010
GP 2010 SP4 >> GP2015 RTM ( 14.00.0524 or Later)
GP 2010 SP4 >> GP 2013 SP2 >> GP2015 RTM ( 14.00.0524 or Later)
GP 2013
GP 2013 SP2 >> GP2015 RTM ( 14.00.0524 or Later)
GP 2013 R2 >> GP2015 RTM ( 14.00.0524 or Later)
Registration Keys:
To upgrade to Dynamics GP2015, all current customer on Business Ready Licensing (BRL) or Module Based Licensing (MBL) must contact their partner & upgrade/transit their licenses to Dynamics GP2013/Dynamics GP2015. (Must).
You Won’t Be Upgraded Or Upgrade Will Not Have This Functionality For You, IF?
1-      Language Not English:
This initial release of Microsoft Dynamics GP 2015 is the English language release.  If you are currently using translations for French or Spanish, you should wait to install Microsoft Dynamics GP 2015 until those languages are available (Will Be Available in H1 CAL 2015).
2-      U.S Payroll Tax Update Will Not Work:
The U.S. Payroll Automatic Tax Engine does not work with Microsoft Dynamics GP 2015 RTM.
Check on partner source or customer source for the script to run and have this fixed in Jan-2014 table.
3-      Cannot Upgrade Having U.S Payroll Tax 2014 Update Installed(KB 3006930 or KB 3006900):
If you have installed the 2014 Year-End update for U.S. Payroll (KB 3006930 or KB 3006900) or the 2014 Year-End/2015 Tax table update for Canadian Payroll on Microsoft Dynamics GP 2010 or Microsoft Dynamics GP 2013, you will not be able to upgrade till the January Hotfix for Microsoft Dynamics GP 2015 is released.
4-      No Longer There For You:
Good Bye for Business Portal. No upgrade for Business Portal to Microsoft Dynamics GP 2015.

5-      No SharePoint Workflow, Define New Workflows:
There is no upgrade for Workflow for Microsoft Dynamics GP that ran on top of SharePoint. Workflow functionality for Microsoft Dynamics GP now exists within the Microsoft Dynamics GP product itself. 
6-      No Management Reporter Till MR CU11:
Management Reporter CU11 will release later in December 2014. Until that time, MR is not compatible with Microsoft Dynamics GP 2015.
what is supported vs what is not support:
Here is the list of what is fully supported by upgrading to Dynamics GP 2015.
Not Supported:
1-      Database Engine:
a.       Microsoft SQL Server 2008 all editions & Below
2-      Windows Server Operating Systems:
a.       Windows Server 2003 all editions & Below
3-      Windows Client Operating Systems:
a.       Windows XP all editions
b.      Windows Vista all editions
4-      Office Applications:
a.       Microsoft Office 2007 & Below
b.      Office Communicator 2007 & Below.

Happy Upgrades.

Read this article:
Dynamics GP 2015 Upgrade Process & Paths

December 16, 2014 · Waqas Butt · No Comments
Tags: , , , , , , , , , ,  · Posted in: Blogs I Follow Total Views: 231

Microsoft Dynamics GP 2015 Developer’s Preview: Wrap Up

It has been an exciting ride combing through the features and capabilities of the Microsoft Dynamics GP 2015 Service Based Architecture components, starting at the core with the new and enhanced .NET interoperability capabilities within Microsoft Dexterity, all the way to the new service base architecture foundation built into Microsoft Dynamics GP to expand the realm of integrations that can be accomplished in today’s fast paced, application (Apps) dominated world, whether those applications are native to the Windows platform or cross-platform, whether they reside in the cloud or on premise, and regardless of the form factor.

I wanted to provide this single point of reference to reach all entries in the series, which saw 5 articles over the past 5 months.

Microsoft Dynamics GP 2015 Developer’s Preview: Loading the VHD image – Part 1 (Aug 29, 2014)
Microsoft Dynamics GP 2015 Developer’s Preview: Working with Sample URIs – Part 2 (Sep 24, 2014)
Microsoft Dynamics GP 2015 Developer’s Preview: .NET Framework Interoperability – Part 3 (Oct 29, 2014)
Microsoft Dynamics GP 2015 Developer’s Preview: Dexterity Service Patterns – Part 4 (Nov 25, 2014)
Microsoft Dynamics GP 2015 Developer’s Preview: Dexterity Service Patterns – Part 5 (Dec 1, 2014)

Since Microsoft Dynamics GP 2015 is now available to the general public, my focus will turn to keeping you abreast of those application nuggets, point out any glaring issues or problems, and continue to work with the development community at large to maximize the technological foundations of the product.

In the future, you may see new series on this blog seeking to enhanced the product learning experience, so stay tuned.

Until next post!

Mariano Gomez, MVP
Intelligent Partnerships, LLC

Read More:
Microsoft Dynamics GP 2015 Developer’s Preview: Wrap Up

December 11, 2014 · Mariano Gomez · No Comments
Tags: , , , , , , , ,  · Posted in: Blogs I Follow Total Views: 112

Microsoft #reIMAGINE 2014 Conference – Day 3

November 12, 2014

As the saying goes, “All good things must come to an end” and it was no different for the reIMAGINE 2014 conference. However, we still had to get through the day with the closing session, and couple breakout sessions we were responsible for.

After the fantastic keynote speech by Doug Burgum and some really fun partner hosted events at the local bars on the previous day, it was just natural to wake up with an appetite, so I was down early for breakfast – then again, so was everyone else!

Breakfast gathering

Breakfast preceded the closing session, which was once more MC’ed by Jesse Byam, who was going around the room asking folks about the highlights of their conference experience, all the while eating their breakfast. Jesse and I had a chance to interact on my own experiences and I have to say, all the Service-Based Architecture sessions I attended were the biggest takeaway for me.

After Jesse got the entire room pumped, Joe Carroll followed up with some closing words, basically highlighting the Microsoft Dynamics GP product trajectory over the past 20 years and how it has allowed him to grow professionally – Joe started out with Great Plains Software almost out of school.

Joe Carroll

Next up was Errol Schoenfish (sporting another cool ply shirt, making it his personal reveal) to conduct the Microsoft Dynamics GP Big Reveal surprise which would show off some of the next major milestones that Microsoft is working on as it relates to our beloved Dynamics GP.

Errol Schoenfish

Errol brought Jarred Hall to stage to demo off the next generation Excel Refreshable reports which is fully integrated to Microsoft Office 365. Jared had a chance to showcase a scenario where Excel reports were generated from GP and consumed directly on Office 365 without ever making it to the end-user’s desktop, which is how the current proposition behaves. I have to admit, the next iteration of Excel refreshable reports is going to significantly enhance the user experience.

Jarred Hall and Errol Schoenfish

Next up was Jennifer Ranz, one of the coolest people over at Microsoft – sorry guys, I love you too. Her mission was to show off aspects of the next generation user interface and in particular the new HTML5 UI. While the HTML5 UI is still a long shot from anything resembling a beta product, it was encouraging to see some of the conceptual design elements being considered for the new UI.

Jen Ranz and Errol Schoenfish
HTML5 UI Prototype with our favorite client on display

Next, reIMAGINE took a turn for the better when Errol invited partners to talk about their own success stories in reimagining their business around Microsoft Dynamics GP. We had a chance to hear from John Hendrickson with InterDyn BMI and Matt Woodward with The SMB Suite. While both businesses went down different reimagining paths, it was clear to me personally that a diversified product and services portfolio, high levels of customer service, and taking advantage of different Microsoft programs propelled these two organizations to the top of their game.

John Hendrickson (InterDyn BMI), Errol Schoenfish, and Matt Woodward (The SMB Suite)

Errol concluded the session with a very emotional account of his son Tucker’s basic and technical training in the Air National Guard at Lackland Air Force Base near San Antonio, Texas and how throughout the program, Tucker has developed some rigorous discipline and precision that have improved his life all around. Errol exhorted all attendees to the closing session to learn and improve their skills to continue reimagining their career paths.

Once the closing session was over, David and I quickly went to the Holiday Inn Board Room to get setup for the Become More Dexterous at Dexterity Development breakout session – a panel style session – which we would be hosting along with David Eichner with ICAN Software, Mark Rockwell with Rockton Software, and Microsoft MVP Leslie Vail. Unfortunately, Leslie was ill and could not present along with us, but we were able to get Patrice Bremond-Gregoire with BGE, Inc to fill in for Leslie. Patrice is a long time Microsoft Dexterity developer and runs a successful Microsoft Dynamics GP ISV firm in Canada.

This session was particularly cool, because no one on the panel prepared anything and it became totally interactive. There was no short of questions from the attendees and I believe we all had quite a bit of fun delivering some of our own tips and tricks to the audience.

Next up was our long awaited session, The Support Debugging Tool for Advanced Users. We were treated to a standing room only session, which is usually the way we like it.

SDT for Advanced Users
Courtesy of Dawn Prigmore

Although we had quite a bit of material to cover, the session went on with just some minor hiccups and everyone chanting YES IT CAN!, to the sometimes butchered question “Can the Support Debugging Tool do it?“. Some of the topics covered in this session included the Automatic Debugger Mode feature with log traces, SQL Execute, Runtime Execute, and the (still in beta) Database Validation tool.

David showing off the Database Validation Tool
Courtesy of Dawn Prigmore

The session wrapped up and we spent a few additional minutes taking pictures and saying goodbyes to a number of attendees who walked up to greet us. After grabbing a box lunch at the meal room, we ran off to a Development Collaboration meeting at the Microsoft Campus. As this meeting was under NDA there’s nothing I can discuss here. After the meeting, we were chauffeured by Emily Halvorson to the all too famous Carol Widman’s Candy Company to get some Chippers (chocolate covered potato chips).

We returned to the Holiday Inn to drop off our stuff, then meet at the bar for a drink or two before dinner. Dinner had been pre-arranged at Passage to India with Jivtesh and Rubal Singh, Leslie Vail, John Lowther, Belinda Allen, Sheila Ochoa, Sheila Jefferson-Ross (the birthday girl!), and Emily Halvorson. We ordered a number of dishes to share among all of us and spent quite some time conversing and laughing while enjoying our meal.

Left Side: Leslie Vail, Sheila Jefferson-Ross, Mariano Gomez, Rubal Singh, John Lowther
Right Side: Jivtesh Singh, Belinda Allen, David Musgrave, Emily Halvorson, Sheila Ochoa

It’s hard enough when you can’t count American money.
Paying the bill took the better part of 10 minutes while David sorted through the notes

After dinner, we returned to the Holiday Inn, where surely one more drink was warranted after the delicious meal. As is customary, it was time for the now all too famous Tim Tam Slams, courtesy of David Musgrave. For a description of the all too embarrassing process, please visit this old post over at Developing for Dynamics GP.  However, when you are surrounded by characters such as Craig Klapman (Mekorma), John Lowther (Njevity), and Mike McDowell (Mekorma) doing Tim Tam Slams, you are bound to enjoy the show while handing out a few napkins. Stay tuned to David Musgrave’s new blog as I am sure he will be posting pictures on this.

For my part, I was sitting on another table talking to my buddy Corey Clay, Sr. Tech Consultant with NexTec Group in Canton, OH. Corey had another day to spend in Fargo attending a couple of post conference training classes. Since him and I go way back, it was just about fitting to catch up after a long 3 days of conference, though he attended a couple of my sessions.

It was now time to call it a night as the following morning I would initiate my journey back home.

As is customary, please wait for my conference wrap up post with links to all the presentation materials for our sessions. This was a very exciting conference and I really hope to see more partners joining Dynamic Partner Connections and attending these type of events. The wealth of information is simply to die for.

Until next post!

Mariano Gomez, MVP
Intelligent Partnerships, LLC

Microsoft #reIMAGINE 2014 Conference – Day 3

November 20, 2014 · Mariano Gomez · No Comments
Tags: , , , , , , , ,  · Posted in: Blogs I Follow Total Views: 97