> aspcore2 > HTTP Error 502.5 - Process Failure
3190 단어 ASP.NET_Core
HTTP Error 502.5 - Process Failure가 나올 때의 조치
배포하면 다음과 같은 화면이 나타났습니다.
HTTP Error 502.5 - Process Failure
Common causes of this issue:
The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port
Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=808681
이벤트 로그를 보아도 다음과 같은 느낌
Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE/APP' with physical root 'C:\ASP_APP\public_html\' failed to start process with commandline 'dotnet .\app.Web.dll', ErrorCode = '0x80004008 :
시도에 명령 프롬프트에서 다음을 움직여 보았습니다.
dotnet .\app.Web.dll
오류가 표시되었습니다!
Error:
An assembly specified in the application dependencies manifest (app.Web.deps.json) was not found:
package: 'Microsoft.AspNetCore.Antiforgery', version: '2.0.1'
path: 'lib/netstandard2.0/Microsoft.AspNetCore.Antiforgery.dll'
This assembly was expected to be in the local runtime store as the application
was published using the following target manifest files: aspnetcore-store-2.0.3.xml
분명히 일부 DLL이없는 패턴
아니면 Nuget에서 core2를 업데이트했습니다.
아래에서 최신 런타임 다운로드
htps : // 기주 b. 이 m/두 t네 t/이것/bぉb/마s테 r/레ぇ아세-에서 s/도w응아 d-아r치ょぇ. md
htps : // 기주 b. 이 m/두 t네 t/이것/bぉb/마s테 r/레ぇ아세-테 s/도 w응아 d-아r치ごぇs/2.0.3. md
그러나 중요한 것은 런타임 안에 들어 있지 않은 모양 orz
어쩔 수 없기 때문에 SDK 설치
※서버의 재기동은 불필요한 것 같습니다.
시도로 dotnet 명령을 실행해보십시오.
C:\ASP_\apps\public_html>dotnet .\app.Web.dll
Hosting environment: Production
Content root path: C:\ASP_\apps\public_html
Now listening on: http://localhost:5000
lication started. Press Ctrl+C to shut down.
lication is shutting down...
움직이는 것 같습니다.
실제로 브라우저로 액세스해 보면,
표시되었습니다!
Reference
이 문제에 관하여(> aspcore2 > HTTP Error 502.5 - Process Failure), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/sugasaki/items/a327ec0766f291219dee
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
HTTP Error 502.5 - Process Failure
Common causes of this issue:
The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port
Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=808681
Error:
An assembly specified in the application dependencies manifest (app.Web.deps.json) was not found:
package: 'Microsoft.AspNetCore.Antiforgery', version: '2.0.1'
path: 'lib/netstandard2.0/Microsoft.AspNetCore.Antiforgery.dll'
This assembly was expected to be in the local runtime store as the application
was published using the following target manifest files: aspnetcore-store-2.0.3.xml
C:\ASP_\apps\public_html>dotnet .\app.Web.dll
Hosting environment: Production
Content root path: C:\ASP_\apps\public_html
Now listening on: http://localhost:5000
lication started. Press Ctrl+C to shut down.
lication is shutting down...
Reference
이 문제에 관하여(> aspcore2 > HTTP Error 502.5 - Process Failure), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/sugasaki/items/a327ec0766f291219dee텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)