I have Visual Studio 2015 professional version. I have downloaded and installed Crystal report 13.0.19.2312
When I run my ASP.NET application and try to view report it gives me below error.
Unable to cast object of type 'FileStreamDeleteOnClose' to type 'System.IO.MemoryStream
Use Fiddler and/or ProcessMonitor and or Hit F12 in Browsers and see what is generating the error.
Don
Dim report As CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim oStream As System.IO.MemoryStreamreport = New CrystalDecisions.CrystalReports.Engine.ReportDocument()
report.FileName = "MyReport.rpt"
report.SetDataSource(TableData)
report.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperLetter
oStream = report.ExportToStream (CrystalDecisions.Shared.ExportFormatType.WordForWindows)
Above line generates error. This line works fine on visual studio 2013 and windows 7 pc.