Hello,
Report report = new Report();
DetailSection detail = new DetailSection();
report.Items.Add(detail);
for (int i = 0; i < 2; i++)
{
SubReport subReport = new SubReport();
Telerik.Reporting.
TextBox textBox = new Telerik.Reporting.TextBox();
textBox.Value = "=Berufnummer";
subReport.Report.DataSource =ds.Tables[i];
detail.Items.Add(subReport);
}
By subReport.Report.DataSource = ds.Tables[i];
getting error : Object reference not set to an instance of an object.
Any ideas.
Hi
I have used Telerik ReportViewer WebForms, but it give me below error.
Failed to map the path '/'.
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.
|
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'Telerik.Charting, Version=2.0.1.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 46: <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 47: <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 48: <add assembly="Telerik.Charting, Version=2.0.1.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/>
Line 49: <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 50: <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
Source File: C:\Inetpub\wwwroot\Biodental\web.config Line: 48
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Charting, Version=2.0.1.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763' could not be loaded.
=== Pre-bind state information ===
LOG: User = FORHAD\kakan
LOG: DisplayName = Telerik.Charting, Version=2.0.1.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763
(Fully-specified)
LOG: Appbase = file:///C:/Inetpub/wwwroot/Biodental/
LOG: Initial PrivatePath = C:\Inetpub\wwwroot\Biodental\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Inetpub\wwwroot\Biodental\web.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: Telerik.Charting, Version=2.0.1.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/biodental/e1da1ecb/eaaaa264/Telerik.Charting.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/biodental/e1da1ecb/eaaaa264/Telerik.Charting/Telerik.Charting.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Biodental/bin/Telerik.Charting.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Biodental/bin/Telerik.Charting/Telerik.Charting.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/biodental/e1da1ecb/eaaaa264/Telerik.Charting.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/biodental/e1da1ecb/eaaaa264/Telerik.Charting/Telerik.Charting.EXE.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Biodental/bin/Telerik.Charting.EXE.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Biodental/bin/Telerik.Charting/Telerik.Charting.EXE.
|
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433