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">
</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
<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.
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