473,383 Members | 1,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

No syntax error msgs in the Browser

Hello!
I am useing ASP scripts with PERL and IIS 6.0 (Internet Information
Server). The scripts are useing the 'Response.Redirect "xxx.asp"' cmd.
Beside this there is a form which calls another ASP script in the
action part.
My problem is that the Browser does not print out Syntax Errors of my
script (for example a bracket is missing). Instead the very common
message appears:

HTTP 500 - Internal Servererror
Internet Explorer

With sripts which do not use the Redirect I have error messages with
line numbers in the browser window.

Is there a possibility to display Errors of my script if it uses
Redirects and Forms?

Beside this I am using a simple text editor without syntax
highlighting. Does anybody know an editor or programming tool
(freeware) which shows syntax errors in the combination of
ASP/HTML/PERL in one script?
Eclipse for example does only recognize Perl errors. But in my
application the Perl code is embedded in the ASP code.

Thank you

Udo Schmitt

Mar 22 '06 #1
6 1500
My problem is that the Browser does not print out Syntax Errors of my
script (for example a bracket is missing). Instead the very common
message appears:

HTTP 500 - Internal Servererror
Internet Explorer

With sripts which do not use the Redirect I have error messages with
line numbers in the browser window.

Is there a possibility to display Errors of my script if it uses
Redirects and Forms?
Turn off 'Show friendly HTTP error messages'

In Internet Explorer:

Tools >> Internet Options >> Advanced
Uncheck 'Show friendly HTTP error messages'

Beside this I am using a simple text editor without syntax
highlighting. Does anybody know an editor or programming tool
(freeware) which shows syntax errors in the combination of
ASP/HTML/PERL in one script?
Eclipse for example does only recognize Perl errors. But in my
application the Perl code is embedded in the ASP code.


Persoanally I use Textpad, it's not freeware but there is a trial
version:

http://www.textpad.com

Cheers,

Lee
Mar 22 '06 #2
Thank you Lee,

Lee Carnell schrieb:

Turn off 'Show friendly HTTP error messages'>
In Internet Explorer:

Tools >> Internet Options >> Advanced
Uncheck 'Show friendly HTTP error messages'

This is a good solution. But the script with the action part (of forms)
returns immediately with no action (because of the error) and no error
message will be printed out.

Persoanally I use Textpad, it's not freeware but there is a trial
version:

http://www.textpad.com


I will try it. Thank you very much for your help.

Cheers,

Udo

Mar 22 '06 #3
Hi Udo


This is a good solution. But the script with the action part (of forms)
returns immediately with no action (because of the error) and no error
message will be printed out.


Can you not simply take out the 'redirect' to test the page and introduce it
once more once you have de-bugged?

Lee
Mar 22 '06 #4
With the new host that I have. There was an option in the control panel that
when unchecked, allowed the errors to be shown.
Otherwise, I was getting the same thing.

Hope that helps.
"Lee Carnell" <leexcarnell@gmailxcom> wrote in message
news:44**********************@news.aaisp.net.uk...
Hi Udo


This is a good solution. But the script with the action part (of forms)
returns immediately with no action (because of the error) and no error
message will be printed out.


Can you not simply take out the 'redirect' to test the page and introduce
it once more once you have de-bugged?

Lee

Mar 22 '06 #5
Hi Lee,

Can you not simply take out the 'redirect' to test the page and introduce it
once more once you have de-bugged?


Redirect works. But forms have an action part. When this action script
(e.g called after preesing a button) has an error, I cannot see the
error.

....

Oh yes! I can remove the redirects in the action script.

Thanks

Udo

Mar 22 '06 #6
read the 1st part
http://www.powerasp.com/content/hint...mmon_sense.asp
"Robin" <Ro***@123schmitt.de> wrote in message
news:11*********************@i40g2000cwc.googlegro ups.com...
Hello!
I am useing ASP scripts with PERL and IIS 6.0 (Internet Information
Server). The scripts are useing the 'Response.Redirect "xxx.asp"' cmd.
Beside this there is a form which calls another ASP script in the
action part.
My problem is that the Browser does not print out Syntax Errors of my
script (for example a bracket is missing). Instead the very common
message appears:

HTTP 500 - Internal Servererror
Internet Explorer

With sripts which do not use the Redirect I have error messages with
line numbers in the browser window.

Is there a possibility to display Errors of my script if it uses
Redirects and Forms?

Beside this I am using a simple text editor without syntax
highlighting. Does anybody know an editor or programming tool
(freeware) which shows syntax errors in the combination of
ASP/HTML/PERL in one script?
Eclipse for example does only recognize Perl errors. But in my
application the Perl code is embedded in the ASP code.

Thank you

Udo Schmitt

Mar 22 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: dschelberg | last post by:
Has anyone seen this before where IIS is logging CSS (Cascading Style Sheet) 500 error msgs and what can we do to fix it. I have 5 web apps on a Win2k IIS 5.0 server and am not certain where to...
6
by: Richard Silverstein | last post by:
I'm a member of a forum sponsored by jasc.com ( http://forums.jasc.com/ ) which uses Webboard software. I use Firefox 1.0 (final release) as my browser. When I used previous versions of FF I had...
2
by: A. Nonymous | last post by:
I am trying to write a function that will centre a DIV-layer into the middle of the web browser screen. This is only for Internet Explorer. I keep getting and Invalid Argument error whenever I call...
7
by: Josh | last post by:
Hi All, I know this is a novice question that I should be able to solve through searching but I have Googled my fingers off and not found anything that seems to help. I have the following...
0
by: jbrag | last post by:
Hi My 2003 and XP web application server machines have a problem related to ASP.NET framework. The IIS/ASP.NET generates javascript code in my Xxx.ASPX pages containing this fragment : ...
4
by: Michael | last post by:
Hi, I've just started with PHP and am picking up my error msgs from the Apache log file. Is there any way to force the error msgs to appear in the browser window? Thanks, M. McDonnell
1
by: John Smith | last post by:
This is what I am trying to do: FileStream fs = new FileStream("C:\\request1.xml", FileMode.Open); XmlSerializer x = new XmlSerializer(typeof(PodpisaniDokumentTip)); PodpisaniDokumentTip doc =...
2
by: Flic | last post by:
Hi, I have a basic db that I access with MySQL query browser. Everything seems fine to me but I am using this db as part of a php shopping basket and when I try to add an item I get: Notice:...
9
by: bill | last post by:
I just started a new project on a new virtual server. If I write a small script, it executes fine. If there is an error in the small script, I get no output at all, but the browser shows "done."...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.