TableDataAdapter wizard reporting key added twice when trying to use sprocs RRS feed

  • Question

  • We have a ADO.Net 2.0 data provider and every time we try to add a TableDataAdapter to a dataset and use sprocs, we get an error that says a key has been added twice.  I presume this is a Hashtable exception.


    GetSchema is called twice with restrictions null, null, null, "PROCEDURE".  What's weird is that GetSchema is called twice with the same restrictions.  If we have no procs in our database, then the error doesn't occur.


    Any ideas welcome.


    Wednesday, March 28, 2007 2:53 PM