Hello,
I am currently working on a Silverlight Business Application working entirely over Https. The project is hosted on Azure. I am using Q1 2011 tools and Siverlight 5.
I followed carefully the documentation and copy/pasted the web.config part as in : http://www.telerik.com/help/reporting/silverlight-enable-ssl-for-telerik-reporting-wcf-service.html
I also enabled the Session caching for Azure and it is working fine. Now the problem is that as soon as i put a chart on my report, i am getting an error code 500. The detail is as follow :
Server Error in '/' Application.
Exception Details: System.InvalidCastException: Unable to cast object of type 'System.Text.CodePageEncoding' to type 'System.Text.Encoding'.
Source Error:
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
I checked the Output window in visual studio and nothing looked wrong. The report is built but nothing is appearing in the Silverlight page.
I also tried to host the report on an asp.net webpage, and put that webpage in a RadHtmlHolder within my silverlight application. The chart were working fine when i was calling the page over http, but not over https(tables were displayed but chart were not there).
Let me know if I need to give you more information, i am stuck for a week on this problem...
UPDATE : Looks like I cannot answer the thread, I am getting an error.
->
Thank you for your answer Steve,
The Out-proc session was already set up and the reports were appearing fine, it is only when i added a chart that it stopped working.
The endpoints were also present. What i ended up doing is hosting it on a local IIS and add http and https endpoint, i also removed Out-proc session and everything worked perfectly.
Our final solution was to use an Amazon EC2 instance, we moved all our databases and website from Azure to there. Since then the system is 6 times quicker on average and most of the workarounds necessary for Azure are not needed anymore.
Anyway thank you for your support and keep up the good work :)
I am currently working on a Silverlight Business Application working entirely over Https. The project is hosted on Azure. I am using Q1 2011 tools and Siverlight 5.
I followed carefully the documentation and copy/pasted the web.config part as in : http://www.telerik.com/help/reporting/silverlight-enable-ssl-for-telerik-reporting-wcf-service.html
I also enabled the Session caching for Azure and it is working fine. Now the problem is that as soon as i put a chart on my report, i am getting an error code 500. The detail is as follow :
Server Error in '/' Application.
Unable to cast object of type 'System.Text.CodePageEncoding' to type 'System.Text.Encoding'.
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: System.InvalidCastException: Unable to cast object of type 'System.Text.CodePageEncoding' to type 'System.Text.Encoding'.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
Stack Trace:
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
I checked the Output window in visual studio and nothing looked wrong. The report is built but nothing is appearing in the Silverlight page.
I also tried to host the report on an asp.net webpage, and put that webpage in a RadHtmlHolder within my silverlight application. The chart were working fine when i was calling the page over http, but not over https(tables were displayed but chart were not there).
Let me know if I need to give you more information, i am stuck for a week on this problem...
UPDATE : Looks like I cannot answer the thread, I am getting an error.
->
Thank you for your answer Steve,
The Out-proc session was already set up and the reports were appearing fine, it is only when i added a chart that it stopped working.
The endpoints were also present. What i ended up doing is hosting it on a local IIS and add http and https endpoint, i also removed Out-proc session and everything worked perfectly.
Our final solution was to use an Amazon EC2 instance, we moved all our databases and website from Azure to there. Since then the system is 6 times quicker on average and most of the workarounds necessary for Azure are not needed anymore.
Anyway thank you for your support and keep up the good work :)