skip to Main Content

I uploaded my website to godaddy windows hosting with plesk.
All files are uploaded but I get an error:

500 – Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

From researching the problem online I figured the prob;em must be in my web.config file

I am showing here what I have in my web.config:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false" allowOverride="false">
<system.webServer>
  <httpErrors errorMode="Detailed"/>
  <handlers>
    <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
  </handlers>
  <aspNetCore processPath="dotnet" arguments=".myApp.dll" stdoutLogEnabled="false" stdoutLogFile=".logsstdout" />
</system.webServer>
<system.web>
  <trust level="Full" />
 </system.web>
 </location>
 <system.web>
<customErrors mode="Off" />
</system.web>
</configuration>

2

Answers


  1. Chosen as BEST ANSWER

    So after trying everything including calling godaddy and searching all over, I found out that GoDaddy doesn't support asp.net core 2.0 applications

    I hosted with 1and1 windows hosting and it runs!


  2. Your host (GoDaddy) will need to setup their servers to support asp.net core

    web.config in asp.net MVC core Project

    I tried on myproject also, but it didn’t work

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search