ReportViewer.PrintDialog() throws exception when printing to PDF
I am working on a WinForms app that uses the `ReportViewer` control to show a few Reporting Services reports.  On these screens, we allow the user to print the report by calling the `PrintDialog()` method on the ReportViewer like so:

    _reportViewer.PrintDialog();

This works fine in most cases, it brings up the standard windows print dialog, the user chooses what printer they want to print to, and it prints.  However, when the user chooses to print to PDF using "Adobe PDF", it throws a `Win32Exception: The specified datatype is invalid`.  The file dialog to choose where to save the pdf doesn't even come up.

This only happens with Adobe PDF printer.  I installed [NitroPDF](http://www.nitropdf.com/) and used their PDF printer and it works without a problem.

Does anybody have an idea on what could be causing this to happen?
ReportViewer.PrintDialog() throws exception when printing to PDF
===

I am working on a WinForms app that uses the `ReportViewer` control to show a few Reporting Services reports.  On these screens, we allow the user to print the report by calling the `PrintDialog()` method on the ReportViewer like so:

    _reportViewer.PrintDialog();

This works fine in most cases, it brings up the standard windows print dialog, the user chooses what printer they want to print to, and it prints.  However, when the user chooses to print to PDF using "Adobe PDF", it throws a `Win32Exception: The specified datatype is invalid`.  The file dialog to choose where to save the pdf doesn't even come up.

This only happens with Adobe PDF printer.  I installed [NitroPDF](http://www.nitropdf.com/) and used their PDF printer and it works without a problem.

Does anybody have an idea on what could be causing this to happen?