ASP.NET/VB.NET Generating RDLC gives Useless Error of just the Dataset Name -


i've tried every different code example of programmatically generating pdf rdlc report. every single 1 gives me generic "an error occurred during local report processing" on render step. when check inner exception, useless error ever, name of dataset: "dataset1". that's it. i'm running web app locally , using connection string website report. report uses single table source. it's vanilla can be. here's 1 example of code generates error, i've tried many other similar examples same resulting error.

    dim rv new reportviewer     dim warnings warning()     dim streamids string()     dim mimetype string     dim encoding string     dim filenameextension string      try         rv.localreport.reportpath = "reports/myreport.rdlc"          dim bytes byte() = rv.localreport.render("pdf", nothing, mimetype, encoding, filenameextension, streamids, warnings)          using fs new filestream("output.pdf", filemode.create)             fs.write(bytes, 0, bytes.length)         end using      catch ex exception      end try 


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -