Dim orpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument() Dim exportOpts As New CrystalDecisions.Shared.ExportOptions() Dim diskOpts As New CrystalDecisions.Shared.DiskFileDestinationOptions() Dim tempReportFile As String = "" Response.ContentType = "Application/pdf" orpt.Load("E:\Inetpub\wwwroot\myapp\myreports\test.rpt") orpt.SetDataSource(mydataset) exportOpts = orpt.ExportOptions exportOpts.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat tempReportFile = "E:\Inetpub\wwwroot\myapp\mytemprpt\tmp_.pdf" exportOpts.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile diskOpts.DiskFileName = tempReportFile exportOpts.DestinationOptions = diskOpts orpt.Export()I get the following error when it runs the export.