private void Print()
{
System.Data.EntityClient.
EntityConnectionStringBuilder entCSB = new System.Data.EntityClient.EntityConnectionStringBuilder();
entCSB.ConnectionString =
App.CurrentApp.CurrentEnvironment.Connection;
Telerik.Reporting.
ReportBook book = new Telerik.Reporting.ReportBook();
foreach (OpenOnlineOrderDetails details in Transactions)
{
if (details.Selected)
{
book.Reports.Add(new OrderReport(entCSB.ProviderConnectionString, details.SaleTransactionID.ToString()));
}
}
AppView.Views.
ReportForm report = new LogiText.AppView.Views.ReportForm(book);
report.Show();
}
And this is the form with the report viewer:
public partial class ReportForm : Form
{
Telerik.Reporting.
ReportBook book;
public ReportForm(Telerik.Reporting.ReportBook reportBook)
{
InitializeComponent();
this.book = reportBook;
}
private void ReportForm_Load(object sender, EventArgs e)
{
reportViewer1.Report =
this.book;
reportViewer1.RefreshReport();
}
}
Hello,
We have a problem with Telerik Reporting. We need make a report accessible trought RIA services in silverlight application from remote computer. Problem is that on local computer is all right, but on remote computer not. We would like to configure our ISS on WindowsAutentification and set impersonate on true. But we can’t connect to reporting service. The Error message wich we get is bellow:
IIS specified authentication schemes 'IntegratedWindowsAuthentication, Anonymous', but the binding only supports specification of exactly one authentication scheme. Valid authentication schemes are Digest, Negotiate, NTLM, Basic, or Anonymous. Change the IIS settings so that only a single authentication scheme is used.
Our web.config containts this configuration:
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true">
<add name="DomainServiceModule" preCondition="managedHandler"
type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</modules>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<customErrors mode="Off"/>
<authentication mode="Windows" />
<identity impersonate="true" />
<httpModules>
<add name="DomainServiceModule" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</httpModules>
</system.web>
<connectionStrings>
<add name="TFSExtensionEntityDiagrams"
connectionString="data source=(local);initial catalog=TFSExtension;user id=pokus;Password=P@s5w0rd"
providerName="System.Data.SqlClient" />
<!--<add name="TFSExtensionEntityDiagrams"
connectionString="Data Source=(local);Initial Catalog=TFSExtension;Integrated Security=True"
providerName="System.Data.SqlClient" />-->
<!--<add name="ReportingLibrary.Properties.Settings.TFSExtension2"
connectionString="Data Source=(local);Initial Catalog=TFSExtension;Integrated Security=True"
providerName="System.Data.SqlClient" />-->
</connectionStrings>
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"
multipleSiteBindingsEnabled="true" />
<services>
<service name="Telerik.Reporting.Service.ReportService" behaviorConfiguration="ReportServiceBehavior">
<endpoint address="" binding="basicHttpBinding" contract="Telerik.Reporting.Service.IReportService">
<identity>
<dns value="localhost"/>
</identity>
</endpoint>
<endpoint address="resources" binding="webHttpBinding" behaviorConfiguration="WebBehavior" contract="Telerik.Reporting.Service.IResourceService"/>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="ReportServiceBehavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="WebBehavior">
<webHttp/>
</behavior>
</endpointBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
| 157 | Begin package load [Telerik.Reporting.VsPackage.VsPackage, Telerik.Reporting.VsPackage, Version=3.11.0.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be] | {EF758E88-9A91-4C54-87EA-D6E1542BE262} | VisualStudio | 2010/10/08 23:36:14.113 | ||
| 158 | End package load [Telerik.Reporting.VsPackage.VsPackage, Telerik.Reporting.VsPackage, Version=3.11.0.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be] | {EF758E88-9A91-4C54-87EA-D6E1542BE262} | VisualStudio | 2010/10/08 23:36:14.131 | ||
| 159 | Entering function CVsPackageInfo::HrInstantiatePackage | {D4F5086C-54B9-4B07-BD22-AF72D5B9228F} | VisualStudio | 2010/10/08 23:36:14.131 | ||
| 160 | Begin package load [Telerik.CommonPackage.Telerik_CommonPackagePackage, Telerik.CommonPackage, Version=1.0.5.0, Culture=neutral, PublicKeyToken=d63abc9583eb6f32] | {D4F5086C-54B9-4B07-BD22-AF72D5B9228F} | VisualStudio | 2010/10/08 23:36:14.132 | ||
| 161 | End package load [Telerik.CommonPackage.Telerik_CommonPackagePackage, Telerik.CommonPackage, Version=1.0.5.0, Culture=neutral, PublicKeyToken=d63abc9583eb6f32] | {D4F5086C-54B9-4B07-BD22-AF72D5B9228F} | VisualStudio | 2010/10/08 23:36:14.136 |