This is a migrated thread and some comments may be shown as answers.

Type Telerik.Reporting.Service provided as the Service attribute value in the ServiceHost directive could not be found

2 Answers 125 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Onaji Fernanda
Top achievements
Rank 1
Onaji Fernanda asked on 20 May 2010, 11:24 PM
I have a project with Silverlight Reporting that works fine in dev. environment.
But in production i have this error on ReportViewer: 'An exception ocurred during the operation, making the result invalid. Check InnerException for exception details'.
My server is a virtual server.
I try to access the ReportService.svc, but have the  following error:
The type 'Telerik.Reporting.Service.ReportService, Telerik.Reporting.Service, Version=4.0.10.423, Culture=neutral, PublicKeyToken=a9d7983dfcc261be', provided as the Service attribute value in the ServiceHost directive could not be found
I´m not sure if is correct this response from ReportService.svc, in dev. enviroment the service is found fine.

I´m using Telerik Reporting Q1 2010, VS 2010 RTM,

I need to change something in configuration of server?

Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 25 May 2010, 11:54 AM
Hi Onaji,

Invoking the Telerik Reporting service from the browser should yield the result from the attached screenshot.
Something that developers often forget is that Visual Studio has a built-in web server (Cassini) that is used when they work on applications locally. However when you deploy an application, you deploy it to IIS, which is an entirely separate domain and needs to be configured.
In this line of thoughts, have you tried hosting your application on your dev machine in IIS? From the information you've provided, most likely the problem is that you have not hosted the ReportService - please see:
If you receive the same problem locally on IIS, you should be able to see more information about the error in the Output window in Visual Studio. About the service - set the includeExceptionDetailInFaults="true" attribute in your web.config for the service:

<serviceDebug includeExceptionDetailInFaults="true" />

for detailed error on what the problem is.

Greetings,
Steve
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Onaji Fernanda
Top achievements
Rank 1
answered on 25 May 2010, 03:38 PM
Thank you for reply.
I forgot publish as Application in the virtual server producction.
Now, all seem work fine,
Tags
General Discussions
Asked by
Onaji Fernanda
Top achievements
Rank 1
Answers by
Steve
Telerik team
Onaji Fernanda
Top achievements
Rank 1
Share this question
or