Home > Visual Studio > Visual Studio Issue with Data Sources

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.

Categories: Visual Studio
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.