'System.Data.DataRowView'不包含名称为XXXX的属性 [英] 'System.Data.DataRowView' does not contain a property with the name XXXX

查看:104
本文介绍了'System.Data.DataRowView'不包含名称为XXXX的属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个ASP.NET应用程序,建立在DotNetNuke之上,在我的大学用于学生管理。

任何时候产生一些长时间运行的报告,应用程序抛出这样的错误:"DataBinding:'System.Data.DataRowView'不包含名称为XXXX"的属性。其中XXX可能不同。

我必须强调_a ll这些properties_(看起来没有找到) _exist _ 并且通过存储生成OK过程(在Sql Management studio中查询时)。 95%的时间代码有效,但在生成报告时,它会停止工作...

I have to emphasize that _all these properties_ (that appear not to be found) _exist_ and they are generated OK by stored procedures (when querying in Sql Management studio). 95% of the time the code works but, when generating reports, it stops working...

重新编译后或应用程序重新启动一切似乎正常工作(直到我再次生成一些报告)。

< span class = spnMessageText id = msg>可以一直成功访问DotNetNuke站点,而我的模块会抛出先前的异常。抛出错误的所有模块都是使用SqlServerDataSource构建的。我已经指定了一个"e.Command.CommandTimeout = 60;"但是......没有运气....

After an recompilation or application restart everything seems to work normally (until I generate some reports again).

The DotNetNuke site may be accessed successfully all this time, while my modules throw previous exceptions. All the modules that throw errors are built using SqlServerDataSource. I've specified a "e.Command.CommandTimeout = 60;" but...no luck....

服务器规格:
- 操作系统:Windows 2003 R2,64位

SQL Server 2005标准版,64位
- 8 GB内存
- Intel Xeon E 5345 2.33 Ghz(2个四核)

谢谢,
Catalin

Server specs:
- OS: Windows 2003 R2, 64 bit
- SQL Server 2005 Standard, 64 bit
- 8 GB RAM
- Intel Xeon E 5345 2.33 Ghz (2 quad-core)

Thanks,
Catalin

同时发布(但没有满意的答案):

Also posted (but no good satisfying answer):

http://forums.asp.net/t/1277118.aspx

http ://www.sqlteam.com/forums/topic.asp?TOPIC_ID = 103216

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/111/threadid/236160/scope/posts/Default.aspx

推荐答案

您的问题显然不是超时或与性能相关的问题。 SQL Server要么返回查询结果集,要么返回错误。两者之间没有任何内容。

我认为Web应用程序SP与报告生成有干扰的SP。请发布引发DataBinding异常的查询。

I assume there's an interference of the web application SPs with report generating SPs. Please post the query that throws DataBinding exception.


这篇关于'System.Data.DataRowView'不包含名称为XXXX的属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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