We are in process of converting one of our applications to Application Role
security, and the last major obstacle to overcome is reporting services
(currently SQL2K, upgrading to 2K5 in 2 months, if it matters). From reading
the (very sparse) documentation, it should be possible to use a Custom Data
Extension (CDE) to allow this functionality.
A previous developer had found some sample code and threw together a
non-working skeleton, and it got passed to me to make it work.
I have inspected the code and see that it is implementing the correct
interfaces, and have written several NUnit tests to inspect that the compiled
CDE actually does what I expect it to. I have added it to the report
designer and the reporting server, and it can be selected from the report
designer "Type" drop down when creating a shared data source. However, when
I select the Shared Data Source that uses the CDE for a report and go to the
"Data" tab in the designer, I get the following error: "A connection cannot
be made to the database. Set and test the connection string." (The NUnit
tests do show that is does successfully connect when used.)
How do I troubleshoot this? Is there checklist of things that I need to
have done inside my CDE to make it work? (Beyond just implementing all the
interfaces) Are there attributes I need to add to the CDE to allow Reporting
services to work?