Connecting Tech Pros Worldwide Forums | Help | Site Map

I'm totally stumped - IIS not working on two separate machines - 500 Internal Server Error

Damien Sawyer
Guest
 
Posts: n/a
#1: Nov 18 '05
Hello - I'm having a serious problem with IIS on Windows XP pro.

Whenever I try to run ASP pages, I get

HTTP 500 - Internal server error

This behaviour happens identically, on two 'totally independent' machines. I
am trying to run Visual Studio 2003, however, the problem occurs before any
of this development software (or the CLR) is even installed.

Both machines are 'fully patched' via windows update. The problem however
occurs before and after patching.

I'm very surprised that I can't find any information on technet etc. The
fact that the two machines are exhibiting identical behaviour seems very
strange to me.

If anyone can point me in the right direction, I'd be most grateful. My
deadline is fast approaching for this site and, if I can't resolve this soon
I'll have to look at (shudder) other web servers.

Cheers


DS

Lau Lei Cheong
Guest
 
Posts: n/a
#2: Nov 18 '05

re: I'm totally stumped - IIS not working on two separate machines - 500 Internal Server Error


First, I wish to clarify whether you mean ASP or ASP.NET pages as they
require different component and setting to run.

Second, have you had your virtual directory being properly set up?

"Damien Sawyer" <damiensawyer@yahoo.com.au> ???
news:d87f49b0.0407071833.74ef0cc3@posting.google.c om ???...[color=blue]
> Hello - I'm having a serious problem with IIS on Windows XP pro.
>
> Whenever I try to run ASP pages, I get
>
> HTTP 500 - Internal server error
>
> This behaviour happens identically, on two 'totally independent' machines.[/color]
I[color=blue]
> am trying to run Visual Studio 2003, however, the problem occurs before[/color]
any[color=blue]
> of this development software (or the CLR) is even installed.
>
> Both machines are 'fully patched' via windows update. The problem however
> occurs before and after patching.
>
> I'm very surprised that I can't find any information on technet etc. The
> fact that the two machines are exhibiting identical behaviour seems very
> strange to me.
>
> If anyone can point me in the right direction, I'd be most grateful. My
> deadline is fast approaching for this site and, if I can't resolve this[/color]
soon[color=blue]
> I'll have to look at (shudder) other web servers.
>
> Cheers
>
>
> DS[/color]


GVaught
Guest
 
Posts: n/a
#3: Nov 18 '05

re: I'm totally stumped - IIS not working on two separate machines - 500 Internal Server Error


Make sure the extensions have been registered with your IIS server. Have you
installed the .Net Framework 1.1 to your IIS web server?

Check under services and make sure everything relating to web services is
running. Make sure IIS is running (you wouldn't believe how many times
people forget this one). Ensure the location of the ASP files have proper
permissions. ASP.NET folders need each folder to be Configured under
Application settings.

Did you have IIS running before you installed Visual Studio 2003 to your
machine. If not, uninstall VS.net, get IIS running properly and then install
VS.NET.

Please note that IIS on an XP Pro machine can handle only 10 concurrent
users. If you plan to have more users, then you will need to get the server
version.

--
G Vaught


"Damien Sawyer" <damiensawyer@yahoo.com.au> wrote in message
news:d87f49b0.0407071833.74ef0cc3@posting.google.c om...[color=blue]
> Hello - I'm having a serious problem with IIS on Windows XP pro.
>
> Whenever I try to run ASP pages, I get
>
> HTTP 500 - Internal server error
>
> This behaviour happens identically, on two 'totally independent' machines.[/color]
I[color=blue]
> am trying to run Visual Studio 2003, however, the problem occurs before[/color]
any[color=blue]
> of this development software (or the CLR) is even installed.
>
> Both machines are 'fully patched' via windows update. The problem however
> occurs before and after patching.
>
> I'm very surprised that I can't find any information on technet etc. The
> fact that the two machines are exhibiting identical behaviour seems very
> strange to me.
>
> If anyone can point me in the right direction, I'd be most grateful. My
> deadline is fast approaching for this site and, if I can't resolve this[/color]
soon[color=blue]
> I'll have to look at (shudder) other web servers.
>
> Cheers
>
>
> DS[/color]


WJ
Guest
 
Posts: n/a
#4: Nov 18 '05

re: I'm totally stumped - IIS not working on two separate machines - 500 Internal Server Error


"Damien Sawyer" <damiensawyer@yahoo.com.au> wrote in message
news:d87f49b0.0407071833.74ef0cc3@posting.google.c om...[color=blue]
> Hello - I'm having a serious problem with IIS on Windows XP pro.
>
> Whenever I try to run ASP pages, I get
>
> HTTP 500 - Internal server error
>[/color]
"500 series" is Server side error. This means somethings erratic happening
on the IIS server. Does you page interact with any Database such as
SQL/Server ? Check to make sure SQL is up and running and your ASP page or
the account login has proper access right.
[color=blue]
> This behaviour happens identically, on two 'totally independent' machines.[/color]
I[color=blue]
> am trying to run Visual Studio 2003, however, the problem occurs before[/color]
any[color=blue]
> of this development software (or the CLR) is even installed.[color=green]
> > Both machines are 'fully patched' via windows update. The problem[/color][/color]
however[color=blue]
> occurs before and after patching.
>[/color]
For a developer PC (XP), I always follow the order of installations below:

1. Install XP and IIS at the same time.
2. Enable the Default site that came with the IIS to make sure that your IIS
is operational. If it does not, stop here and try to make the default
website work 1st before you move on. Because at this point your system is
still very simple (XP & IIS).

3. Install .NetFW 1.1.
4. Install MS/SQL Server (developer edition if you have)
5. Install Office Products if you have
6. Install Windows Security patches, SQL Service pack(s) if you have, and
Office Patches (if any)
7. Install VS.Net 2003.
8. At this point, check to make sure Windows/ASPNet account is created along
with the local group "VS Developers" created.
9. Inspect your Local Security Policy (user's right POL).
10. Check SQL Server Service to ensure if SQL is running (if you have it)
11. Reboot
12. Try out your site.

The 500 is very common error. Mostly related to database is not running and
or invalid database specification or bad logon credential. However, a 500
error means that your IIS is operational because it responds with 500. This
means you have successfully installed IIS Server on your box. Don't forget
that if you run the IIS Lock down tool, this could introduce 500 series too.

Good luck to you,

John
..


Scott Allen
Guest
 
Posts: n/a
#5: Nov 18 '05

re: I'm totally stumped - IIS not working on two separate machines - 500 Internal Server Error


Can you tell us more about what you do to see the 500 error? Does this
happen on the first request to http://localhost ?

On 7 Jul 2004 19:33:24 -0700, damiensawyer@yahoo.com.au (Damien
Sawyer) wrote:
[color=blue]
>Hello - I'm having a serious problem with IIS on Windows XP pro.
>
>Whenever I try to run ASP pages, I get
>
>HTTP 500 - Internal server error
>
>This behaviour happens identically, on two 'totally independent' machines. I
>am trying to run Visual Studio 2003, however, the problem occurs before any
>of this development software (or the CLR) is even installed.
>
>Both machines are 'fully patched' via windows update. The problem however
>occurs before and after patching.
>
>I'm very surprised that I can't find any information on technet etc. The
>fact that the two machines are exhibiting identical behaviour seems very
>strange to me.
>
>If anyone can point me in the right direction, I'd be most grateful. My
>deadline is fast approaching for this site and, if I can't resolve this soon
>I'll have to look at (shudder) other web servers.
>
>Cheers
>
>
>DS[/color]

--
Scott
http://www.OdeToCode.com
Peter Rilling
Guest
 
Posts: n/a
#6: Nov 18 '05

re: I'm totally stumped - IIS not working on two separate machines - 500 Internal Server Error


In addition, you can flag IE to give you a message that means something.
View the "Advanced" tab in the IE options dialog. Toggle the "Show friendly
HTTP error messages" checkbox. Then try to access your sight. You should
be given a more descriptive error.



"GVaught" <glvaughtRemoveThis@hotmail.com> wrote in message
news:uOhvxiJZEHA.3168@TK2MSFTNGP10.phx.gbl...[color=blue]
> Make sure the extensions have been registered with your IIS server. Have[/color]
you[color=blue]
> installed the .Net Framework 1.1 to your IIS web server?
>
> Check under services and make sure everything relating to web services is
> running. Make sure IIS is running (you wouldn't believe how many times
> people forget this one). Ensure the location of the ASP files have proper
> permissions. ASP.NET folders need each folder to be Configured under
> Application settings.
>
> Did you have IIS running before you installed Visual Studio 2003 to your
> machine. If not, uninstall VS.net, get IIS running properly and then[/color]
install[color=blue]
> VS.NET.
>
> Please note that IIS on an XP Pro machine can handle only 10 concurrent
> users. If you plan to have more users, then you will need to get the[/color]
server[color=blue]
> version.
>
> --
> G Vaught
>
>
> "Damien Sawyer" <damiensawyer@yahoo.com.au> wrote in message
> news:d87f49b0.0407071833.74ef0cc3@posting.google.c om...[color=green]
> > Hello - I'm having a serious problem with IIS on Windows XP pro.
> >
> > Whenever I try to run ASP pages, I get
> >
> > HTTP 500 - Internal server error
> >
> > This behaviour happens identically, on two 'totally independent'[/color][/color]
machines.[color=blue]
> I[color=green]
> > am trying to run Visual Studio 2003, however, the problem occurs before[/color]
> any[color=green]
> > of this development software (or the CLR) is even installed.
> >
> > Both machines are 'fully patched' via windows update. The problem[/color][/color]
however[color=blue][color=green]
> > occurs before and after patching.
> >
> > I'm very surprised that I can't find any information on technet etc. The
> > fact that the two machines are exhibiting identical behaviour seems very
> > strange to me.
> >
> > If anyone can point me in the right direction, I'd be most grateful. My
> > deadline is fast approaching for this site and, if I can't resolve this[/color]
> soon[color=green]
> > I'll have to look at (shudder) other web servers.
> >
> > Cheers
> >
> >
> > DS[/color]
>
>[/color]


johdi
Guest
 
Posts: n/a
#7: Nov 18 '05

re: I'm totally stumped - IIS not working on two separate machines - 500 Internal Server Error


I think Lau's probably right and it's something to do with your
virtual directory settings. But just in case it's not, I've had
problems in the past with my realtime AV software - some realtime
scanners conflict directly with asp.net. Each time asp.net tries to
compile for first time use, the realtime scanner thinks that the file
has changed and needs scanning. And when it tries to scan it, asp.net
thinks it needs recompiling...and so on.

This makes the file pretty much inaccessibly by asp.net and it throws
a 500 error. If this was the case, you'd need to either exclude the
physical directory which contains your web application from the
realtime scanner or exclude the aspnet_wp process.


"Lau Lei Cheong" <leu_lc@yehoo.com.hk> wrote in message news:<uVom9ZJZEHA.2576@TK2MSFTNGP10.phx.gbl>...[color=blue]
> First, I wish to clarify whether you mean ASP or ASP.NET pages as they
> require different component and setting to run.
>
> Second, have you had your virtual directory being properly set up?
>
> "Damien Sawyer" <damiensawyer@yahoo.com.au> ???
> news:d87f49b0.0407071833.74ef0cc3@posting.google.c om ???...[color=green]
> > Hello - I'm having a serious problem with IIS on Windows XP pro.
> >
> > Whenever I try to run ASP pages, I get
> >
> > HTTP 500 - Internal server error
> >
> > This behaviour happens identically, on two 'totally independent' machines.[/color]
> I[color=green]
> > am trying to run Visual Studio 2003, however, the problem occurs before[/color]
> any[color=green]
> > of this development software (or the CLR) is even installed.
> >
> > Both machines are 'fully patched' via windows update. The problem however
> > occurs before and after patching.
> >
> > I'm very surprised that I can't find any information on technet etc. The
> > fact that the two machines are exhibiting identical behaviour seems very
> > strange to me.
> >
> > If anyone can point me in the right direction, I'd be most grateful. My
> > deadline is fast approaching for this site and, if I can't resolve this[/color]
> soon[color=green]
> > I'll have to look at (shudder) other web servers.
> >
> > Cheers
> >
> >
> > DS[/color][/color]
Closed Thread