Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike Livenspargar - 20 Mar 2006 22:31 GMT
I'm getting the following error when trying to add a Data Source to a brand
new project: "Key not valid for use in specified state". I've created a new
Windows Application project. I go to the Data menu and choose 'Add New Data
Source...'. I select 'Database' and hit the Next button, then get the error.
If I choose 'Web Service' or 'Object' as the data source I do not get the
error.

How can I correct this problem?

Thanks,
Mike
Kevin Yu [MSFT] - 21 Mar 2006 03:43 GMT
Hi Mike,

After you clicked the Next button, the wizard is trying to get a list of
all the database connections in the DataConnections List. I suggest you try
the following:

1. Select View/Server Explorer from the main menu.
2. In the DataConnections, you will see a list of available data
connections. Remove all of them by right clicking on one connection and
select Remove from the popup menu.

Then try to use the add datasource wizard again to see if it is working
fine. HTH.

Kevin Yu
Signature

=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Mike Livenspargar - 21 Mar 2006 17:19 GMT
Thank you. I was able to get past this problem by deleting all Data
Connections from the Server Explorer.

Mike

> Hi Mike,
>
[quoted text clipped - 14 lines]
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."
Kevin Yu [MSFT] - 22 Mar 2006 08:05 GMT
You're welcome. It was nice to hear that you have had the problem resolved.
Thanks for sharing your experience with all the people here. If you have
any questions, please feel free to post them in the community.

Kevin Yu
Signature

=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.