ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 12th, 2003, 11:13 AM
jhapankaj1974 jhapankaj1974 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 3 jhapankaj1974 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to jhapankaj1974
Unhappy ASP Error

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

Reply With Quote
  #2  
Old September 12th, 2003, 11:25 AM
Vlince Vlince is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Canada, Quebec, Montreal
Posts: 410 Vlince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
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

Reply With Quote
  #3  
Old September 12th, 2003, 12:43 PM
jhapankaj1974 jhapankaj1974 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 3 jhapankaj1974 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to jhapankaj1974
I tried unchecking

show friendly HTTP error messages

but still i am not able to get asp error messages

thanks

pankaj

Reply With Quote
  #4  
Old September 12th, 2003, 02:25 PM
karsh44's Avatar
karsh44 karsh44 is offline
Just another guy
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2003
Location: Wisconsin
Posts: 2,915 karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 13 h 13 m 21 sec
Reputation Power: 76
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.

Reply With Quote
  #5  
Old September 12th, 2003, 03:59 PM
jhapankaj1974 jhapankaj1974 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 3 jhapankaj1974 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to jhapankaj1974
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.

Reply With Quote
  #6  
Old September 12th, 2003, 04:30 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,957 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 15 h 35 m 19 sec
Reputation Power: 802
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.

Reply With Quote
  #7  
Old September 14th, 2003, 05:06 PM
seb835 seb835 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: UK, London
Posts: 95 seb835 User rank is Lance Corporal (50 - 100 Reputation Level)seb835 User rank is Lance Corporal (50 - 100 Reputation Level)seb835 User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 9 h 36 m 11 sec
Reputation Power: 6
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > ASP Error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT