Without further digression I wanted to talk about errors I'm encountering with my websites. I've hosted these sites virtually unchanged since 2001. Being in the hosting business for almost a decade I have no illusions; I know I will need to modify scripts etc. to accommodate the change in servers.
The real problem is having the server return proper error messages to the client. Extremely problematic to say the least. They appear to be pre-formatted generic messages that contain no usable information to debug issues.
I've submitted all of my domains to tech support to have them turn on proper error messages but still, the vague messages persist. If I'm anything like other developers, when I have a script problem I snap to it and try variations of my code and work diligently to resolve it. Here, my hands are tied. I have no idea what to do especially since my scripts are, well, were sound at my old host.
I wish we could just turn these generic error pages off and have real world usable messages sent back to the client so that we can actually develop something. Error messages are fundamental to the development process.
As a test, I created a simple ASP page using Dreamweaver called test.asp. I did this on one of the sites that support turned on error messages for me.
Outside of the usual default tags that DW includes in new pages I inserted a simple piece of code:
<% Response.Write("Hello World") %>
Perfect. I received a blank white page with "Hello World" written on it. However, if I change the code to this:
<% Response.Write(Hello World") %>
I get a generic 500 server error message with no indication that it's an ASP Syntax error, the line number it's in or anything useful. I could have a thousand lines of code in a page and no idea what is wrong or that I'm missing a quotation mark.
In addition, it appears that sites that I've had error messages turned on for, are now all off again.
Either I'm missing something or perhaps another developer can share how they deal with such a quandary.
Any input would be appreciated.
Dean












