The following error occurs when using the Export To option of Server Discovery window is selected in order to export the Data Grid results:
Message : Unable to cast object of type 'DevExpress.XtraReports.UI.ReportPrintContextWin' to type 'DevExpress.XtraReports.UI.ReportPrintContext'.
at DevExpress.XtraPrinting.Native.PSMessageBoxBase.ShowException(String text, String caption, IServiceProvider servProvider)
at DevExpress.XtraPrinting.Native.PSMessageBoxBase.ShowException(String text, IServiceProvider servProvider)"
1. Close and reopen Toad and make a connection
2. Select Tools | Reports | Reports Manager menu option
3. From Reports Manager pane, expand any report such as “Report (SQL Server 2005)" and DBA Reports node
4. Double click on All Jobs to open it in Reports Preview window
5. Confirm report opens without the same error
6. If report opens, then try the exporting your Discovery Grid again
Make sure the folder "c:\Documents and settings\<your user>\My Documents \Shared Toad" exists and you have read/write privileges on this folder.
If it does not exist please create the folder manually.