Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Telerik
Hi Everyone,
I need help on Telerik Report Error after publishing to my local web server
 
I have a web application and running this on local machine is perfectly fine.
XAML is
<my:reportviewer x:name="ReportViewer1" width="1000" xmlns:x="#unknown" xmlns:my="#unknown">
              ReportServiceUri="../ReportService.svc"
              Report="ReportsLib.Report1,ReportsLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
Fiddler says after report is showing .

# Result Protocol Host URL Body Caching Content-Type Process Comments Custom
162 500 HTTPS localhost:1807 /ReportService.svc 834 private text/xml; charset=utf-8 iexplore:5752
163 500 HTTPS localhost:1807 /ReportService.svc 1,116 private text/xml; charset=utf-8 iexplore:5752
164 500 HTTPS localhost:1807 /ReportService.svc 1,332 private text/xml; charset=utf-8 iexplore:5752
165 200 HTTP localhost:1807 /ReportService.svc/resources/getrenderstream?instanceID=c07b6ca8-bd44-48cd-8e2f-56718e3e5283&name=5a214af8d59c4e86ad6b023d69ea4307 25,661 private image/png iexplore:5752

 
Now, after publishing this to my local web server;
 
Web site= https://unowos/demo
root folder on local web server is C:\WOS\WOSDEMO
 
this is my XAML
<my:reportviewer x:name="ReportViewer1" width="1000" xmlns:x="#unknown" xmlns:my="#unknown">
              ReportServiceUri="../ReportService.svc"
              Report="ReportsLib.Report1,ReportsLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
Error is after previewing the report.
 
Error: System.Reflection.TargetInvocationException : An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.
   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   at Telerik.Reporting.Service.SilverlightClient.ListRenderingExtensionsEventArgs.get_Extensions()
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnListRenderingExtensionsCompleted(Object sender, ListRenderingExtensionsEventArgs e)
 
------------- InnerException: -------------
 
System.ServiceModel.CommunicationException : The remote server returned an error: NotFound.
   at System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
   at proxy_6.EndListRenderingExtensions(IAsyncResult )
   at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndListRenderingExtensions(IAsyncResult result)
   at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
 
------------- InnerException: -------------
 
System.Net.WebException : The remote server returned an error: NotFound.
   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
 
------------- InnerException: -------------
 
System.Net.WebException : The remote server returned an error: NotFound.
   at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<endgetresponse>b__9(Object sendState)
   at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<beginonui>b__0(Object sendState)
 
Fiddler says : on redmark

# Result Protocol Host URL Body Caching Content-Type Process Comments Custom
262 500 HTTPS unowos /demo/ReportService.svc
263 500 HTTPS unowos /demo/ReportService.svc
264 500 HTTPS unowos /demo/ReportService.svc

 
Notice something different here.
The same website was published on GoDaddy servers and i notice that the ReportService.svc whether running on local machine and Goddady server is only showing /ReportService.svc. And the report is showing the preview.
 
What am i missing ?....Is this on IIS Server ? or in my development.
 
Thanks in advance.
Robert
Posted 21-Nov-12 4:05am
Edited 21-Nov-12 9:26am
wizardzz104.9K
v3

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Telerik has a great support community. I highly recommend posting there as well:
http://www.telerik.com/community/forums.aspx[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 21 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100