cancel
Showing results for 
Search instead for 
Did you mean: 

Value Cannot be null. Parameter name:inputString

Former Member
0 Kudos

I'm using CR13 with Visual Studio 2010(asp.net 3.5)

     I have problem at the time of export report in any format

     report is generated correctly but when I export it shows me error

   

     " Value Cannot be null. Parameter name:inputString"

     Please Help....

Thanks

Pankaj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

     issue is resolved

     give write Access to 'temp' folder for IIS_IUSR'

thanks,

pankaj

Answers (1)

Answers (1)

former_member183750
Active Contributor
0 Kudos

I am assuming that this is a web app(?). That being the case, what is happening is that on export, the report engine is doing a postback that would require you to somehow input the param values again. Better solution will be to put the report in session, thus eliminating postbacks.

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

Former Member
0 Kudos

Hi,

      thanks for reply...

  yes, its web app.

    

  Using export feature of Report Viewer to export reports

please refer images below

click on Export (yellow circle 2) generates following error

     I used session as report data source

              System.Data.DataSet objData = result.ResultSet.Copy();

                Session["rptData"] = objData;

    CrystalReports.CompanySnapshot objCompanySnapshot = new CrystalReports.CompanySnapshot();

            objCompanySnapshot.SetDataSource(Session["rptData"]);

     Also, I have used QueryString variables to filter report data, and query string is not change after click on 'Export' button ( Export button of dialog box)

     it works fine on other server (dev,uat)

     issue is only on Live server

    Application environment

          - ASP.net 3.5

          - Visual Studio 2010

     IIS environment is as follow (for dev, UAT)

          - Windows Server 2008 enterprise

          - OS 32 bit

          - CR basic runtime for visual studio 2008 (x64)

          - SAP CR runtime engine for .net framework 4 (32 bit)        


     IIS environment is as follow (for live)

          - Windows Server 2008 R2 enterprise

          - OS 64 bit

          - CR basic runtime for visual studio 2008 (x64)

          - SAP CR runtime engine for .net framework 4 (32 bit)             

I was trying these changes :

     1. install CR basic runtime for visual studio 2010 (x64)

     2. SAP CR runtime engine for .net framework 4 (64 bit)

 

Please help

Thanks,

Pankaj