Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
Cannot establish a connection with the report server.
posted

I have an asp.net application with a SIlverlight IGReportingApp in the solution.  It also contains a ReportService.

When I run the solution locally everything works great, data is desplayed in all the reports  But, when I publish the solution to a WIndows 2008 R2 Server I then the error message

"Cannot establish a connection with the report server."

On my MainPage.xmal I have

 

 

 

 

 

 

 

 

 

<ig:XamReportViewer Margin="20" Name

="xamReportViewer1">

 

 

 

 

<ig:XamReportViewer.RenderSettings

>

 

 

 

 

<ig:ServerRenderSettings DefinitionUri="/Dashboard;component/BusinessApplications.igr" ServiceEndpointUri

="http://localhost:58821/ReportService.svc" />

 

 

 

 

</ig:XamReportViewer.RenderSettings

>

 

 

 

 

</ig:XamReportViewer

>

Can you please tell me why?

Parents
No Data
Reply
  • 155
    posted

    I also get this in the server's Event Viewer

    WebHost failed to process a request.

    Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/63835064

    Exception: System.ServiceModel.ServiceActivationException: The service '/ReportService.svc' cannot be activated due to an exception during compilation. The exception message is: The type 'Infragistics.Reports.Server.ReportProcessorService, InfragisticsWPF4.Reports.Server.v11.2, Version=11.2.20112.1010, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.. ---> System.InvalidOperationException: The type 'Infragistics.Reports.Server.ReportProcessorService, InfragisticsWPF4.Reports.Server.v11.2, Version=11.2.20112.1010, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.

    at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)

    at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)

    at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)

    at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)

    --- End of inner exception stack trace ---

    at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)

    at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)

    Process Name: w3wp

    Process ID: 4992

Children