|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Adding Data Source Error: Key Not Valid For Use In Specified StateI'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 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 ======= "This posting is provided "AS IS" with no warranties, and confers no rights." Thank you. I was able to get past this problem by deleting all Data
Connections from the Server Explorer. Mike Show quote "Kevin Yu [MSFT]" wrote: > 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 > ======= > "This posting is provided "AS IS" with no warranties, and confers no > rights." > > 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 ======= "This posting is provided "AS IS" with no warranties, and confers no rights." |
|||||||||||||||||||||||