发布后Telerik报告错误 [英] Telerik Reporting Error After Publishing

查看:82
本文介绍了发布后Telerik报告错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
发布到本地Web服务器后,我需要有关Telerik Report Error的帮助

我有一个Web应用程序,并且在本地计算机上运行它非常好.
XAML是

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



现在,将其发布到我的本地Web服务器之后;

网站= https://unowos/demo
本地Web服务器上的根文件夹为C:\ WOS \ WOSDEMO

这是我的XAML



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



请注意这里的一些不同之处.
同一网站在GoDaddy服务器上发布,我注意到无论在本地计算机和Goddady服务器上运行的ReportService.svc仅显示/ReportService.svc.报告显示预览.

我缺少什么?....这是IIS服务器上的吗?或在我的发展中.

提前谢谢.
Robert



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

推荐答案

Telerik具有强大的支持社区.我也强烈建议在此发布:
http://www.telerik.com/community/forums.aspx [
Telerik has a great support community. I highly recommend posting there as well:
http://www.telerik.com/community/forums.aspx[^]


这篇关于发布后Telerik报告错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆