net core application with IIS 502.5 error
up vote
0
down vote
favorite
So this question is really strange for me as I have not figured it out so far, I have a client to whom I developed an application. The server side of the application is made using asp.net core 2.0 and I installed it on the server using this ip and this port:
192.168.50.116:3333
I used postman to check on the web API and using the address I got it working and the API endpoints gave me the responses I wanted. Now, I tried to use postman on the computer of the end user that would use the application and it was not working, the error was that 502.5 and in 99% of the cases I see here it points to installing the bundle which is installed and the application actually runs.
The application event viewer points to a weird error that has nothing to do with asp.net core. I ask for advice here as the IT personnel there has no idea on how to troubleshoot on their own applications.
I also tried using their DNS server as they pointed out with an address like this:
srvwebapp/plotAPI
srvwebapp/plotDashboard
Those are the 2 applications, the dashboard app is made on Angular 5 and it runs correctly but the other is not, it runs on the server and can be accessed via the IP given but not with the address given on either the server or outside computers.
c# iis asp.net-core-webapi
|
show 1 more comment
up vote
0
down vote
favorite
So this question is really strange for me as I have not figured it out so far, I have a client to whom I developed an application. The server side of the application is made using asp.net core 2.0 and I installed it on the server using this ip and this port:
192.168.50.116:3333
I used postman to check on the web API and using the address I got it working and the API endpoints gave me the responses I wanted. Now, I tried to use postman on the computer of the end user that would use the application and it was not working, the error was that 502.5 and in 99% of the cases I see here it points to installing the bundle which is installed and the application actually runs.
The application event viewer points to a weird error that has nothing to do with asp.net core. I ask for advice here as the IT personnel there has no idea on how to troubleshoot on their own applications.
I also tried using their DNS server as they pointed out with an address like this:
srvwebapp/plotAPI
srvwebapp/plotDashboard
Those are the 2 applications, the dashboard app is made on Angular 5 and it runs correctly but the other is not, it runs on the server and can be accessed via the IP given but not with the address given on either the server or outside computers.
c# iis asp.net-core-webapi
"The application event viewer points to a weird error that has nothing to do with asp.net core" - Does that error happen every time you try and access the website?
– Gabriel Luci
Nov 11 at 22:06
1
To get better error messages, try enablingstdoutLogEnabled
and settingstdoutLogFile
in theweb.config
as described here: docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/…
– Gabriel Luci
Nov 11 at 22:09
will post the errors early tomorrow as I will return to keep working on this.
– V. Benavides
Nov 11 at 22:21
Ok I am getting this error when trying yo call the service from other PC on the network: Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE' with physical root 'C:inetpubwwwroot' failed to start process with commandline ' ', ErrorCode = '0x80070057 : 0.
– V. Benavides
Nov 14 at 15:57
Have you installed the .NET Core Hosting bundle on the server?
– Gabriel Luci
Nov 14 at 16:11
|
show 1 more comment
up vote
0
down vote
favorite
up vote
0
down vote
favorite
So this question is really strange for me as I have not figured it out so far, I have a client to whom I developed an application. The server side of the application is made using asp.net core 2.0 and I installed it on the server using this ip and this port:
192.168.50.116:3333
I used postman to check on the web API and using the address I got it working and the API endpoints gave me the responses I wanted. Now, I tried to use postman on the computer of the end user that would use the application and it was not working, the error was that 502.5 and in 99% of the cases I see here it points to installing the bundle which is installed and the application actually runs.
The application event viewer points to a weird error that has nothing to do with asp.net core. I ask for advice here as the IT personnel there has no idea on how to troubleshoot on their own applications.
I also tried using their DNS server as they pointed out with an address like this:
srvwebapp/plotAPI
srvwebapp/plotDashboard
Those are the 2 applications, the dashboard app is made on Angular 5 and it runs correctly but the other is not, it runs on the server and can be accessed via the IP given but not with the address given on either the server or outside computers.
c# iis asp.net-core-webapi
So this question is really strange for me as I have not figured it out so far, I have a client to whom I developed an application. The server side of the application is made using asp.net core 2.0 and I installed it on the server using this ip and this port:
192.168.50.116:3333
I used postman to check on the web API and using the address I got it working and the API endpoints gave me the responses I wanted. Now, I tried to use postman on the computer of the end user that would use the application and it was not working, the error was that 502.5 and in 99% of the cases I see here it points to installing the bundle which is installed and the application actually runs.
The application event viewer points to a weird error that has nothing to do with asp.net core. I ask for advice here as the IT personnel there has no idea on how to troubleshoot on their own applications.
I also tried using their DNS server as they pointed out with an address like this:
srvwebapp/plotAPI
srvwebapp/plotDashboard
Those are the 2 applications, the dashboard app is made on Angular 5 and it runs correctly but the other is not, it runs on the server and can be accessed via the IP given but not with the address given on either the server or outside computers.
c# iis asp.net-core-webapi
c# iis asp.net-core-webapi
asked Nov 11 at 21:51
V. Benavides
9819
9819
"The application event viewer points to a weird error that has nothing to do with asp.net core" - Does that error happen every time you try and access the website?
– Gabriel Luci
Nov 11 at 22:06
1
To get better error messages, try enablingstdoutLogEnabled
and settingstdoutLogFile
in theweb.config
as described here: docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/…
– Gabriel Luci
Nov 11 at 22:09
will post the errors early tomorrow as I will return to keep working on this.
– V. Benavides
Nov 11 at 22:21
Ok I am getting this error when trying yo call the service from other PC on the network: Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE' with physical root 'C:inetpubwwwroot' failed to start process with commandline ' ', ErrorCode = '0x80070057 : 0.
– V. Benavides
Nov 14 at 15:57
Have you installed the .NET Core Hosting bundle on the server?
– Gabriel Luci
Nov 14 at 16:11
|
show 1 more comment
"The application event viewer points to a weird error that has nothing to do with asp.net core" - Does that error happen every time you try and access the website?
– Gabriel Luci
Nov 11 at 22:06
1
To get better error messages, try enablingstdoutLogEnabled
and settingstdoutLogFile
in theweb.config
as described here: docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/…
– Gabriel Luci
Nov 11 at 22:09
will post the errors early tomorrow as I will return to keep working on this.
– V. Benavides
Nov 11 at 22:21
Ok I am getting this error when trying yo call the service from other PC on the network: Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE' with physical root 'C:inetpubwwwroot' failed to start process with commandline ' ', ErrorCode = '0x80070057 : 0.
– V. Benavides
Nov 14 at 15:57
Have you installed the .NET Core Hosting bundle on the server?
– Gabriel Luci
Nov 14 at 16:11
"The application event viewer points to a weird error that has nothing to do with asp.net core" - Does that error happen every time you try and access the website?
– Gabriel Luci
Nov 11 at 22:06
"The application event viewer points to a weird error that has nothing to do with asp.net core" - Does that error happen every time you try and access the website?
– Gabriel Luci
Nov 11 at 22:06
1
1
To get better error messages, try enabling
stdoutLogEnabled
and setting stdoutLogFile
in the web.config
as described here: docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/…– Gabriel Luci
Nov 11 at 22:09
To get better error messages, try enabling
stdoutLogEnabled
and setting stdoutLogFile
in the web.config
as described here: docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/…– Gabriel Luci
Nov 11 at 22:09
will post the errors early tomorrow as I will return to keep working on this.
– V. Benavides
Nov 11 at 22:21
will post the errors early tomorrow as I will return to keep working on this.
– V. Benavides
Nov 11 at 22:21
Ok I am getting this error when trying yo call the service from other PC on the network: Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE' with physical root 'C:inetpubwwwroot' failed to start process with commandline ' ', ErrorCode = '0x80070057 : 0.
– V. Benavides
Nov 14 at 15:57
Ok I am getting this error when trying yo call the service from other PC on the network: Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE' with physical root 'C:inetpubwwwroot' failed to start process with commandline ' ', ErrorCode = '0x80070057 : 0.
– V. Benavides
Nov 14 at 15:57
Have you installed the .NET Core Hosting bundle on the server?
– Gabriel Luci
Nov 14 at 16:11
Have you installed the .NET Core Hosting bundle on the server?
– Gabriel Luci
Nov 14 at 16:11
|
show 1 more comment
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53253606%2fnet-core-application-with-iis-502-5-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53253606%2fnet-core-application-with-iis-502-5-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
"The application event viewer points to a weird error that has nothing to do with asp.net core" - Does that error happen every time you try and access the website?
– Gabriel Luci
Nov 11 at 22:06
1
To get better error messages, try enabling
stdoutLogEnabled
and settingstdoutLogFile
in theweb.config
as described here: docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/…– Gabriel Luci
Nov 11 at 22:09
will post the errors early tomorrow as I will return to keep working on this.
– V. Benavides
Nov 11 at 22:21
Ok I am getting this error when trying yo call the service from other PC on the network: Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE' with physical root 'C:inetpubwwwroot' failed to start process with commandline ' ', ErrorCode = '0x80070057 : 0.
– V. Benavides
Nov 14 at 15:57
Have you installed the .NET Core Hosting bundle on the server?
– Gabriel Luci
Nov 14 at 16:11