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

ReportViewer does not work on the Web

9 Answers 375 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mehmet
Top achievements
Rank 1
Mehmet asked on 21 Mar 2012, 10:45 PM

Hi Telerik,
 
I've upgraded Q1-2012 from Q3-2011.
We prepare the program tested on the Web, ReportViewer gives an error message.
ReportViewer program is working as a local mode.

We have made many report dll installation.
But ReportViewer program does not work on the Web.
How we can solve.

I'm sending Web.config and error message.

Regards,
Mehmet

9 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 26 Mar 2012, 12:20 PM
Hi Mehmet,

You should be able to access your service from the browser in order to verify it functions correctly. For example you can access the reporting service for our online examples here: http://demos.telerik.com/reporting/ReportService.svc and what you see as a response is what you should receive as a result if it functions correctly.
Judging by your description, most likely the path to your service is not correct i.e. ReportServiceUri Property
on your server. Revisit that and verify that the specified path resolves to the correct location of the service on the server.

You may find useful the following articles: Adding ReportViewer in Silverlight and Hosting WCF Service in IIS, to make sure you've configured everything properly.

Regards,
Peter
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Mehmet
Top achievements
Rank 1
answered on 26 Mar 2012, 02:44 PM

Hi Peter,

We have checked your comment, but we couldn't solved the problem.
I'm sending the report services test result.

We tested Telerik website report example, but problem didn't change.

Could you please send us the working sample, Internet(publish version).

Regards
Mehmet

0
Steve
Telerik team
answered on 26 Mar 2012, 02:52 PM
Hi Mehmet,

You already have a sample at your disposal - the Visual Studio examples we install along with the product. You can use the Silverlight demo application as a starting point along with the articles that my colleague has referenced.

Regards,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Mehmet
Top achievements
Rank 1
answered on 26 Mar 2012, 03:16 PM

Hi Steve,

We tedted yours already sample.
ReportViewer gives an error message.
I'm sending error message.

Regards,
Mehmet

0
Peter
Telerik team
answered on 29 Mar 2012, 01:26 PM
Hi Mehmet,

Generally in the example you have to set the SilverlightDemo.Web project as a start up project, because it hosts the required Telerik Reporting WCF service.
If this is not the case please elaborate on any modifications you have made to the examples, because locally the examples are working as expected and based on the provided screenshot we are not sure what is causing the exception.

Kind regards,
Peter
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Mehmet
Top achievements
Rank 1
answered on 26 Apr 2012, 10:31 PM

Hi Telerik,

We have tested telerik reporting sampled.
When running on the local level, program is working without problems
as in the picture (pic1,pic2,pic3,pic4)
When we load the project on "host service", We take the results as shown in figure pic7
If we watch with Fiddler, We take the result(404) as shown in figure pic6.
What could be the reason for this, how can we resolve it.

Thanks,

0
Peter
Telerik team
answered on 27 Apr 2012, 10:04 AM
Hello Mehmet,

In order to get more information about the actual problem try the following:
  • show the Output window in Visual Studio and check whether there is an exception when you're running your application in debug mode.
  • access the .svc file directly in your browser to see if it reports any problems.
  • enable the CLR exceptions from Debug --> Exceptions menu in Visual Studio and run your project in debug.
Judging by your description, most likely this is a timeout problem, but we cannot be sure without a runnable sample. We suggest that you add the maxBufferSize, maxReceivedMessageSize, receiveTimeout and sendTimeout attributes to the web.config. Also you have to set them explicitly on the client as well as shown in the Using Custom Bindings help article.

If you are unable to identify the problem, provide us with a sample runnable project that exhibits the issue and we would advise you once we review it. Greetings,
Peter
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Mehmet
Top achievements
Rank 1
answered on 27 Apr 2012, 08:50 PM

Hi Telerik,

We have checked your comment, Unfortunately we couldn't solved the problem.
I'm sending the sample program download link.

Could you please send us where is the problem or mistakes

Kind regards,
Mehmet

https://hotfile.com/dl/154270005/122c38f/Report_sample.rar.html

 

0
Hrisi
Telerik team
answered on 02 May 2012, 07:42 AM
Hello,

As seen from the screenshots you provide, the problem is with the ReportService.

Try to open the page similar to pic1.png but with the real url of your real server url. If it fails to open, please do the following:
  • check if the ReportService.svc file is deployed
  • check whether your server is configured to host WCF services.

Greetings,
Hrisi
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Mehmet
Top achievements
Rank 1
Answers by
Peter
Telerik team
Mehmet
Top achievements
Rank 1
Steve
Telerik team
Hrisi
Telerik team
Share this question
or