“无法获取< appname> .dataset的类型信息"; [英] "Could not get type information for <appname>.dataset"
问题描述
VS2005,尝试从SQLAdaptor生成数据集.我收到此错误:
VS2005, trying to generate a dataset from an SQLAdaptor. I get this error:
无法获取< appname> .dataset的类型信息"
"Could not get type information for <appname>.dataset"
.. xsd文件已生成,但显然还有另一个文件应该与之一起使用? (我不知道,因为它从来没有达到如此远)
The ..xsd file is generated but apparently there's another file supposed to go with it? (I don't know because it has never got as far as that)
我知道连接正常,因为我可以预览数据
I know the connection is ok as I can preview the data
在google小组中,Microsoft的社区支持"人员之一建议这是VS2005的预期功能.什么?他们肯定不是很认真吗?查看从MSDN中的搜索返回的答案,这表明Microsoft本身也不知道此错误是什么.
In google groups, one of Microsoft's 'Community Support' people suggested that this is an intended feature of VS2005. What? They're not serious surely? Looking at the answers returned from a search in MSDN suggests that Microsoft themselves have no clue what this error is either.
那么,有人可以为我解决这个问题吗?还是我的数据应用程序现在或将来将成为数据精简版"(如果是的话,这意味着我们将以一包便便的方式将VS2005光盘发送回Microsoft)
So, can anyone solve this for me? Or is my data application going to be 'data-lite' for now and ever more (which if it is, means that we're going to send the VS2005 discs back to Microsoft in a bag of poo)
推荐答案
我收到了相同的错误消息,并将其跟踪为保留字,即"System",作为数据库中的字段名称.
I got the same error message and traced it to having a is a reserved word, i.e. "System", as a.field name in the database.
更改字段名称并重新连接到数据库即可解决问题
Changing the field name and reconnecting to the database solved the problem
希望有帮助
这篇关于“无法获取< appname> .dataset的类型信息";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!