Web hosting Forums and discussions

Forums for Web hosting discussions: If you have any queries or questions related to web hosting services, place them here and get answered by our experts and customers. We invite you to even participate and provide solutions or answers that are known to any queries placed in this forums. We will get answer for all the queries and questions raised here.

Enable custom errors for php website on asp.net platform

Jaskeerat Singh (Guest) on Saturday, October 20 2012, 05:54 PM
0
how can i enable custom errors in asp.net platform for the website build in php language. i have build a website in php and i have upload but am unable to view the errors. where i just getting the 500 internal server error.

domain name: narulaphotography.com
hosting plan: ASP.NET Economy Hosting win 13
Please Help us as soon as possible....
       
  •  
    Replied by Jacob on Monday, October 22 2012, 08:10 AM · Hide · #1
    Hi,

    Try adding this line to the start of the page error_reporting(E_ALL) to see the all errors, warnings and messages.

    You should also be able to easily manage custom errors of your website using IIS remote admin. http://www.hostasp.net/kb/iis-manager/index.html

    (or) directly in your web.config with following code to see detailed HTTP errors

    <configuration>
        <system.webServer>
            <httpErrors errorMode="Detailed" />
            <asp scriptErrorSentToBrowser="true"/>
        </system.webServer>
        <system.web>
            <customErrors mode="Off"/>
            <compilation debug="true"/>
        </system.web>
    </configuration>
    Technical specialist HostASP
Your Response
Please login first in order for you to submit comments