在asp.net中报告查看器 [英] report viewer in asp.net

查看:49
本文介绍了在asp.net中报告查看器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i在我的webapplication中使用了报表查看器,我将数据从webform下载到pdf,它在我的本地系统中成功运行,但是当我在服务器上托管时它不起作用,即使我把把dll放在bin文件夹上也

显示以下错误


i am used report viewer in my webapplication, i downloaded data from webform to pdf, it is successfully working in my local system, but when i was hosted at server it does not work, even i put put dll's on bin folder also
shows below error

at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.GetSecureMethods()
   at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.IsSecureMethod(String methodname)
   at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.SetConnectionSSLForMethod(String methodname)
   at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
   at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
   at Microsoft.Reporting.WebForms.ServerReport.EnsureExecutionSession()
   at Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1 parameters)





任何人都可以建议我......



can any body suggests me...

推荐答案

你的代码是写的文件到磁盘,这需要asp.net Windows帐户具有此类权限。您的托管服务可能不允许您这样做,因此请与他们联系以获取更多详细信息。
Your code is writing files to disk and this requires the asp.net windows account to have such permission. It's possible that your hosting services is not allowing you to do that so contact them for further details.


这篇关于在asp.net中报告查看器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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