<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Value cannot be null. Parameter name: inputString in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266173#M2616751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I'm using this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;protected void Page_Unload(object sender, EventArgs e)&lt;/P&gt;&lt;P&gt;    {&lt;/P&gt;&lt;P&gt;        if (rpt != null)&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;            rpt.Close();&lt;/P&gt;&lt;P&gt;            rpt.Dispose();&lt;/P&gt;&lt;P&gt;            GC.Collect();  // forces garbage collection&lt;/P&gt;&lt;P&gt;        }&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not using any session objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Oct 2010 17:04:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-04T17:04:18Z</dc:date>
    <item>
      <title>Value cannot be null. Parameter name: inputString</title>
      <link>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaq-p/7266169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using CR 2008 and VS 2008 (ASP.NET 3.5),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a small problem with one report. It's located on the page where except for the report viewer there are some other fields that the user can update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user opens this page, the report is displayed OK, no errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After he updates some fields , the report is reloaded OK, but on top of the report there is a message from the viewer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Value cannot be null. Parameter name: inputString".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user updates the page again, then the error disappears and everything works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So everything actually works, I'm just trying to find out where this error message is coming from and how to get rid of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 19:29:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaq-p/7266169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-01T19:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Value cannot be null. Parameter name: inputString</title>
      <link>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266170#M2616748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what you mean by; "After he updates some fields ". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the behavior sounds like it may be related to some sort of a timing issue. E.g.; the updated fields are not committed when you ask the engine to run the report or something along those lines. Also, make sure you have SP 3 for CR 2008. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ludek &lt;/P&gt;&lt;P&gt;Follow us on Twitter &lt;A href="http://twitter.com/SAPCRNetSup" target="test_blank"&gt;http://twitter.com/SAPCRNetSup&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 13:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266170#M2616748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-04T13:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Value cannot be null. Parameter name: inputString</title>
      <link>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266171#M2616749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ludek.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields update simply reloads the page, databinds and opens report again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 14:48:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266171#M2616749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-04T14:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Value cannot be null. Parameter name: inputString</title>
      <link>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266172#M2616750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still sounds like some sort of a timing issue, perhaps sessions or post back? &lt;/P&gt;&lt;P&gt;Before reloading the page are you using .Close and .Dispose on the report object? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ludek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 15:22:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266172#M2616750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-04T15:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Value cannot be null. Parameter name: inputString</title>
      <link>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266173#M2616751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I'm using this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;protected void Page_Unload(object sender, EventArgs e)&lt;/P&gt;&lt;P&gt;    {&lt;/P&gt;&lt;P&gt;        if (rpt != null)&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;            rpt.Close();&lt;/P&gt;&lt;P&gt;            rpt.Dispose();&lt;/P&gt;&lt;P&gt;            GC.Collect();  // forces garbage collection&lt;/P&gt;&lt;P&gt;        }&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not using any session objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 17:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266173#M2616751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-04T17:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Value cannot be null. Parameter name: inputString</title>
      <link>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266174#M2616752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. So what I understand, these would be the steps in the app:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;/P&gt;&lt;P&gt;Load a report&lt;/P&gt;&lt;P&gt;set parameters&lt;/P&gt;&lt;P&gt;logon to db&lt;/P&gt;&lt;P&gt;view report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unload form and report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;/P&gt;&lt;P&gt;Load a report&lt;/P&gt;&lt;P&gt;set parameters&lt;/P&gt;&lt;P&gt;logon to db&lt;/P&gt;&lt;P&gt;view report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error re parameters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) &lt;/P&gt;&lt;P&gt;unload form and report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load a report&lt;/P&gt;&lt;P&gt;set parameters&lt;/P&gt;&lt;P&gt;logon to db&lt;/P&gt;&lt;P&gt;view report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report now works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is th above the correct flow?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 19:53:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266174#M2616752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-04T19:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Value cannot be null. Parameter name: inputString</title>
      <link>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266175#M2616753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually report always works, just on the stage 2 the error message is displayed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 20:13:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266175#M2616753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-04T20:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Value cannot be null. Parameter name: inputString</title>
      <link>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266176#M2616754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's not already, place the vieweru2019s reportsource in page_init and see if that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ludek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 15:40:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266176#M2616754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T15:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Value cannot be null. Parameter name: inputString</title>
      <link>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266177#M2616755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is already there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 15:58:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266177#M2616755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T15:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Value cannot be null. Parameter name: inputString</title>
      <link>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266178#M2616756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without seeing this app, this is getting hard to troubleshoot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Musings and assumptions and guesses;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the vieweru2019s reportsource is set in whatever event is being fired when changing the value on one of the formu2019s controls.  If the formu2019s control value (ie if he has a dropdown or textbox) is being used as one of the parameter values, then the page_init wonu2019t have that value in viewstate yet.  The event needs to fire first which is one of the last things to happen in a webformu2019s lifecycle.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But like I said guesses and all that...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ludek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 19:55:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266178#M2616756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T19:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Value cannot be null. Parameter name: inputString</title>
      <link>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266179#M2616757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. Tried everything - no luck so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's OK, since the report still works, I can leave with this error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 15:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/value-cannot-be-null-parameter-name-inputstring/qaa-p/7266179#M2616757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T15:35:34Z</dc:date>
    </item>
  </channel>
</rss>

