Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
XML
<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">
</my:reportviewer>

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


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
XML
<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">
</my:reportviewer>

Error is after previewing the report.

C#
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
<br />
#   Result  Protocol    Host    URL Body    Caching Content-Type    Process Comments    Custom <br />
262 500 HTTPS    unowos  /demo/ReportService.svc  <br />
263 500 HTTPS    unowos  /demo/ReportService.svc  <br />
264 500 HTTPS    unowos  /demo/ReportService.svc  <br />


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
Updated 21-Nov-12 8:26am
v3

1 solution

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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900