尝试创建DataSource时出现奇怪错误 [英] Strange Error when trying to create DataSource

查看:137
本文介绍了尝试创建DataSource时出现奇怪错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨大家好,



尝试在Visual Basic 2012 Ultimate中创建数据源时,出现以下错误。我创建了数据库和表等。但只是尝试创建一个DataSource。



Hi folks,

When trying to create a DataSource in Visual Basic 2012 Ultimate, I get the below error. I have the database created and the tables etc. But just trying to create a DataSource.

unable to cast object of type 'System.Object[]' to Type 'system.ComponentModel.AttributeProviderAttribute[]





有没有人以前经历过这个并且知道如何解决它?我搜索过谷歌等等,结果非常少。

我已经从头开始重新创建了这个项目,但仍然得到它。



谢谢提前。



Has anyone experienced this before and know how to resolve it? I have searched Google etc and to very little result.
I have recreated the project again from scratch and still getting it.

Thanks in advance.

推荐答案

奇怪。

似乎已经解决了。

我完全关闭了VS,重新启动笔记本电脑,再次打开VS,打开一个旧项目,与DataSource合作,然后打开新项目,我终于可以添加一个数据源。



希望这可以帮助有类似问题的人。
Strange.
It seemed to have solved itself.
I closed down VS altogether, rebooted the laptop, opened VS again, opened an old project, which worked with DataSource and then opened the new project, where I was finally able to add a DataSource.

Hope this helps someone with a similar issue.


这篇关于尝试创建DataSource时出现奇怪错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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