Asp.Net Mvc Cloud hosting

Viewed 37

Asp Net MVC project works fine in IIS Server ,But after uploading it to a cloud space ,it shows an error code 500.19 ,I put the database in cloud ,it also works fine with IIS

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <directoryBrowse enabled="false" />
        <handlers accessPolicy="Read, Script"> 
           <add name="PHP via FastCGI" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="C:\PHP\php-cgi.exe|-d open_basedir=C:" resourceType="Unspecified" requireAccess="Script" />
           <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified"/>
       </handlers>
       <aspNetCore processPath="dotnet" 
                   arguments=".\TickLogicApplication.dll" 
                   stdoutLogEnabled="false" 
                   stdoutLogFile=".\logs\stdout" 
                   hostingModel="inprocess"/>
       <httpErrors errorMode="Detailed" existingResponse="PassThrough" />
        
    </system.webServer>
</configuration>

and in my local project .Can some one give me a solution?

0 Answers
Related