Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. IIS issues for Core webAPi deployment

IIS issues for Core webAPi deployment

Scheduled Pinned Locked Moved Web Development
helpsysadmincsharphtmlasp-net
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Simon_Whale
    wrote on last edited by
    #1

    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

    Richard DeemingR 1 Reply Last reply
    0
    • S Simon_Whale

      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

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Have you tried enabling the stdoutLogEnabled setting in web.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

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      S 1 Reply Last reply
      0
      • Richard DeemingR Richard Deeming

        Have you tried enabling the stdoutLogEnabled setting in web.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

        S Offline
        S Offline
        Simon_Whale
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups