I have implemented a custom security extension on my nov CTP build. When I go to http://<servername>/reports, I get my custom login screen, I can authenticate a user, and I am happily in the Report Manager, as expected.
I have also implemented a login page for when a user hits the http://<servername>/ReportServer url, but, I get the following immediately:
- An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help
- Could not load type 'Security.ReportingServices.ReportServerLogin'.
- Could not load type 'Security.ReportingServices.ReportServerLogin'.
- Could not load type 'Security.ReportingServices.ReportServerLogin'.
- Could not load type 'Security.ReportingServices.ReportServerLogin'.
- Could not load type 'Security.ReportingServices.ReportServerLogin'.
- Could not load type 'Security.ReportingServices.ReportServerLogin'.
- Could not load type 'Security.ReportingServices.ReportServerLogin'.
The event log shows that my ReportServerLogin.aspx is not loading because it cant load the module associated with that aspx page, even though it is in the same DLL as my functioning ReportManagerLogin.aspx custom page. I have the ReportServerLogin.aspx in the ReportServer directory, and the ReportmanagerLogin aspx page in ReportManager\Pages directory.
Any suggestions as to where I might have gone wrong? Here is the event log:
Event code: 3006
Event message: A parser error has occurred.
Event time: 12/17/2007 5:14:53 PM
Event time (UTC): 12/18/2007 12:14:53 AM
Event ID: a6efa456bb82459a938214193cdf8a07
Event sequence: 63
Event occurrence: 3
Event detail code: 0
Application information:
Application domain: ReportServer_0-1-128424049960322816
Trust level: RosettaSrv
Application Virtual Path: /ReportServer
Application Path: C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\
Machine name: DEVRS2008
Process information:
Process ID: 3724
Process name: ReportingServicesService.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: HttpParseException
Exception message: Could not load type 'Security.ReportingServices.ReportServerLogin'.
Request information:
Request URL: http://devrs2008/ReportServer/ReportServerLogin.aspx?ReturnUrl=/reportserver
Request path: /ReportServer/ReportServerLogin.aspx
User host address: 172.16.4.96
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 14
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
at System.Web.UI.TemplateParser.ParseInternal()
at System.Web.UI.TemplateParser.Parse()
at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.