web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Server Error in '/' Application - Request is not available in this context after switching AppPool from Classis to Integrated.

(0) ShareShare
ReportReport
Posted on by

Hello, I switched my AppPool from Classic to Integrated and now receive this error when accessing any of the ORGs in the Web Browser. I've seen some information about the Application_OnStart setting. But, cannot figure out where or how to change this. I'm not a programmer. Just looking for specific instruction on what settings in IIS Manager to change to fix this. Thank you.

8741.AppError.PNG

*This post is locked for comments

I have the same question (0)
  • jestuder Profile Picture
    158 on at

    can you copy the text into you post or into a new one.  Its hard to read in the image.

  • Community Member Profile Picture
    on at

    Here is the Text of the above message.

    Request is not available in this context

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: Request is not available in this context

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [HttpException (0x80004005): Request is not available in this context]
       System.Web.HttpContext.get_Request() +12432818
       Microsoft.Crm.AuthenticationContextExtensions.CurrentHost(HttpContext context) +72
       Microsoft.Crm.Authentication.Claims.ClaimsUtility.InitializeApplication() +990
       Microsoft.Crm.MainApplication.Application_OnStart() +610
    
    [HttpException (0x80004005): Request is not available in this context]
       System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12654781
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +353
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475
    
    [HttpException (0x80004005): Request is not available in this context]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12671860
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12511209
    

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans