ReportViewer Errors on All Browsershttp://forums.asp.net/t/1707067.aspx/1?ReportViewer+Errors+on+All+BrowsersWed, 03 Aug 2011 22:18:20 -040017070674538385http://forums.asp.net/p/1707067/4538385.aspx/1?ReportViewer+Errors+on+All+BrowsersReportViewer Errors on All Browsers <p>I have researched extensively solutions to the following error and none have worked or addressed the problem I am having directly.</p> <p>Briefly, I have a report that is run in a report viewer that runs perfectly on my dev machine but errors our out when it is run on my production machine on ALL browsers, IE, FF, Safari, Chrome and Opera.&nbsp; This is run from a ASP.NET 4.0 app written in VB.NET with VS 10.</p> <p>Here's the weirdness, though:&nbsp; The report retrieves records from SQL Server (2003) then diplays them four to a page.&nbsp; The report will process the first twelve pages correctly, then stop on page thirteen and display the following message:</p> &lt;div&gt;An error occurred during local report processing.<br> Value cannot be null. Parameter name: value&lt;/div&gt; &lt;div&gt;&lt;/div&gt; &lt;div&gt;But this is not the wierd part.&nbsp; The weird part is, this report only errors out if it is being processed by the only active session.&nbsp; IOW, if I have another session running using the same IIS process, and I interact with this other session (post backs, data access, whatever) the report completes with no errors in a few seconds.&nbsp; If, however, I let it run by itself without interacting with any other active session, the report bombs on page 13 after several minutes, every single time, on every single browser.&nbsp; It's almost like something is timing out that doesn't time out if the process is kept alive by some other session.&nbsp; This only works, though, if I interact with the other session within 10 seconds of starting the report process.&nbsp; Weird.&lt;/div&gt; &lt;div&gt;&lt;/div&gt; &lt;div id=&quot;ReportViewer1_ctl10_NonReportContent&quot; style=&quot;height: 100%; width: 100%;&quot;&gt; &lt;div&gt;This error occurs regradless of the which records on being processed.&nbsp; No matter which records are sent, the error still occurs on page 13, regardless of which records or what data are on page 13.&nbsp; Reports that take 12 pages or less complete fine, every time.&lt;/div&gt; &lt;div&gt;&lt;/div&gt; &lt;div&gt;No error messages occur either in the application, or in the Application Events&lt;/div&gt; &lt;div&gt;&lt;/div&gt; &lt;div&gt;Under various circumstances, when this error occurs it will terminate some or all other sessions running in the IIS process, but it will not terminate the process itself.&lt;/div&gt; &lt;div&gt;&lt;/div&gt; &lt;div&gt;Sometimes, when the sessions are terminated, no new sessions can be started (the application returns a &quot;Object reference not set to an instance of an object.&quot;).&nbsp; Frequently, when this happens, the only way to restore functionality is to stop and restart the IIS process.&lt;/div&gt; &lt;div&gt;&lt;/div&gt; &lt;div&gt;All report parameters are configured to accept NULL values.&lt;/div&gt; &lt;div&gt;&lt;/div&gt; &lt;div&gt;If anyone else has had this problem please refrain from merely posting that fact to this thread unless you know what to do to correct it, please.&lt;/div&gt; &lt;div&gt;&lt;/div&gt; &lt;div&gt;TIA&lt;/div&gt; &lt;div&gt;James&lt;/div&gt; &lt;/div&gt; 2011-08-03T22:18:20-04:00