Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Report Viewer Control Error in Custom aspx Page

$
0
0

Hi all,

Im getting the below Error when I navigate the aspx page from CRM. But the same page is working in Development Enironment when I click "RUN"

Please anyone post the sample code for running Reportviewer control in custom aspx page through CRM navigation.

Thanks in Advance.

 Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.Reporting.WebForms.MissingReportServerConnectionInformationException: In remote mode, the Report Viewer control requires session state be enabled or Report Server connection information specified in the config file.

Source Error:

 

Server Error in '/DashBoardCRM' Application.

In remote mode, the Report Viewer control requires session state be enabled or Report Server connection information specified in the config file.

[No relevant source lines]

Source File: c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\dashboardcrm\11aa5e39\18cb2175\App_Web_lu2hvwxp.0.cs   Line:0

Stack Trace:

[MissingReportServerConnectionInformationException: In remote mode, the Report Viewer control requires session state be enabled or Report Server connection information specified in the config file.]
 Microsoft.Reporting.WebForms.ReportViewer.EnsureSessionOrConfig() +200
 Microsoft.Reporting.WebForms.ReportViewer.SaveViewState() +23
 System.Web.UI.Control.SaveViewStateRecursive() +94
 System.Web.UI.Control.SaveViewStateRecursive() +205
 System.Web.UI.Control.SaveViewStateRecursive() +205
 System.Web.UI.Page.SaveAllState() +713
 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11031816
 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11031514
 System.Web.UI.Page.ProcessRequest() +91
 System.Web.UI.Page.ProcessRequest(HttpContext context) +240
 ASP.dashboard_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\dashboardcrm\11aa5e39\18cb2175\App_Web_lu2hvwxp.0.cs:0
 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599
 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171

 


Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>