[ad_1]
大家好,
发布到本地 Web 服务器后,我需要有关 Telerik Report Error 的帮助
我有一个网络应用程序,在本地计算机上运行它完全没问题。
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>
Fiddler 在报告显示后说道。
<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 />
现在,将其发布到我的本地网络服务器后;
网站= https://unowos/demo
本地 Web 服务器上的根文件夹是 C:\WOS\WOSDEMO
这是我的 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>
预览报告后出现错误。
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 说: 在 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 服务器上发布了相同的网站,我注意到 ReportService.svc 无论是在本地计算机上运行还是在 Goddaddy 服务器上仅显示 /ReportService.svc。 报告正在显示预览。
我缺少什么?…这是在 IIS 服务器上吗? 或者说在我的发展过程中。
提前致谢。
罗伯特
解决方案1
Telerik 拥有强大的支持社区。 我强烈建议也在那里发帖:
[^]
http://www.telerik.com/community/forums.aspx
[ad_2]
コメント