I am implementing the Custom Security Extension for Reporting Services. It all compiles into Microsoft.Samples.ReportingServices.CustomSecurity.dll & Microsoft.Samples.ReportingServices.CustomSecurity.pdb
Within Microsoft.Samples.ReportingServices.CustomSecurity.dll I have a reference to a class library that I have installed into GAC Membership.Data.dll
Within Membership.Data.dll I have a reference to the Microsoft.Practices.EnterpriseLibrary.Data.dll
Under the ReportManager & ReportServer Folder I have edit the default connectionstring into their web.config files.
I am getting a run time error when my Membership.Data.dll calls "DatabaseFactory.CreateDatabase();" It can not find the connectionstring that I have edited in the web.config. Here is the exception:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Membership.Data.DataProvider.Authenticate(String login, String pwd) at Microsoft.Samples.ReportingServices.CustomSecurity.AuthenticationUtilities.VerifyPassword(String suppliedUserName, String suppliedPassword) in C:\Program Files\Microsoft SQL Server\90\Samples\Reporting Services\Extension Samples\FormsAuthentication Sample\cs\FormsAuthentication\AuthenticationUtilities.cs:line 117 at Microsoft.Samples.ReportingServices.CustomSecurity.AuthenticationExtension.LogonUser(String userName, String password, String authority) in C:\Program Files\Microsoft SQL Server\90\Samples\Reporting Services\Extension Samples\FormsAuthentication Sample\cs\FormsAuthentication\AuthenticationExtension.cs:line 70 at Microsoft.ReportingServices.WebServer.RSCustomAuthentication.LogonUser(String userName, String password, String authority) at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.LogonUser(String userName, String password, String authority) at Microsoft.ReportingServices.WebServer.ReportingService2005.LogonUser(String userName, String password, String authority) --- End of inner exception stack trace ---
any ideas?