I have an asp.net mvc application which I want to convert to a .net core application, so within the same solution I have created a new .net core 2.0 project and set it as the startup project. Every time I try to run the application through visual studio
on IIS Express I get this error in the browser "Http Error 502.5 - Process Failure". The solution builds fine its just that when I run this I get the error.
I have also searched on google extensively and tried
seeing if there is a space in the application name
so within the same solution I have created a new .net core 2.0 project and set it as the startup project.
What operation did you do after you create a new .net core 2.0 project?
ShatterStar
adding a webconfig file with these lines
Could you share why did you add the web.config file?It looks like you have hosted on IIS.Did you host on IIS?If you do not host on IIS,it is no need to add this file in your project.
Best Regards,
Rena
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
so within the same solution I have created a new .net core 2.0 project and set it as the startup project. Every time I try to run the application through visual studio on IIS Express I get this error in
the browser "Http Error 502.5 - Process Failure".
From your requirement,you create a new ASP.Net Core project and set as startup project.You could build and run it successfully but make error by using IIS Express?What operation did you do with this project?
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
8 Points
60 Posts
I Keep Getting The Error "Http Error 502.5 - Process Failure"
Oct 25, 2019 08:15 AM|ShatterStar|LINK
Hi,
I have an asp.net mvc application which I want to convert to a .net core application, so within the same solution I have created a new .net core 2.0 project and set it as the startup project. Every time I try to run the application through visual studio on IIS Express I get this error in the browser "Http Error 502.5 - Process Failure". The solution builds fine its just that when I run this I get the error.
I have also searched on google extensively and tried
<handlers>
<add name="AttributeRouting" path="routes.axd" verb="*" type="AttributeRouting.Web.Logging.LogRoutesHandler, AttributeRouting.Web" />
<remove name="aspNetCore" />
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout">
<environmentVariables />
</aspNetCore>
still no go.
From what I can tell the process doesn't start up with iis express somehow - I could be wrong, can someone help with a solution
Participant
1060 Points
353 Posts
Re: I Keep Getting The Error "Http Error 502.5 - Process Failure"
Oct 28, 2019 01:42 AM|Rena Ni|LINK
Hi ShatterStar,
For `Http Error 502.5 - Process Failure`,please follow the troubleshooting steps:
https://docs.microsoft.com/en-us/aspnet/core/test/troubleshoot-azure-iis?view=aspnetcore-2.1#5025-process-failure
What operation did you do after you create a new .net core 2.0 project?
Could you share why did you add the web.config file?It looks like you have hosted on IIS.Did you host on IIS?If you do not host on IIS,it is no need to add this file in your project.
Best Regards,
Rena
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
8 Points
60 Posts
Re: I Keep Getting The Error "Http Error 502.5 - Process Failure"
Oct 28, 2019 09:06 AM|ShatterStar|LINK
Hi,
The only operation that I can think of was setup the bundling and minification with .net core, and changed the default project to the .net core one.
I added the webconfig because I'm converting from my old asp.net mvc app to a .net core app and need to transfer those settings across.
Participant
1060 Points
353 Posts
Re: I Keep Getting The Error "Http Error 502.5 - Process Failure"
Oct 29, 2019 08:14 AM|Rena Ni|LINK
Hi ShatterStar,
From your requirement,you create a new ASP.Net Core project and set as startup project.You could build and run it successfully but make error by using IIS Express?What operation did you do with this project?
#Use Visual Studio to create your first ASP.NET Core web app
What does this mean?How did you setup the bundling and minification?
And in the same solution,you have the other project which is a ASP.Net.For how to migrate ASP.Net to ASP.Net Core you could refer to:
#Migrate from ASP.NET to ASP.NET Core
Best Regards,
Rena
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.