|
 |
aspx_beginners thread: HTTP: Error 500!
Message #1 by Michael Quinn <michael@m...> on Mon, 2 Jul 2001 00:26:54 +0100
|
|
I have just purchased "Beginning Active Server Pages 3.0" to start
learning to program in asp on my windows 2000 computer. When I enter
http://michael/localstart.asp into my IE5 browser, where michael is the
machine name, I get the error
HTTP 500 - Internal server error
Internet Explorer
I have reinstalled IIS 5.0 with the same result. The machine is part of
a small network and I do not use a proxy server. The dial-up setting
is set to "Never dial a connection".
Can you explain what the problem is and how to overcome it or do you
need more information, and if so what?
Regards Michael
--
Michael Quinn
Message #2 by "Ken Schaefer" <ken@a...> on Mon, 2 Jul 2001 16:23:57 +1000
|
|
Michael,
Firstly, you are asking on the ASP.Net list - not the ASP v3 list. I suggest
you sign up for the ASP v3 list here:
http://p2p.wrox.com/list.asp?list=beginning_asp
Secondly, in your copy of Internet Explorer, goto Tools, Internet Options,
Advanced and uncheck the Box that says "Show Friendly HTTP errors" - you
should then get an error message that was sent from your webserver, rather
than the sanitised IE version.
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----- Original Message -----
From: "Michael Quinn" <michael@m...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Monday, July 02, 2001 9:26 AM
Subject: [aspx_beginners] HTTP: Error 500!
: I have just purchased "Beginning Active Server Pages 3.0" to start
: learning to program in asp on my windows 2000 computer. When I enter
: http://michael/localstart.asp into my IE5 browser, where michael is the
: machine name, I get the error
:
: HTTP 500 - Internal server error
: Internet Explorer
:
: I have reinstalled IIS 5.0 with the same result. The machine is part of
: a small network and I do not use a proxy server. The dial-up setting
: is set to "Never dial a connection".
:
: Can you explain what the problem is and how to overcome it or do you
: need more information, and if so what?
:
: Regards Michael
: --
: Michael Quinn
Message #3 by "Dennis West" <westdh@h...> on Mon, 2 Jul 2001 01:27:31 -0500
|
|
If your attempting to learn asp then your listing is on the wrong forum asp
and aspx are not the same
-----Original Message-----
From: Michael Quinn [mailto:michael@m...]
Sent: Sunday, July 01, 2001 6:27 PM
To: aspx_beginners
Subject: [aspx_beginners] HTTP: Error 500!
I have just purchased "Beginning Active Server Pages 3.0" to start
learning to program in asp on my windows 2000 computer. When I enter
http://michael/localstart.asp into my IE5 browser, where michael is the
machine name, I get the error
HTTP 500 - Internal server error
Internet Explorer
I have reinstalled IIS 5.0 with the same result. The machine is part of
a small network and I do not use a proxy server. The dial-up setting
is set to "Never dial a connection".
Can you explain what the problem is and how to overcome it or do you
need more information, and if so what?
Regards Michael
--
Michael Quinn
Message #4 by "JIB_GEO" <jib_geo@y...> on Mon, 2 Jul 2001 13:04:49 +0530
|
|
Check your code in that ASP page, there is an error in that. That's why it's
showing "Internatl Server Error". If you are using IIS 5 on Win 2000 it
will not show you the error no, error dec.. etc..
For getting all these stuffs, go to IIS Admin, Take the properties of your
site. and add a custom page to the error 500. If you want I can send you
that page, which I got from Microsoft's site. It's good for debugging ASP
pages.
Happy Programming
JIB
----- Original Message -----
From: "Michael Quinn" <michael@m...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Monday, July 02, 2001 4:56 AM
Subject: [aspx_beginners] HTTP: Error 500!
> I have just purchased "Beginning Active Server Pages 3.0" to start
> learning to program in asp on my windows 2000 computer. When I enter
> http://michael/localstart.asp into my IE5 browser, where michael is the
> machine name, I get the error
>
> HTTP 500 - Internal server error
> Internet Explorer
>
> I have reinstalled IIS 5.0 with the same result. The machine is part of
> a small network and I do not use a proxy server. The dial-up setting
> is set to "Never dial a connection".
>
> Can you explain what the problem is and how to overcome it or do you
> need more information, and if so what?
>
> Regards Michael
> --
> Michael Quinn
Message #5 by Michael Quinn <michael@m...> on Mon, 2 Jul 2001 11:33:46 +0100
|
|
Hi Ken
>
>Firstly, you are asking on the ASP.Net list - not the ASP v3 list. I suggest
>you sign up for the ASP v3 list here:
>http://p2p.wrox.com/list.asp?list=beginning_asp
>
>Secondly, in your copy of Internet Explorer, goto Tools, Internet Options,
>Advanced and uncheck the Box that says "Show Friendly HTTP errors" - you
>should then get an error message that was sent from your webserver, rather
>than the sanitised IE version.
>
I unchecked the Box as you suggested and IE5 reported a Server
Application error and suggested looking in the event log for more
information. Where do I find the event log please?
Regards Michael
--
Michael Quinn
Message #6 by "Ken Schaefer" <ken@a...> on Mon, 2 Jul 2001 23:13:22 +1000
|
|
Start | Control Panels | Administrative Tools | Event Viewer
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----- Original Message -----
From: "Michael Quinn" <michael@m...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Monday, July 02, 2001 8:33 PM
Subject: [aspx_beginners] Re: HTTP: Error 500!
: Hi Ken
: >
: >Firstly, you are asking on the ASP.Net list - not the ASP v3 list. I
suggest
: >you sign up for the ASP v3 list here:
: >http://p2p.wrox.com/list.asp?list=beginning_asp
: >
: >Secondly, in your copy of Internet Explorer, goto Tools, Internet
Options,
: >Advanced and uncheck the Box that says "Show Friendly HTTP errors" - you
: >should then get an error message that was sent from your webserver,
rather
: >than the sanitised IE version.
: >
: I unchecked the Box as you suggested and IE5 reported a Server
: Application error and suggested looking in the event log for more
: information. Where do I find the event log please?
Message #7 by "Eldridge, Cindy (CORP)" <Cindy.Eldridge@C...> on Mon, 2 Jul 2001 10:03:14 -0400
|
|
How does this work? Sounds like a great solution to find the root
cause to
internal server error.
Thanks.
Cindy
-----Original Message-----
From: JIB_GEO [mailto:jib_geo@y...]
Sent: Monday, July 02, 2001 3:35 AM
To: aspx_beginners
Subject: [aspx_beginners] Re: HTTP: Error 500!
Check your code in that ASP page, there is an error in that. That's why
it's
showing "Internatl Server Error". If you are using IIS 5 on Win 2000
it
will not show you the error no, error dec.. etc..
For getting all these stuffs, go to IIS Admin, Take the properties of
your
site. and add a custom page to the error 500. If you want I can send
you
that page, which I got from Microsoft's site. It's good for debugging
ASP
pages.
Happy Programming
JIB
----- Original Message -----
From: "Michael Quinn" <michael@m...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Monday, July 02, 2001 4:56 AM
Subject: [aspx_beginners] HTTP: Error 500!
> I have just purchased "Beginning Active Server Pages 3.0" to start
> learning to program in asp on my windows 2000 computer. When I enter
> http://michael/localstart.asp into my IE5 browser, where michael is
the
> machine name, I get the error
>
> HTTP 500 - Internal server error
> Internet Explorer
>
> I have reinstalled IIS 5.0 with the same result. The machine is part
of
> a small network and I do not use a proxy server. The dial-up setting
> is set to "Never dial a connection".
>
> Can you explain what the problem is and how to overcome it or do you
> need more information, and if so what?
>
> Regards Michael
> --
> Michael Quinn
Message #8 by Michael Quinn <michael@m...> on Mon, 2 Jul 2001 16:29:42 +0100
|
|
Hi
>Check your code in that ASP page, there is an error in that. That's why it's
>showing "Internatl Server Error". If you are using IIS 5 on Win 2000 it
>will not show you the error no, error dec.. etc..
>For getting all these stuffs, go to IIS Admin, Take the properties of your
>site. and add a custom page to the error 500. If you want I can send you
>that page, which I got from Microsoft's site. It's good for debugging ASP
>pages.
>
>Happy Programming
>
>JIB
>
Yes Please send me the page you suggest.
Regards Michael
--
Michael Quinn
Message #9 by "Ken Schaefer" <ken@a...> on Tue, 3 Jul 2001 11:21:24 +1000
|
|
I'm sorry, but if you go an actually /look/ at the code in the 500 error
page supplied with IIS v5 you will see that it uses the inbuilt ASPError
object to report the source, line number and column of the error.
I suspect the reason you are not seeing this information is becuase IE has
an annoying feature which sanitises errors from the server - you need to
uncheck the box that says "Show Friendly Error Messages" before IE will
display the error sent by the server. You can verify this by attempting to
look at the dud page using Netscape - Netscape doesn't do this sanitising.
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----- Original Message -----
From: "Michael Quinn" <michael@m...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Tuesday, July 03, 2001 1:29 AM
Subject: [aspx_beginners] Re: HTTP: Error 500!
: Hi
: >Check your code in that ASP page, there is an error in that. That's why
it's
: >showing "Internatl Server Error". If you are using IIS 5 on Win 2000 it
: >will not show you the error no, error dec.. etc..
: >For getting all these stuffs, go to IIS Admin, Take the properties of
your
: >site. and add a custom page to the error 500. If you want I can send you
: >that page, which I got from Microsoft's site. It's good for debugging
ASP
: >pages.
: >
: >Happy Programming
: >
: >JIB
: >
: Yes Please send me the page you suggest.
: Regards Michael
: --
: Michael Quinn
Message #10 by "Steve Minton" <steveminton@l...> on Mon, 2 Jul 2001 23:15:27 +0100
|
|
Also, for a more specific reason for the error, in IE - click
Tools>>Internet Options>>Advanced and uncheck the "Show friendly HTTP error
messages" box under the "Browsing" section - refresh the offending page for
a more specific idea of what's wrong.
Regards
Steve Minton
Web Developer
HSBC
----- Original Message -----
From: "Eldridge, Cindy (CORP)" <Cindy.Eldridge@C...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Monday, July 02, 2001 3:03 PM
Subject: [aspx_beginners] Re: HTTP: Error 500!
How does this work? Sounds like a great solution to find the root cause to
internal server error.
Thanks.
Cindy
-----Original Message-----
From: JIB_GEO [mailto:jib_geo@y...]
Sent: Monday, July 02, 2001 3:35 AM
To: aspx_beginners
Subject: [aspx_beginners] Re: HTTP: Error 500!
Check your code in that ASP page, there is an error in that. That's why it's
showing "Internatl Server Error". If you are using IIS 5 on Win 2000 it
will not show you the error no, error dec.. etc..
For getting all these stuffs, go to IIS Admin, Take the properties of your
site. and add a custom page to the error 500. If you want I can send you
that page, which I got from Microsoft's site. It's good for debugging ASP
pages.
Happy Programming
JIB
----- Original Message -----
From: "Michael Quinn" <michael@m...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Monday, July 02, 2001 4:56 AM
Subject: [aspx_beginners] HTTP: Error 500!
> I have just purchased "Beginning Active Server Pages 3.0" to start
> learning to program in asp on my windows 2000 computer. When I enter
> http://michael/localstart.asp into my IE5 browser, where michael is the
> machine name, I get the error
>
> HTTP 500 - Internal server error
> Internet Explorer
>
> I have reinstalled IIS 5.0 with the same result. The machine is part of
> a small network and I do not use a proxy server. The dial-up setting
> is set to "Never dial a connection".
>
> Can you explain what the problem is and how to overcome it or do you
> need more information, and if so what?
>
> Regards Michael
> --
> Michael Quinn
Message #11 by "JIB_GEO" <jib_geo@y...> on Tue, 3 Jul 2001 10:52:43 +0530
|
|
It works like this.
Things to do :-
---------------
1. Create a custom error page which can show error message, line number, and
the file name (if you want I can send you the page for that, send me
your email id)
2. Attach this page to the custom error 500 in IIS Admin Panel of your site.
How it works:-
--------------
When an error occurs in any of the asp pages inside that site. IIS
automaticall transfers to the error page which we have provided for 500
Error. In that page we have written code for displaying the errror.
This is how it works. I found it very helpful, when I switched my
development platform from NT4 to Win2K.
JIB
----- Original Message -----
From: "Eldridge, Cindy (CORP)" <Cindy.Eldridge@C...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Monday, July 02, 2001 7:33 PM
Subject: [aspx_beginners] Re: HTTP: Error 500!
How does this work? Sounds like a great solution to find the root cause to
internal server error.
Thanks.
Cindy
-----Original Message-----
From: JIB_GEO [mailto:jib_geo@y...]
Sent: Monday, July 02, 2001 3:35 AM
To: aspx_beginners
Subject: [aspx_beginners] Re: HTTP: Error 500!
Check your code in that ASP page, there is an error in that. That's why it's
showing "Internatl Server Error". If you are using IIS 5 on Win 2000 it
will not show you the error no, error dec.. etc..
For getting all these stuffs, go to IIS Admin, Take the properties of your
site. and add a custom page to the error 500. If you want I can send you
that page, which I got from Microsoft's site. It's good for debugging ASP
pages.
Happy Programming
JIB
----- Original Message -----
From: "Michael Quinn" <michael@m...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Monday, July 02, 2001 4:56 AM
Subject: [aspx_beginners] HTTP: Error 500!
> I have just purchased "Beginning Active Server Pages 3.0" to start
> learning to program in asp on my windows 2000 computer. When I enter
> http://michael/localstart.asp into my IE5 browser, where michael is the
> machine name, I get the error
>
> HTTP 500 - Internal server error
> Internet Explorer
>
> I have reinstalled IIS 5.0 with the same result. The machine is part of
> a small network and I do not use a proxy server. The dial-up setting
> is set to "Never dial a connection".
>
> Can you explain what the problem is and how to overcome it or do you
> need more information, and if so what?
>
> Regards Michael
> --
> Michael Quinn
Message #12 by "Ken Schaefer" <ken@a...> on Tue, 3 Jul 2001 18:48:23 +1000
|
|
This type of page already comes with IIS v5...
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----- Original Message -----
From: "JIB_GEO" <jib_geo@y...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Tuesday, July 03, 2001 3:22 PM
Subject: [aspx_beginners] Re: HTTP: Error 500!
: It works like this.
:
: Things to do :-
: ---------------
:
: 1. Create a custom error page which can show error message, line number,
and
: the file name (if you want I can send you the page for that, send me
: your email id)
: 2. Attach this page to the custom error 500 in IIS Admin Panel of your
site.
:
: How it works:-
: --------------
:
: When an error occurs in any of the asp pages inside that site. IIS
: automaticall transfers to the error page which we have provided for 500
: Error. In that page we have written code for displaying the errror.
:
: This is how it works. I found it very helpful, when I switched my
: development platform from NT4 to Win2K.
:
: JIB
Message #13 by "JIB_GEO" <jib_geo@y...> on Tue, 3 Jul 2001 15:18:25 +0530
|
|
Thanks Ken, It was a new information for me. any way I've tried with
unchecking in the browser window and it works.
Thanks for the information
JIB
----- Original Message -----
From: "Ken Schaefer" <ken@a...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Tuesday, July 03, 2001 2:18 PM
Subject: [aspx_beginners] Re: HTTP: Error 500!
> This type of page already comes with IIS v5...
>
> Cheers
> Ken
>
|
|
 |