|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi All:
I am not able to see the VBScript errors(ASP Code) on the browers(IE). for example if my test.asp page has any asp code error then only thing is see is "The page cannot be displayed" i dont know why i am not able to get vbscript error or asp compilation error something like that which i used to get. do i need to change anything on server. even i tried enabling the setting on IIS server Debug option client site debug. please help i am strugling on this for last one week thanks pankaj |
|
#2
|
|||
|
|||
|
Try this inside *YOUR* browser:
Tools-->Internet Options-->Advance(tab)-->Uncheck Show Friendly HTTP error messages And look at the real error message Hope this helps! Sincerely Vlince |
|
#3
|
|||
|
|||
|
I tried unchecking
show friendly HTTP error messages but still i am not able to get asp error messages thanks pankaj |
|
#4
|
||||
|
||||
|
Possibly a silly suggestion, but are you sure that the problem is an error in the asp page? Where are you trying to access the page from? If you are using some remote computer, its possible that your connection is broken, rather than the asp code.
|
|
#5
|
|||
|
|||
|
thanks for ur advice.
that is not the issue, there is nothing wrong in connection. i posted this problem in other forums too but no reply. |
|
#6
|
|||
|
|||
|
There is a setting in IIS where you can turn off detailed error messages.
Use the IIS MMC and open the properties for you website, open the application configuration, and on the Debug page you'll find a setting about detailed error messages. |
|
#7
|
|||
|
|||
|
I know the solution to this problem. When I first started doing ASP it really caught me out when I had an ASP syntax error but all IE showed me was that stupid "page not found" page.
What you have to do is delete all the code in the ASP page which is giving you problems and replace it with something you KNOW works...like a simple Response.Write "AAA". Now run the page and you should see the output "AAA" in the browser. Now go back to your text editor and re-paste the code in that was giving you probelms without closing the browser. Save your code and then in your browser hit refresh and you should then get the proper ASP error message telling you whats wrong. Let me know how you get on with this ok? Seb |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > ASP Error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|