I’m busy tearing my hair out, I’ve got this problem in Visual Studio 2008 Professional Edition (Not sure if it’s SP1 or not.).
I’ve got a web project that I’ve created a dataset in and now want to add a table adapter too, I do this through the web interface and it appears to all work but I get the following error in the “Error List” window and it doesn’t generate any of the code behind the dataset.
Custom tool error: Failed to generate code. Unable to convert input xml file content to a DataSet. Requested value ‘Properties’ was not found. Requested value ‘Properties’ was not found.
The only hints to the fix that I’ve been able to find so far is this forum posting, unfortunately the fixes in the forum doesn’t fix my problem.
Anyone have any suggestions how to fix this problem?
Hi,
This error seems to occur when you use the Settings file to store your connection string to the tableadapter. The reference to the connectionstring is typically “Properties.settings.default.dbName” and the compiler seems not to like the use of the word “Properties”.
Hope this helps and is not too late.
Daniel
You should use a connectionString that connectionStringName is not contain ‘Properties’ section
for example Myproject.Properties.ConnectionString1 shoud be replaaced by ConnectionString1