Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 28th, 2005, 10:11 AM
Authorized User
Points: 325, Level: 6
Points: 325, Level: 6 Points: 325, Level: 6 Points: 325, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Altamonte Springs, FL
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default IIS - Windows 2003

Hi:

I can't make the IIS for Windows 2003 return detailed errors for debugging.

I've set the Config >> Debug for debugging on the server and selected send detailed error messages to the client. I also went into DComCnfg and set the IUSER account to launch and run, umm what was it? I can't remember, system services?

Anyway, no matter what I do that stupid server will NOT display any page with ANY problem on it and WILL NOT tell me what it's problem is.

How can I make it display the page anyway (would be real nice) and/or return me an error I can use?

__________________
http://www.softlinksys.com
Professional Software Developer since 1994.
Reply With Quote
  #2 (permalink)  
Old June 28th, 2005, 10:19 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Is the problem only with .asp pages, or do you get the same problem for a .htm as well?

Reply With Quote
  #3 (permalink)  
Old June 28th, 2005, 10:24 AM
Authorized User
Points: 325, Level: 6
Points: 325, Level: 6 Points: 325, Level: 6 Points: 325, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Altamonte Springs, FL
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hmm, I have to say ASP.
I'm not looking for client side errors.
I'm looking for errors that the ASP script caused on the server side.
Also, if I could find a way to get it to do it, I'd love it if it'd display the page up to the point where it has the problem.

Reply With Quote
  #4 (permalink)  
Old June 28th, 2005, 10:28 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Sure, just trying to work out where the problem is, have you enabled asp pages (you can do this in the "web service extensions" node of the iis manager tree)?

Reply With Quote
  #5 (permalink)  
Old June 28th, 2005, 10:34 AM
Authorized User
Points: 325, Level: 6
Points: 325, Level: 6 Points: 325, Level: 6 Points: 325, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Altamonte Springs, FL
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh, I'm thinking I wasn't clear.
Most of my ASP pages work fine.
WHEN there's a problem with a page, the server won't return the errors, it just says 'cannot display the page . . . " I think it's a 504? error? Just a generic message. I need the details. That is, the page and the line of code that crashed.

Reply With Quote
  #6 (permalink)  
Old June 28th, 2005, 10:50 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Has your browser been set to return friendly error messages?
In IE this would be in tools -> internet options -> advanced -> show friendly http error messages

Reply With Quote
  #7 (permalink)  
Old June 28th, 2005, 10:54 AM
Authorized User
Points: 325, Level: 6
Points: 325, Level: 6 Points: 325, Level: 6 Points: 325, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Altamonte Springs, FL
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes. I should probably mention that I've been writing ASP applications for about 10 years.
Also, one of the servers that I'm having a problem with used to return the errors for me.
My client got a new network engineer, who reconfigured the server. Now it won't return errors and the network engineer doesn't know why or how to fix it.


Reply With Quote
  #8 (permalink)  
Old June 28th, 2005, 11:20 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

The answer to the previous question should be no.

Which error are you getting (I don't think IIS has a 504 error)?



Reply With Quote
  #9 (permalink)  
Old June 28th, 2005, 09:01 PM
Authorized User
Points: 325, Level: 6
Points: 325, Level: 6 Points: 325, Level: 6 Points: 325, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Altamonte Springs, FL
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't think you understand the problem.
I can produce the error by causing ANY SERVER SIDE SCRIPT PROBLEM

The problem is that it WON'T RETURN AN ERROR that gives me the page and line or any indication as to the cause of the problem.

It's not specific to one problem. In this case (shown below) I intentionally called a database with an incorrect path just so I could produce the error.
Having fixed the database path, the page displays normally.

Again, my problem is:
"I can't make the IIS for Windows 2003 return detailed errors for debugging."

-----------
The page cannot be displayed
There is a problem with the page you are looking for, and it cannot be displayed.
--------------------------------------------------------------------------------

Please try the following:

Contact the Web site administrator to inform them that this error has occured for this URL address.
HTTP Error 500 - Internal server error.
Internet Information Services (IIS)

--------------------------------------------------------------------------------

Technical Information (for support personnel)

Go to Microsoft Product Support Services and perform a title search for the words HTTP and 500.
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Administration, and About Custom Error Messages.
In the IIS Software Development Kit (SDK) or at the MSDN Online Library, search for topics titled Debugging ASP Scripts, Debugging Components, and Debugging ISAPI Extensions and Filters.
-----------------------------------------------


Reply With Quote
  #10 (permalink)  
Old June 28th, 2005, 09:48 PM
Friend of Wrox
Points: 6,468, Level: 34
Points: 6,468, Level: 34 Points: 6,468, Level: 34 Points: 6,468, Level: 34
Activity: 10%
Activity: 10% Activity: 10% Activity: 10%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,835
Thanks: 12
Thanked 16 Times in 16 Posts
Send a message via AIM to mat41
Default

Yes, I saw you other post. IMO I think your problem should remain here as there is a history - EG:
others will ask about friendly error etc which has already been covered.

Anyhow
I was not aware of a 504 error either, it seems:
504 = Gateway timeout. Are you using CGI or the like? If so remove this code and run the page, still a 504?

You answered yes to the question "Has your browser been set to return friendly error messages?" As Chris said your answer should be no. Make sure this box is not checked.

I have used IIS 6.0 a fair bit. There is no setting that need to be swithched on to allow errors, this I know. Network admins should stay away from IIS. He doesnt know what he done, thats a worry.

Wind is your friend
Matt
Reply With Quote
Reply


Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing IIS for Visual Studio 2003 createrk General .NET 3 April 25th, 2008 12:03 PM
BugBase Roles Do not Appear Windows 2003 IIS 6.0 siegelb BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 12 March 7th, 2008 03:56 AM
IIS install on Win Srv 2003 x64 tbroom BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 August 9th, 2006 01:38 PM
unidcode utf-8 in iis 6.0 win server 2003 cyus Classic ASP Components 0 September 22nd, 2005 04:45 AM
IIS 2003 Can't Debug - Please HELP! MAtkins Classic ASP Basics 0 June 28th, 2005 09:04 PM



All times are GMT -4. The time now is 03:00 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.