ASP.NET Core 2.0 - HTTP Error 502.5 Process Failure with IIS

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


ASP.NET Core 2.0 - HTTP Error 502.5 Process Failure with IIS



I am trying to set up a new version of my application on a server but when I try to access to the web site, I get a HTTP error (502.5 - Process Failure).



The service is started and when I check the connection, I don't have any warning.
enter image description here



The stdout log :


stdout


Expression: [Recursive resource lookup bug]
Description: Infinite recursion during resource lookup within System.Private.CoreLib. This may be a bug in System.Private.CoreLib, or potentially in certain extensibility points such as assembly resolve events or CultureInfo names. Resource name: ArgumentNull_Generic



If I try the dotnet cmd to launch the exe :


>dotnet Maquetteur.Web.exe
Failed to load the dll from [C:tempMaquetteurWinServer2012_newhostpolicy.dll], HRESULT: 0x7BF030
An error occurred while loading required library hostpolicy.dll from [C:tempMaquetteurWinServer2012_new]



In my csproj :


csproj


<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<UserSecretsId>3a51662b-79e6-4d37-be0c-c1e406dae19c</UserSecretsId>
<RuntimeIdentifiers>win7-x64;linux-x64;win8-x64</RuntimeIdentifiers>
<Version>0.2.0</Version>
<PreserveCompilationContext>true</PreserveCompilationContext>
</PropertyGroup>



And my publisher file :


<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>FileSystem</WebPublishMethod>
<PublishProvider>FileSystem</PublishProvider>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<ProjectGuid>7a5caaf4-d505-435a-8215-a59e69b5fe5e</ProjectGuid>
<publishUrl>C:tempMaquetteurWinServer2012</publishUrl>
<DeleteExistingFiles>False</DeleteExistingFiles>
<TargetFramework>netcoreapp2.0</TargetFramework>
<RuntimeIdentifier>win8-x64</RuntimeIdentifier>
</PropertyGroup>
</Project>



I tried different ways to resolve my problem withou success...
I can launch it in Debug and Release mode in visual studio.



I think it is a problem with Identity Core because I added it in this new version. Before Identity, I didn't have any problem to set up a new version on my server.



The specs :


Dev
- Visual Studio Community 2017 v15.7.5
- EF Core 2.1.1

Server
- Windows Server 2012 R2



I have maybe missed some information.



Have you an idea why I have this error ?




1 Answer
1



Your EFCore version is 2.1 and netcoreapp is 2.0.
Try to downgrade EFCore and other .NET Core packages to version 2.0.x.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

AA9Y,0 uYgUBlElwh
lJKG4MZ,Mim0

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

Visual Studio Code: How to configure includePath for better IntelliSense results