none
SQL Server 2008 - Could not load type 'Microsoft.ReportingServices.UI.GlobalApp'.

    Question

  • Reporting Services 2008 has been working just fine for the past several months and now I get errors whenever trying to access the Report Manager or the Web Service URL. I have searched for 2 days to find a solution with no luck. Here is the error in the Event log that occurs when trying to access the Report Manager:

     

    Failed to initialize the AppDomain:ReportManager_MSSQLSERVER_0

    Exception: System.Web.HttpException

    Message: Could not load type 'Microsoft.ReportingServices.UI.GlobalApp'.

    StackTrace: at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()

    at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()

    at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)

    at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)

    at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)

    at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)

    InnerException: System.Web.HttpParseException

    Message: Could not load type 'Microsoft.ReportingServices.UI.GlobalApp'.

    StackTrace: at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

    at System.Web.UI.TemplateParser.ParseReader(StreamReader reader, VirtualPath virtualPath)

    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.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath)

    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.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)

    at System.Web.Compilation.BuildManager.CompileGlobalAsax()

    at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()

     

    InnerException: System.Web.HttpParseException

     

    Message: Could not load type 'Microsoft.ReportingServices.UI.GlobalApp'.

     

    StackTrace: at System.Web.UI.TemplateParser.ProcessException(Exception ex)

    at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

    at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

    InnerException: System.Web.HttpException

     

    Message: Could not load type 'Microsoft.ReportingServices.UI.GlobalApp'.

    StackTrace: at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError)

    at System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly)

    at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData)

     

     

    Here is the error for the Web Service:

     

    Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.

    Error message 401.2.: Unauthorized: Logon failed due to server configuration.  Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server.  Contact the Web server's administrator for additional assistance.


    Version Information: Microsoft .NET Framework Version:2.0.50727.5653; ASP.NET Version:2.0.50727.4209

    Server Error in '/ReportServer' Application.

     

    Access is denied.

     

    Saturday, June 25, 2011 7:52 AM

Answers

  • I worked with Microsoft support and was able to resolve the issue. The Global.asax file was missing from the \Program Files\Microsoft SQL Server\MSRS10.RS\Reporting Services\ReportServer folder on the server. Once I added it the Reporting Services was working as expected. Thank you all for your responses.

    • Marked as answer by bsease Wednesday, July 13, 2011 5:32 PM
    Wednesday, July 13, 2011 5:32 PM

All replies

  • This shows you do not have permission to view this directory or page using the credentials you supplied. Please check here for resolution http://support.microsoft.com/kb/253667

     

     


    http://uk.linkedin.com/in/ramjaddu
    Saturday, June 25, 2011 10:40 AM
  • This version of SQL Server 2008 Reporting Services no longer puts the Reports Manager or Web Service Virtual dirctories in IIS. So I am not able to follow the KB you replied with.

     

    I figured it was permissions, but where do I go to configure this? In the Reporting Services configuration manager there are no errors and everything looks to be setup correctly.

    Saturday, June 25, 2011 5:02 PM
  • Hi bsease,

    I have escalate this thread , and escalation engineer will handle the case as soon as possible.

    Hope the issue could be resolved soon.

    Thanks,
    Eileen  
    Wednesday, June 29, 2011 7:04 AM
  • Hi bsease,

    The 401.2 error is  definitely an authentication issue. Are you implementing Kerberos in the environment or NTLM?

     

    Regards,

    Swetha Ganapatiraju | Microsoft Online Community Support
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

     

    Wednesday, June 29, 2011 9:12 PM
  • Hi bsease,

    If you are implementing NTLM:
    Try setting the DisableLoopbackCheck registry key - http://support.microsoft.com/kb/896861
    Open rsreportserver.config file and look for the AuthenticationTypes section. It should only contain <RSWindowsNTLM/>

    If you are implementing Kerberos:
    Open rsreportserver.config file and look for the AuthenticationTypes section. It should only contain <RSWindowsNegotiate/>
    You will also need to set the SSRS service account to be Trusted for Delegation in Active Directory and create SPNs for the account

    For the Access is denied on the GlobalApp you can perform a ProcMon capture.
    1. Download and install ProcMon
    2. Start the capture in ProcMon
    3. Reproduce the issue
    4. Stop the capture in ProcMon
    5. Use the filtering in ProcMon to include only the records where Status = ACCESS DENIED

    If there is a permissions issue on a file or folder then ProcMon will show that.

    If further help is needed then you might need to consider creating a support case with CSS. Please visit the below link to see the various paid support options that are available to better meet your needs. http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone

     

    Regards, 

    Swetha Ganapatiraju | Microsoft Online Community Support
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, July 13, 2011 4:35 PM
  • I worked with Microsoft support and was able to resolve the issue. The Global.asax file was missing from the \Program Files\Microsoft SQL Server\MSRS10.RS\Reporting Services\ReportServer folder on the server. Once I added it the Reporting Services was working as expected. Thank you all for your responses.

    • Marked as answer by bsease Wednesday, July 13, 2011 5:32 PM
    Wednesday, July 13, 2011 5:32 PM