Skip to content

Unexpected exception: HRESULT 0x8007023e returned at D:\a\_work\1\s\src\Servers\IIS\AspNetCoreModuleV2\InProcessRequestHandler\inprocessapplication.cpp:268  #53036

@imranbaloch

Description

@imranbaloch

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

During deploying using shadow copy, sometimes application stop completely and need to restart IIS app pool to make it run again.

Expected Behavior

After shadow copy the application should run instead of showing Application Failed To Start

Steps To Reproduce

Just deploy the application remotely using shadow copy and sometimes application failed to start especially when there is an internet issue.

Exceptions (if any)

Application 'C:\inetpub\MyApp' was recycled after detecting file change in application directory.

Application 'MACHINE/WEBROOT/APPHOST/MyApp' has shutdown.

Application 'C:\inetpub\ShadowCopyDirectory\585' failed to start. Exception message:

Executable was not found at 'C:\inetpub\ShadowCopyDirectory\585.\MyApp.API.exe'
Application '/LM/W3SVC/5/ROOT' with physical root 'C:\inetpub\MyApp' failed to load coreclr. Exception message:

Unexpected exception: HRESULT 0x8007023e returned at D:\a_work\1\s\src\Servers\IIS\AspNetCoreModuleV2\InProcessRequestHandler\inprocessapplication.cpp:268

Application '/LM/W3SVC/5/ROOT' with physical root 'C:\inetpub\MyApp' failed to load coreclr. Exception message:
CLR worker thread exited prematurely

.NET Version

8.0.100

Anything else?

App uis using

<Project Sdk="Microsoft.NET.Sdk.Web">

	<PropertyGroup>
		<TargetFramework>net8.0</TargetFramework>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackThe author of this issue needs to respond in order for us to continue investigating this issue.Status: No Recent Activityarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-iisIncludes: IIS, ANCM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions