Edit button disabled when selecting custom data provider in Shared Data Source Properties RRS feed

  • Question

  • Hello!
    I am writing a custom ADO.NET data provider and wants to register it for use with Reporting Services. Following the advice in Teo Lachev's book, this went OK and my data provider turns up in the dropdown list together with Microsoft SQL Server, Oracle, etc. However, the Edit button is disabled. What is required to implement so that Reporting Services enable the Edit button?

    Best regards,
    Vemund Haga
    Monday, February 16, 2009 1:24 PM


  • We check to see if the data provider currently selected has a custom Connection UI dialog associated with it to determine if the Edit button is enabled or disabled.  We do the check by trying to retrieve the IDataConnectionProperties collection and the IDataConnectionUIControl UI control from the custom data provider.  If you implemented both interfaces for your data provider, then the button should be enabled. 
    • Marked as answer by Vemund Haga Tuesday, February 17, 2009 7:57 AM
    Monday, February 16, 2009 7:41 PM