Silverlight中的InnerException与Telerik报告 [英] InnerException in silverlight with telerik report
问题描述
我正在使用telerik报告进行银光演示项目.它在本地运行良好,但是在服务器上部署时会在telerik报告中引发异常.
网站正在运行,但在单击异常抛出下面的报告"页面时.
操作期间发生异常,使结果无效.请检查InnerException以获取异常详细信息"
Telerik dll也手动放入ClientBin文件夹,但仍然出现相同错误.
Telerik DLL
Telerik.ReportViewer.Silverlight.dll
Telerik.Web.UI.dll
Telerik.Windows.Controls.dll
Telerik.Windows.Controls.Input.dll
Telerik.Windows.Controls.Navigation.dll
MenuControl.dll
我正在使用ReportService.svc.此ReportService.svc也存在于同一应用程序文件夹中.我可以在本地和服务器上打开.
请在下面查看我的web.config.
< system.serviceModel >
< serviceHostingEnvironment =" true" / < 服务 >
< 服务
名称 ="
span> 行为配置 =" >
< 端点
地址 =" http://sltelerilreport.dutechnosys.com/ReportService.svc"
绑定 =" basicHttpBinding"
合同 =" Telerik.Reporting.Service.IReportService" < 身份 >
< /identity >
< /endpoint >
< 端点
地址 资源"
绑定 webHttpBinding"
span> behaviorConfiguration Web行为"
span> 合同 Telerik.Reporting.Service.IResourceService" >
< 端点
span> 地址 墨西哥"
绑定 mexHttpBinding"
span> 合同 IMetadataExchange" / >
< /service >
< /服务 >
< 行为 >
< serviceBehaviors >
< 行为 =" ReportServiceBehavior" < serviceMetadata =" true" / < serviceDebug =" false" / < /行为 >
< /serviceBehaviors >
< endpointBehaviors >
< 行为 =" WebBehavior" < webHttp >
< /行为 >
< /endpointBehaviors >
< /行为 >
< /system.serviceModel >
谢谢和问候!
正如SAKryukov
所说,在调试器中运行您的应用程序并查看内部异常.
此演示项目在本地运行良好,但在服务器上引发异常.
操作期间发生异常,使结果无效.请检查InnerException以获取异常详细信息"
如何在Web服务器上检查此项目.
谢谢和问候!
科尔迪普·德维维迪(Kuldeep Dwivedi)
Hi,
I am working on a silver light demo project with telerik reports. It is working fine on local but when deploy on server It throws an exception in telerik reports.
Site is running but while click on Report page below exception throw.
"An exception occurred during the operation, making the result invalid. Check InnerException for exception details"
Telerik dlls also manually put into ClientBin folder but still getting same error.
Telerik DLL
Telerik.ReportViewer.Silverlight.dll
Telerik.Web.UI.dll
Telerik.Windows.Controls.dll
Telerik.Windows.Controls.Input.dll
Telerik.Windows.Controls.Navigation.dll
MenuControl.dll
I am using ReportService.svc. This ReportService.svc is also exist on same application folder. I am able to open on local and server.
Please look into my web.config below.
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
<services>
<service
name="Telerik.Reporting.Service.ReportService"
behaviorConfiguration="ReportServiceBehavior">
<endpoint
address= "http://sltelerilreport.dutechnosys.com/ReportService.svc"
binding="basicHttpBinding"
contract="Telerik.Reporting.Service.IReportService">
<identity>
</identity>
</endpoint>
<endpoint
address="resources"
binding="webHttpBinding"
behaviorConfiguration="WebBehavior"
contract="Telerik.Reporting.Service.IResourceService"/>
<endpoint
address="mex"
binding="mexHttpBinding"
contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="ReportServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="WebBehavior">
<webHttp />
</behavior>
</endpointBehaviors>
</behaviors>
</system.serviceModel>
Thanks and Regards!
Kuldeep Dwivedi
As SAKryukov
said run your application in a debugger and view the inner exception.
This demo project is running fine on local but it throws an exception on server.
"An exception occurred during the operation, making the result invalid. Check InnerException for exception details"
How I can check this project on web server.
Thanks and Regards!
Kuldeep Dwivedi
这篇关于Silverlight中的InnerException与Telerik报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!