Dim RID As Integer
RID = Request.QueryString("RID")
Dim Report As Telerik.Reporting.Report
Report =
New SummaryReport
Report.ReportParameters(0).Value = RID
Me.ReportViewer1.Report = Report
Can anyone tell me is there something i need to tell iis7 in my web.config or is there a better way to troubleshoot this?
Jason
<?
xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<
configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<
appSettings/>
<
connectionStrings>
<
remove name="LocalSqlServer"/>
<
add name="connSomsys" connectionString="Data Source=CMDIVST004\JASON08;Initial Catalog=QuoteDB;Persist Security Info=True;User ID=ggggg;Password=ggggg" providerName="System.Data.SqlClient"/>
</
connectionStrings>
<!--
<compilation debug="false" />
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<
system.web>
<
httpHandlers>
<
add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" validate="false"/>
<
add path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=3.0.9.430, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" validate="true"/>
</
httpHandlers>
<
httpRuntime maxRequestLength="512000"/>
<
compilation defaultLanguage="c#">
<
assemblies>
<
add assembly="MonoSoftware.Web.TextBox, Version=1.0.0.0, Culture=neutral, PublicKeyToken=FAF3283597AC56FF"/>
<
add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<
add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<
add assembly="Xheo.Licensing, Version=2.1.5000.0, Culture=neutral, PublicKeyToken=798276055709C98A"/>
<
add assembly="MonoSoftware.Web.DynamicPopUp, Version=1.5.0.0, Culture=neutral, PublicKeyToken=FAF3283597AC56FF"/>
<
add assembly="MonoSoftware.Web.Helper, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=FAF3283597AC56FF"/>
<
add assembly="System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<
add assembly="System.Web, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<
add assembly="MonoSoftware.Web.Calculator, Version=1.0.0.0, Culture=neutral, PublicKeyToken=FAF3283597AC56FF"/>
<
add assembly="Office, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"/>
<
add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<
add assembly="Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<
add assembly="Telerik.ReportViewer.WebForms, Version=3.0.9.430, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>
<
add assembly="Telerik.Reporting.Processing, Version=3.0.9.430, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>
<
add assembly="Telerik.Reporting, Version=3.0.9.430, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>
<
add assembly="Telerik.Reporting.Interfaces, Version=3.0.9.430, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>
<
add assembly="Telerik.Reporting.HtmlEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"/>
<
add assembly="Telerik.Reporting.Design, Version=3.0.9.430, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>
<
add assembly="Telerik.ReportViewer.Design, Version=3.0.9.430, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>
<
add assembly="Telerik.ReportViewer.WinForms, Version=3.0.9.430, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>
<
add assembly="ReportingLib, Version=1.0.0.0, Culture=neutral"/>
</
assemblies>
<
buildProviders>
<
add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</
buildProviders>
</
compilation>
<
sessionState timeout="45"/>
<
authentication mode="Forms">
<
forms timeout="300"/>
</
authentication>
<
authorization>
<
deny users="?"/>
</
authorization>
</
system.web>
<!--
allow users to access these directories/pages/files without logging in-->
<
location path="loginhelp.aspx">
<
system.web>
<
authorization>
<
allow users="?"/>
</
authorization>
<
compilation debug="true"/>
</
system.web>
</
location>
<
system.webServer>
<
validation validateIntegratedModeConfiguration="false"/>
<
defaultDocument>
<
files>
<
clear/>
<
add value="default_loc.aspx"/>
<
add value="default.aspx"/>
</
files>
</
defaultDocument>
<
handlers>
<
add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=3.0.9.430, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode,runtimeVersionv2.0"/>
</
handlers>
</
system.webServer>
</
configuration>
------------------------------------------------------------------------------------------------------------------------
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="chart.aspx.cs" Inherits="reporting_chart" %> |
<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=3.0.9.430, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" |
Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head runat="server"> |
<title></title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<div> |
<h3>Header</h3> |
<telerik:ReportViewer ID="ReportViewer1" runat="server" Height="482px" |
Report="ReportingLib.Summary, ReportingLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" |
Width="686px"> |
</telerik:ReportViewer> |
</div> |
</form> |
</body> |
</html> |
-------------------------------------------------------------------------------------------------------------------- |
hi
i created one report in my web application.
I have to show 12 fields in report so when i was show that filed the report is expanded.I cant show all the value sin report viewr
if i generate as pdf some fiedls missing
string
mimeType = string.Empty;
string ext = string.Empty;
Encoding encoding = Encoding.Default;
byte[] reportBytes = Telerik.Reporting.Processing.ReportProcessor.Render(
"PDF"
, reportToExport
,
null
,
out mimeType
,
out ext
,
out encoding);
string fileName = reportName + ".pdf";
Response.Clear();
Response.ContentType = mimeType;
Response.Cache.SetCacheability(
HttpCacheability.Private);
Response.Expires = -1;
Response.Buffer =
false;
Response.AddHeader(
"Content-Disposition",
string.Format("{0};FileName=\"{1}\"",
"attachment",
fileName));
Response.OutputStream.Write(reportBytes, 0, reportBytes.Length);
Response.End();
PDF is generated but Recodr is not coming fully
how to solv this prob
Regards
Abdul Ajees