The following error occurs when using the Export To option of Server Discovery window is selected in order to export the Data Grid results:
"Exception: System.Exception
Message : Unable to cast object of type 'DevExpress.XtraReports.UI.ReportPrintContextWin' to type 'DevExpress.XtraReports.UI.ReportPrintContext'.
Stack Trace:
at DevExpress.XtraPrinting.Native.PSMessageBoxBase.ShowException(String text, String caption, IServiceProvider servProvider)
at DevExpress.XtraPrinting.Native.PSMessageBoxBase.ShowException(String text, IServiceProvider servProvider)"
WORKAROUND 1
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
WORKAROUND 2
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.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center