Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS logs 500 server error, but page displays with 200?

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Vista websire problem  
Author Message
Mason G. Zhwiti

External


Since: Mar 07, 2007
Posts: 1



(Msg. 1) Posted: Wed Mar 07, 2007 9:15 am
Post subject: IIS logs 500 server error, but page displays with 200?
Archived from groups: microsoft>public>inetserver>iis (more info?)

We have just noticed something totally bizarre with one of our Perl
scripts, running on IIS 6, Windows 2003 Server, Perl 5.8.4.

The IIS logs show 500 as the status code for every hit to this script,
but from the user's perspective, the thing works fine. (Using
LiveHTTPHeaders add-on for Firefox, I see the server is return a 200
OK status response!) So IIS is logging 500 but sending 200.

Has anyone seen anything like this? Any ideas? Thanks!

MGZ

 >> Stay informed about: IIS logs 500 server error, but page displays with 200? 
Back to top
Login to vote
David Wang

External


Since: Dec 22, 2006
Posts: 560



(Msg. 2) Posted: Wed Mar 07, 2007 9:52 am
Post subject: Re: IIS logs 500 server error, but page displays with 200? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mar 7, 9:15 am, "Mason G. Zhwiti" <mason.g.zhw....TakeThisOut@gmail.com> wrote:
> We have just noticed something totally bizarre with one of our Perl
> scripts, running on IIS 6, Windows 2003 Server, Perl 5.8.4.
>
> The IIS logs show 500 as the status code for every hit to this script,
> but from the user's perspective, the thing works fine. (Using
> LiveHTTPHeaders add-on for Firefox, I see the server is return a 200
> OK status response!) So IIS is logging 500 but sending 200.
>
> Has anyone seen anything like this? Any ideas? Thanks!
>
> MGZ


With custom Script Engines like Perl, IIS actually logs whatever the
Script Engine tells it to. By default, IIS logs a 200.

So, it looks like the Script Engine has a bug where it sends back 200
responses but tells IIS to log 500. You will need to follow up with
support personel for the specific Script Engine.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

 >> Stay informed about: IIS logs 500 server error, but page displays with 200? 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]