Hi,
I'm in trouble with the ReportViewer under Silverlight. Under development machine everything works fine but when deploy the project to production server (IIS7) silverlight report viewer doesn't display the report but shows a Async_ExceptionOccurred exception.
I've read all the other threads about this problems and I've checked that:
As referenced by server project following assemblies are present under the bin directory:
Telerik.Reporting.dll (also installed in GAC as a try) - 5.0.11.316
Telerik.Reporting.Service.dll (also installed in GAC as a try) - 5.0.11.316
Telerik.Reporting.XamlRendering.dll (also installed in GAC as a try) - 5.0.11.316
Of course SL project references:
Telerik.ReportViewer.Silverlight - 5.0.11.316
First I have tried without luck with the multisite bindings enabled (.NET 4 feature) as it works perfectly with the dev environment:
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
then I've tried to explicetely define telerik services and bindings (as stated in documentation):
<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"/>
<endpoint
address="mex"
binding="mexHttpBinding"
contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
<behavior name="ReportServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="WebBehavior">
<webHttp />
</behavior>
</endpointBehaviors>
</behaviors>
</system.serviceModel>
Unfortunately none of the above solution worked in my case.
Report works fine in my dev environment, is developed in SL4, under VS 2010.
The event viewer of the server doesn't report any error.
Looking at the WCF tracing (using tracing viewer) I see that telerik service is correctly open and the closed.
Also navigating to the service uri ("...\ReportService.sc") it correctly shows the service signatures.
I've create a great telerik report, my clients are ansious to see the final effect :)
Do you have any ideas on what could be wrong?
Adolfo Marinucci