Visual Studio Issue with Data Sources

I have had this issue twice in the past few months, so I am posting this so I won’t have to hunt for it again.

The issue is when I go to open or add a table adapter in Visual Studio. For some reason I receive the following error.

“Key not valid for use in specified state.”

I found a thread in the General Discussions category of the Microsoft Newsgroups that seems to resolve my issue.

Adding Data Source Error: Key Not Valid For Use In Specified State

I opened my Data Connections list and deleted what was there, went back to my project and magically, no error when I tried to add/access a table adapter.

Posted on November 11, 2008, in Visual Studio. Bookmark the permalink. Leave a Comment.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.