ASP.NET Error when exporting report (Crystal Report to PDF) -


i'm having error when want export crystal report pdf local machine.

enter image description here

based on understanding, says context null. how trace values from? in advance!

below code appear me problem.

response.write("<script>") response.write("window.open('" & resolveurl("~\report\rpthandler.ashx?p=user_id|date&v=" & user_id & "&t=0&n=porderprocessingcard.rpt&c=orcl_po") & "','_blank')") response.write("</script>") 

the solution check on parameter , value passing to. example above, calling 2 parameters (user_id , date) while i'm passing 1 value it. therefore prompt such error. hope helps :)


Comments

Popular posts from this blog

c# - ReportViewer control - axd url -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ssl - no cipher suites in common on Liberty Websphere -