WEB CONFIG DOSYASINA EKLİYORUZ;
<configuration>
<system.webServer>
<httpErrors errorMode="Custom" existingResponse="Replace">
<remove statusCode="404"/>
<remove statusCode="500"/>
<remove statusCode="503"/>
<error statusCode="404" path="/" responseMode="Redirect"/>
<error statusCode="500" path="/" responseMode="Redirect"/>
<error statusCode="503" path="/" responseMode="Redirect"/>
</httpErrors>
</system.webServer></configuration>
C#,MVC,MSSQL,Windows Forms