Hello fellas
Me and my team uses telerik silverlight fine. Nowadays we are advancing from http to https. The entire project has moved https, works well! , except telerik reports. The project uses custom binding. Is there any reference which uses https? please help.
Me and my team uses telerik silverlight fine. Nowadays we are advancing from http to https. The entire project has moved https, works well! , except telerik reports. The project uses custom binding. Is there any reference which uses https? please help.
3 Answers, 1 is accepted
0
Hello,
The Reporting WCF service is standard WCF service, and as such can be configured to work over HTTPS. Please check the following help article - How to: Enable SSL for Telerik Reporting WCF service. If the described configuration does not help you to resolve the problem, please double check the endpoints settings, at both client and sever. Also verify the used custom Bindings use proper security mode.
I hope the above information helps you.
Regards,
Stef
Telerik
The Reporting WCF service is standard WCF service, and as such can be configured to work over HTTPS. Please check the following help article - How to: Enable SSL for Telerik Reporting WCF service. If the described configuration does not help you to resolve the problem, please double check the endpoints settings, at both client and sever. Also verify the used custom Bindings use proper security mode.
I hope the above information helps you.
Regards,
Stef
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
TURKALP
Top achievements
Rank 1
answered on 18 Sep 2014, 08:32 PM
Hello Stef..
I carefully followed your instructions, and took a deep search through google , telerik reporting with https (SSL) enabled keywords, but my problem still persists similar to http://www.telerik.com/forums/silverlight-reportviewer-throws-async-exceptionoccurred ,with no solution.
I think, the cause of the problem is unknown... I tried changing endpoints, web,config, but no result....
Could you give me a demo, representing the telerik demo with https SSL enabled working?
So, I would see the real cause of this problem.
I carefully followed your instructions, and took a deep search through google , telerik reporting with https (SSL) enabled keywords, but my problem still persists similar to http://www.telerik.com/forums/silverlight-reportviewer-throws-async-exceptionoccurred ,with no solution.
I think, the cause of the problem is unknown... I tried changing endpoints, web,config, but no result....
Could you give me a demo, representing the telerik demo with https SSL enabled working?
So, I would see the real cause of this problem.
0
Hi,
Please test the following settings:
Regards,
Stef
Telerik
Please test the following settings:
- Configure the service as follows:
<system.serviceModel><serviceHostingEnvironmentaspNetCompatibilityEnabled="true"/><bindings><basicHttpBinding><bindingname="BasicHttpBindingConfig"><securitymode="Transport"/></binding></basicHttpBinding><webHttpBinding><bindingname="WebHttpBindingConfig"><securitymode="Transport"/></binding></webHttpBinding></bindings><services><servicename="Telerik.Reporting.Service.ReportService"behaviorConfiguration="ReportServiceBehavior"><endpointaddress=""binding="basicHttpBinding"bindingConfiguration="BasicHttpBindingConfig"contract="Telerik.Reporting.Service.IReportService"><identity><dnsvalue="localhost"/></identity></endpoint><endpointaddress="resources"binding="webHttpBinding"bindingConfiguration="WebHttpBindingConfig"behaviorConfiguration="WebBehavior"contract="Telerik.Reporting.Service.IResourceService"/><endpointaddress="mex"binding="mexHttpsBinding"contract="IMetadataExchange"/></service></services><behaviors><serviceBehaviors><behaviorname="ReportServiceBehavior"><serviceMetadatahttpsGetEnabled="true"httpGetEnabled="false"/><serviceDebugincludeExceptionDetailInFaults="false"/></behavior></serviceBehaviors><endpointBehaviors><behaviorname="WebBehavior"><webHttp/></behavior></endpointBehaviors></behaviors></system.serviceModel>
The service would run at https://localhost/CSharp.SilverlightDemo.Web/ReportService.svc
-
In the client we specifying the security mode and the endpoint address of the service
Stream file;voidTest(){var fileDlg =newSaveFileDialog();fileDlg.Filter ="PDF files|*.pdf|All files|*.*";if(fileDlg.ShowDialog() ==true){//set any deviceInfo settings if necessaryvar deviceInfo =newNameValueDictionary();//set any report parameter value if necessaryvar parameters =newNameValueDictionary();this.file = fileDlg.OpenFile();BasicHttpBinding bndReport =newBasicHttpBinding(BasicHttpSecurityMode.Transport);bndReport.MaxReceivedMessageSize =int.MaxValue;bndReport.MaxBufferSize =int.MaxValue;stringReportServiceURL =newUri(App.Current.Host.Source,"../ReportService.svc").ToString();var serviceClient =newReportServiceClient(bndReport,newEndpointAddress(ReportServiceURL));serviceClient.RenderAsync("PDF","Telerik.Reporting.Examples.CSharp.ReportCatalog, CSharp.ReportLibrary",null,deviceInfo,parameters);serviceClient.RenderCompleted +=newEventHandler<RenderEventArgs>(serviceClient_RenderCompleted);}}voidserviceClient_RenderCompleted(objectsender, RenderEventArgs e){var result = e.RenderingResult;if(this.file !=null){this.file.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);this.file.Close();this.file.Dispose();this.file =null;}}
The above settings assume the application is hosted in IIS with enabled SSL, where the application runs at https://localhost/CSharp.SilverlightDemo.Web.
Regards,
Stef
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.