Page 1 of 3812345678910...20253035...Last »

You receive "Exception has been thrown by the target of an invocation" when running some reports in Management Reporter 2012 CU13

In my previous post, I talked about a cryptographic exception I encountered while upgrading Management Reporter 2012 from CU6 to CU9 (on the way to CU13), while attempting to setup the Data Mart database – see You receive “Could’n retrieve the list of available databases: The connection attempt failed” error when updating Management Reporter 2012. The solution turned out to be very simple, but in the scheme of things a bit time consuming to figure out. Once we had upgraded to CU9, it was time to attempt the upgrade to CU13.

The upgrade process

Upgrading to CU13 was pretty straight forward.  However, after the upgrade, the customer attempted to generate a couple of the many reports from Report Designer with the following error being displayed in Web Viewer:

This report can’t be displayed. Make sure that your computer has an internet connection and that Management Reporter is running. If this problem continues, contact your administrator.

Image
Management Reporter 2012 CU13 error when generating report to Web Viewer

When attempting to open the same report from Report Viewer, we obtained the following exception error, with the Report Viewer application crashing after clicking the OK button:

Exception has been thrown by the target of an invocation.

Image

After the errors, we tried copying the columns, row definitions, and trees onto completely new report objects (rows, columns, and trees), respectively, and tried to run the reports once more, obtaining the same results. The customer relies on this report on a daily basis, so it was critical we fix whatever issue was causing these reports to crash.

After some back and forth with Microsoft Support, it was determined that with CU13 the B0 print control in the row is not working and causing the exception:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Specified cast is not valid.

Microsoft Support is currently working on getting the issue written up and triaged so as soon as a bug number (or a fix!) is available I will publish more about it.

As it stands, we reverted back to CU9 and upgraded to CU12 which did not display the issue described herein.

Until next post!

MG.-
Mariano Gomez, MVP
Intelligent Partnerships, LLC
http://www.intelligentpartnerships.com/

View the original here:
You receive "Exception has been thrown by the target of an invocation" when running some reports in Management Reporter 2012 CU13

September 1, 2015 · Mariano Gomez · No Comments
Tags: , , , , , , , , , ,  · Posted in: Blogs I Follow Total Views: 4

#GPPT Now that GP Power Tools is available, what happens to my Support Debugging Tool installation?

David Meego - Click for blog homepageIf you follow this blog, I am sure you already know that GP Power Tools has been released through my distribution and support partner, Mekorma, for Microsoft Dynamics GP 2010, GP 2013 and GP 2015.

The question I am hearing now from existing Support Debugging Tool sites is:

Now that GP Power Tools is available, what happens to my Support Debugging Tool installation?“.

The short answer is simple …. Nothing, absolutely nothing.

The long answer is summarised below:

Development: The Support Debugging Tool is discontinued and there is no further development.

Support: The Support Debugging Tool is no longer supported (it was never supported by Microsoft).

Expiry: The Support Debugging Tool will not expire.

If you are using the Support Debugging Tool with Microsoft Dynamics GP 2010 or GP 2013, you should really upgrade to GP Power Tools so you can be on a better product that IS supported and IS being developed futher.

The following articles contain details of the many enhancements, improvements, additional features and fixes that GP Power Tools has over the Support Debugging Tool:

The special introductory annual subscription price of US$365 means that you can have Peace of Mind for a dollar a day. You will even get an extra day for free every four years. :-)

That’s cheaper than a morning coffee and much more useful.

For more information on ordering, please see the GP Power Tools Portal:

David

This article was originally posted on http://www.winthropdc.com/blog.

Filed under: 2010, 2013, 2013 R2, 2015, 2015 R2, Dynamics, GP, GP Power Tools, Microsoft, Products, Support Debugging Tool Tagged: GP 2010, GP 2013, GP 2015, GP Power Tools, GPPT, SDT, Support Debugging Tool, What’s New

More:
#GPPT Now that GP Power Tools is available, what happens to my Support Debugging Tool installation?

August 26, 2015 · WinthropDC · No Comments
Tags: , , , , , , ,  · Posted in: Blogs I Follow Total Views: 26

Upcoming US Trip for reIMAGINE and GPUG Summit

David Meego - Click for blog homepageThis is a Public Service Announcement. A warning to everyone in the USA that I am coming to visit again and will be bringing the obligatory “stash” of Australia foods to inflict upon the unwary.

Then again, everything I bring with the exception of Vegemite usually goes down very well. :-)

I am coming over in September to Fargo, North Dakota for the reIMAGINE 2015 partner conference, which is being held between the 21st and 23rd September 2015.

reIMAGINE2015_Logo

I am down to present or host 3 sessions at this conference with my friend and partner in crime, Mariano Gomez (The Dynamics GP Blogster).

Conference Sessions

  • 21-Sep-2015 3:15pm – 4:15pm: 25 Development Tricks and Hacks in 50 Minutes
  • 22-Sep-2015 9:45am – 10:45am: Expert 1-on-1 Workroom
  • 23-Sep-2015 11:30am – 12:30am: Developing in Dexterity

I am also going to be in Reno, Nevada in October for the GPUG Summit 2015 conference, which is being held between the 13th and 16th October 2015.

GPUGSummit_Logo

I am going to be very busy at GPUG Summit as I am going to be running some preconference training (by myself) as well as presenting a number of sessions (with Mariano Gomez).

Pre-Conference Training

  • 12-Oct-2015 8:00am – 12:00pm: Introduction to the Support Debugging Tool/GP Power Tools
  • 12-Oct-2015 1:00pm – 5:00pm: Advanced Support Debugging Tool/GP Power Tools Tricks and Tips

Conference Sessions

  • 14-Oct-2015 9:45am – 10:45am: Calling all Geeks! Find out how Apps work with Dynamics GP
  • 14-Oct-2015 11:00am – 12:00pm: GPUG App-Off! (I will post more about this soon)
  • 14-Oct-2015 4:30pm – 6:00pm: Why is the Support Debugging Tool/GP Power Tools so Amazing?
  • 15-Oct-2015 3:15pm – 4:15pm: 25 Development Tricks and Hacks in 50 minutes
  • 15-Oct-2015 4:45pm – 5:45pm: Developing Service Applications with Dexterity: A No Nonsense Step-by-Step Guide
  • 16-Oct-2015 1:00pm – 2:00pm: Using GP Power Tools to Write Custom Web Services for Microsoft Dynamics GP

As it is long way to travel, I won’t be going home to Perth in between the conferences. I will be running a 5 day Dexterity Training course in Mexico City, Mexico and spending some time in the USA visiting with friends.

Looking forward to seeing you at one or both of the conferences.

See you soon.

David

This article was originally posted on http://www.winthropdc.com/blog.

Filed under: Conference, GPUG, News, Public Service Announcement Tagged: Conference, GPUG Summit 2015, News, reIMAGINE 2015

View article:
Upcoming US Trip for reIMAGINE and GPUG Summit

August 25, 2015 · WinthropDC · No Comments
Tags: , , , , , , , ,  · Posted in: Blogs I Follow Total Views: 27

#GPPT What’s New: Installer and Documentation

David Meego - Click for blog homepageGP Power Tools is the first product that I have released over the years to have a proper installation program. As the complexity of the products increases and there are more files involved than a single Dexterity chunk (.cnk) file, it became necessary to use an installer rather than just a zipped archive file.

GP Power Tools has a number of DLL files as well as a text file with version history, a license document and the user guide PDF.

This article shows you what the new installer windows look like and how simple GP Power Tools is to install.

Installer

When you click on the installer executable: GPPowerTools_XX.00.00XX.exe, the first window you will see is the UAC (User Access Control) check. Winthrop Development Consultants now has a code signing certificate and so the installer executable and all the DLL files are signed with a digital certificate.

Installer 1

You will then be presented with the welcome page, which allows you to confirm the product, version and build you are about to install. Click Next.

Installer 2

Next you will see the License Agreement page where you will need to accept the license terms before proceeding. This is the same license as contained in the GPPTools_License.doc file. Tick the checkbox and click Next.

Installer 3

If you have more than one instance of Microsoft Dynamics GP of the appropriate version installed, you will be asked to select which instance you want to install against. Otherwise this window is skipped. Select an instance and click Next.

Installer 4

The Install folder for the selected instance is displayed. While it is possible to change the folder, usually you should just accept the folder listed. The installer will check that the folder contains a Dynamics.exe file of the correct version before continuing. Click Next.

Installer 5

Now the installer will list all the settings for final confirmation. Click Next.

Installer 6

Once Next is clicked, the installer will install the Dexterity chunk (.cnk) files and DLL files as well as the .txt, .doc and .pdf files. It will also automatically unchunk and include the chunk files while the installer has elevated permissions.

Installer 7

The last window will tell you that the installation has completed. Click Finish.

Installer 8

If you run the installer again, you will be presented with a different window which will allow you to either install again or to remove an existing instance. You can install again to a new instance or install over the top of an existing instance if you need to perform a “repair”.

Installer 9

Note: You must uninstall GP Power Tools from inside the application from the About GP Power Tools window, before uninstalling via the installer. This will perform the appropriate clean up within the application. It also backs up the GP Power Tools settings to a Debugger.xml file that will be read back if you re-install.

About Debugger

Documentation

Finally, after receiving a feedback survey which gave a score of 1 out of 9 for documentation, I thought it was worth reminding everyone that there is a very detailed (256 page) user guide manual installed with the product (that can also be downloaded separately).

User Guide

Pressing F1 for help from any of the GP Power Tools windows will offer to open the manual or take you to the GP Power Tools Portal:

Enjoy

David

This article was originally posted on http://www.winthropdc.com/blog.

Filed under: 2010, 2013, 2013 R2, 2015, 2015 R2, Dynamics, GP, GP Power Tools, Microsoft, Products Tagged: GP 2010, GP 2013, GP 2015, GP Power Tools, GPPT, What’s New

See more here:
#GPPT What’s New: Installer and Documentation

August 17, 2015 · WinthropDC · No Comments
Tags: , , , , , , , , ,  · Posted in: Blogs I Follow Total Views: 37

Solving Performance Problems with Microsoft Dynamics GP and Windows 10 – Part 2

David Meego - Click for blog homepageFollowing on from my previous post: Solving Performance Problems with Microsoft Dynamics GP and Windows 10 – Part 1, I was still not happy with the performance of Dexterity and Microsoft Dynamics GP on my newly updated Windows 10 development machine.

This article takes you through the steps to get your Dexterity and/or Dynamics system running fast on Windows 10.

I normally don’t post multiple articles in one day, but it was worth posting this one and the previous two as soon as possible to help others out there facing the same issues.

Performance Problem

After resolving the pause on exit issue discussed in the previous post, I noticed that Dexterity and Microsoft Dynamics GP where still very sluggish when running. It was taking much to long to log in and everything was like I was running through molasses.

Checking the Task Manager, I could see fairly high CPU usage. Sorting by the CPU column, the culprit was the Antimalware Service Executable. This Windows process is the real-time processing component for Windows Defender.

I have seen issues before with anti virus or malware solutions causing performance issues for Microsoft Dynamics GP and Dexterity, and the easiest way to resolve them is to add some exclusions to the settings for the application.

Part of the issue is that the Dynamics dictionary is a very large single file and the anti virus solution often wants to check the entire file when only a small part of it is being read. So you want to exclude the file type with the extension .DIC.

This is the same issue with the database and log files maintained by SQL Server. So you want to exclude the folder where SQL Server stores its .mdf and .ldf data files.

As a final step (that delivered some of the best performance improvement), I also excluded the executables for Dexterity, Dexterity Utilities and Dynamics. I have five versions of each installed, so that needed 15 entries.

Solution

To make the changes on your Windows 10 system running Windows Defender follow the steps below. If using a different anti virus or malware solution, you can add the same exclusions anyway.

  1. Select Start >> Settings
  2. Select Update & Security >> Windows Defender
  3. Under Exclusions, click Add an exclusion
  4. Under Folders, click Exclude a folder
  5. Locate the SQL Server Data folder and exclude it. On my system it was
    C:Program FilesMicrosoft SQL ServerMSSQL11.MSSQLSERVERMSSQLDATA
  6. Under File Types, click Exclude a file extension
  7. Add .dic as an exclusion
  8. Under Processes, click Exclude a .exe, .com or .scr process
  9. Navigate to the Dex.exe, Dexutils.exe for each version of Dexterity and add it
  10. Also navigate to the Dynamics.exe for each version of Microsoft Dynamics GP and add it

Now test out how fast your system runs Dexterity and/or Microsoft Dynamics GP. Zoom Zoom. :-)

Hope you are happy with your Windows 10 upgrade now.

David

PS: I know adding exclusions weakens your protection, but it does stop you pouring a liquid into the machine in the hopes of dissolving the molasses.

This article was originally posted on http://www.winthropdc.com/blog.

Filed under: Development, Dexterity, Dynamics, GP, Microsoft, Windows Tagged: Application, Development, Dexterity, GP 2010, GP 2013, GP 2015, Windows 10

Read More:
Solving Performance Problems with Microsoft Dynamics GP and Windows 10 – Part 2

August 13, 2015 · WinthropDC · No Comments
Tags: , , , , , , , , ,  · Posted in: Blogs I Follow Total Views: 66

Microsoft Edge says “Hmm, we can’t reach this page.”

David Meego - Click for blog homepageI have finally taken the plunge and updated my primary machine, a Surface Pro 3, to Windows 10.

I delayed the installation of Windows 10 for a little while primarily because I wanted to get GP Power Tools released and did not want anything to mess up my development environments.

Then my friend Bill Marshall seemed to have some issues with Dexterity and Windows 10, so I did some testing on another Windows 10 machine to ensure that everything should work.

While doing some initial testing after the upgrade, I started receiving errors from new Microsoft Edge internet browser.

Error
Hmm, we can’t reach this page.

This would be expected if I did not have internet access, but I did. Internet Explorer worked fine and my mail worked perfectly via outlook.

While checking my settings on the Network and Sharing Center window, I noticed that my system had both a private and a public network showing. Even though my WiFi and Ethernet were connected to the same router.

I was able to solve the issue by cleaning up my network adaptors. I had a number of virtual drivers because I had been using a Hyper-V virtual machine to test the Windows 10 preview. Disabling the Hyper-V Virtual switch and making sure that the remaining Ethernet and WiFi adapters had all checkboxes selected on the Networking tab of propertues (except Microsoft Network Adapter Multiplexor Protocol and Hyper-V Externsible Virtual Switch) stabilised my connections.

Now both connections show as a Private connection to the same network and my internet connection is now fast and stable.

It seems that Microsoft Edge does not like it when there are both Private and Public networks at the same time.

Hope this helps.

David

This article was originally posted on http://www.winthropdc.com/blog.

Filed under: Microsoft, Windows Tagged: Exception, Microsoft Edge, Windows 10

Read the article:
Microsoft Edge says “Hmm, we can’t reach this page.”

August 13, 2015 · WinthropDC · No Comments
Tags: , , , , , , , , , , ,  · Posted in: Blogs I Follow Total Views: 99

#GPPT What’s New: Microsoft Dynamics GP usability enhancements

David Meego - Click for blog homepageGP Power Tools is now released and available via my distribution and support partner, Mekorma.

Continuing on with the What’s New series, today’s article will have a quick look at some of the usability enhancements to the Microsoft Dynamics GP application.

There are a number of features that GP Power Tools adds to Microsoft Dynamics GP to make using the application easier for users and administrators.

The first couple of features add menu entries with keyboard shortcuts to the main application menu. The options are for Raise All Windows to bring all open windows into the foreground above the main application window, and Exit After Processes to exit the application once all background processes are completed.

GP Power Tools Menu

The next features are enabled from the Administrator Settings window. The Prevent application windows from opening outside of the visible desktop area option resolves the issue where windows that remember their last position can open beyond the visible desktop. This problem can also occur with multiple monitor systems when having Microsoft Dynamics GP windows across more than one monitor.

Administrator Settings 2

The Add extra width to company name drop down list on Company Login windows option, adjusts the fields on the Company Login window to use the full width of the window. This ensures that long company names will be displayed in full in the drop down list.

Company Switch

Also once GP Power Tools is installed, the company selection drop down list on the Company Login will default to the company last selected on the window. If you don’t want this enhancement, it can be disabled via the Dex.ini Settings window.

The last feature for today enhances the access denied security message to add the details of the resource that the user is denied access to.

Access Denied With Details

This feature is enabled by default, but can be disabled from the Administrator Settings windows.

Enjoy

David

This article was originally posted on http://www.winthropdc.com/blog.

Filed under: 2010, 2013, 2013 R2, 2015, 2015 R2, Dynamics, GP, GP Power Tools, Microsoft, Products Tagged: GP 2010, GP 2013, GP 2015, GP Power Tools, GPPT, What’s New

More:
#GPPT What’s New: Microsoft Dynamics GP usability enhancements

August 6, 2015 · WinthropDC · No Comments
Tags: , , , , , , , , ,  · Posted in: Blogs I Follow Total Views: 46