IIS issues for Core webAPi deployment
-
I have an interesting problem 1. Deployed a site to our Dev server. QA tested the APP Review passed the APP 2. Deploy for UAT Now this is where it gets interesting, when you try to call an end point in the API you get a 500 internal server error What I've tried 1. run dotnet apiDynamicLinkLibraryName.dll - runs / compliles with no isses in the command prompt 2. checked the connection string etc are valid and up to date 3. compared dot net versions that are installed 4. checked what details are in server event log and nothing appears to show there is an issue 5. checked other sites in UAT are working and they do 6. added a simple index1234.html page to the site (as it is an API) so that I can rule out the site not being correctly configured and I get a HTTP 404 not found 6.1 if I remove the site and add just the index1234.html it works 6.2 if I add the site back in the call in 6.1 doesn't work 6.3 but IF I go to site/swagger that works. Does anyone have anything else that I should check? Thanks Simon
Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON
-
I have an interesting problem 1. Deployed a site to our Dev server. QA tested the APP Review passed the APP 2. Deploy for UAT Now this is where it gets interesting, when you try to call an end point in the API you get a 500 internal server error What I've tried 1. run dotnet apiDynamicLinkLibraryName.dll - runs / compliles with no isses in the command prompt 2. checked the connection string etc are valid and up to date 3. compared dot net versions that are installed 4. checked what details are in server event log and nothing appears to show there is an issue 5. checked other sites in UAT are working and they do 6. added a simple index1234.html page to the site (as it is an API) so that I can rule out the site not being correctly configured and I get a HTTP 404 not found 6.1 if I remove the site and add just the index1234.html it works 6.2 if I add the site back in the call in 6.1 doesn't work 6.3 but IF I go to site/swagger that works. Does anyone have anything else that I should check? Thanks Simon
Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON
Have you tried enabling the
stdoutLogEnabled
setting inweb.config
and checking the log?
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
Have you tried enabling the
stdoutLogEnabled
setting inweb.config
and checking the log?
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Thanks Rich worked a treat I was able to resolve the issue Thanks Simon
Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON