IIS Server - IIS 6 aspx

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > December 2004 > IIS 6 aspx





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author IIS 6 aspx
john pryor

2004-12-28, 9:00 pm

I'm running IIS on a win2k3 box with AD and Exchange Server. Whenever I
publish a website and call a page I see in TaskManager starting up w3w.exe
and then I see vs7jit.exe. Sometimes I will see csc.exe start but most of the
time I get nothing. How can I verify if IIS is installed correctly?
--
John Pryor
Ken Schaefer

2004-12-28, 9:00 pm

You want to check that IIS is installed?
You can check to see what Windows thinks via the Add/Remove Programs control
panel (in Windows Components)

You should also have an IISAdmin service listed in the Services Control
Panel

If you installed the WWW Service, you should also see a World Wide Web
Publishing Service listed in the Services Control panel.

IIS has lots of components - is there any reason you don't think it's
installed correctly?

Cheers
Ken

"john pryor" <johnpryor@discussions.microsoft.com> wrote in message
news:BA9AB4B0-1260-4F05-A24D-4C7A7BE8436C@microsoft.com...
> I'm running IIS on a win2k3 box with AD and Exchange Server. Whenever I
> publish a website and call a page I see in TaskManager starting up w3w.exe
> and then I see vs7jit.exe. Sometimes I will see csc.exe start but most of
> the
> time I get nothing. How can I verify if IIS is installed correctly?
> --
> John Pryor



Brian Linden

2004-12-28, 9:00 pm

Don't those execute the first time the page is hit, when it is compiled (C#
compiler)......
I believe that is normal.

"john pryor" <johnpryor@discussions.microsoft.com> wrote in message
news:BA9AB4B0-1260-4F05-A24D-4C7A7BE8436C@microsoft.com...
> I'm running IIS on a win2k3 box with AD and Exchange Server. Whenever I
> publish a website and call a page I see in TaskManager starting up w3w.exe
> and then I see vs7jit.exe. Sometimes I will see csc.exe start but most of

the
> time I get nothing. How can I verify if IIS is installed correctly?
> --
> John Pryor



john pryor

2004-12-28, 9:00 pm

I reinstalled win2k3 over an earlier install of win2k3 a few months ago and
I've been having strange behavior every since. But I only seem to have issues
with apps that I write. Exchange Server's pages seem to be going fine so far,
but all of the apps that I write in C# don't run most of the time. On my
other machine which I use as my firewall the exact same web app works just
fine so it must be my install of IIS on this machine. I've tried uninstalling
IIS and reinstalling but no luck and now that I'm running exchange server I
really don't want to go thru uninstalling it and IIS just to reinstall again.
There must be a list of files that I can verify or registry settings that I
can check to ensure that I have IIS installed correctly. Maybe a KB article
somewhere?

"Ken Schaefer" wrote:

> You want to check that IIS is installed?
> You can check to see what Windows thinks via the Add/Remove Programs control
> panel (in Windows Components)
>
> You should also have an IISAdmin service listed in the Services Control
> Panel
>
> If you installed the WWW Service, you should also see a World Wide Web
> Publishing Service listed in the Services Control panel.
>
> IIS has lots of components - is there any reason you don't think it's
> installed correctly?
>
> Cheers
> Ken
>
> "john pryor" <johnpryor@discussions.microsoft.com> wrote in message
> news:BA9AB4B0-1260-4F05-A24D-4C7A7BE8436C@microsoft.com...
>
>
>

john pryor

2004-12-28, 9:00 pm

You're right Brian but even when I put new web pages on the site it doesn't
compile them and I see vs7jit.exe run and then I get nothing. There is usally
nothing in the logs either. I know something is wrong with IIS, probably my
fault, but I don't know what. I'm just looking for a tool or article that
will help me verify that I have a correctly installed and functioning IIS.

"Brian Linden" wrote:

> Don't those execute the first time the page is hit, when it is compiled (C#
> compiler)......
> I believe that is normal.
>
> "john pryor" <johnpryor@discussions.microsoft.com> wrote in message
> news:BA9AB4B0-1260-4F05-A24D-4C7A7BE8436C@microsoft.com...
> the
>
>
>

Ken Schaefer

2004-12-29, 2:48 am

You'll need to explain more about "don't run most of the time"

Do you get an error? If so, what is it?
Do you get something, but not what you expect?
Do you get nothing?

Have you looked in the IIS Logfiles for those requests to see what's being
logged?
Have you looked in the Windows Event Logs?
You speak about C# pages - those would be processed by ASP.NET, so a bit out
of the realm of IIS itself - how about plain HTML pages? Do they work fine?

Cheers
Ken


"john pryor" <johnpryor@discussions.microsoft.com> wrote in message
news:AD3673C9-A3E3-451A-9E2F-93030CF9361B@microsoft.com...[vbcol=seagreen]
>I reinstalled win2k3 over an earlier install of win2k3 a few months ago and
> I've been having strange behavior every since. But I only seem to have
> issues
> with apps that I write. Exchange Server's pages seem to be going fine so
> far,
> but all of the apps that I write in C# don't run most of the time. On my
> other machine which I use as my firewall the exact same web app works just
> fine so it must be my install of IIS on this machine. I've tried
> uninstalling
> IIS and reinstalling but no luck and now that I'm running exchange server
> I
> really don't want to go thru uninstalling it and IIS just to reinstall
> again.
> There must be a list of files that I can verify or registry settings that
> I
> can check to ensure that I have IIS installed correctly. Maybe a KB
> article
> somewhere?
>
> "Ken Schaefer" wrote:
>


Kristofer Gafvert

2004-12-29, 2:48 am

Hello,

If you browse the webpage, and then check the source of the webpage,
what does it look like? Do you have your ASP.NET source code there?

If so, try the steps provided in this KB Article:

"How To Repair IIS Mapping After You Remove and Reinstall IIS"
http://support.microsoft.com/defaul...b;en-us;Q306005



--
Regards,
Kristofer Gafvert
www.ilopia.com

john pryor wrote:

> I'm running IIS on a win2k3 box with AD and Exchange Server. Whenever
> I publish a website and call a page I see in TaskManager starting up
> w3w.exe and then I see vs7jit.exe. Sometimes I will see csc.exe start
> but most of the time I get nothing. How can I verify if IIS is
> installed correctly? --
> John Pryor

David Wang [Msft]

2004-12-29, 5:57 pm

Default assumption is that upon installation, IIS is correctly
functioning... unless you do something to show otherwise. So, the
information you are looking for does not matter.

Besides -- if your problems are with ASPX pages and you get to the errors,
your problem is not with IIS -- IIS impersonated the correct user and
invoked ASP.Net -- everything after that, you should troubleshoot with no
association with IIS.

So, please report the actual errors that you are getting.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"john pryor" <johnpryor@discussions.microsoft.com> wrote in message
news:ECE18983-2F15-49B6-9BA7-7152C742EB70@microsoft.com...
You're right Brian but even when I put new web pages on the site it doesn't
compile them and I see vs7jit.exe run and then I get nothing. There is
usally
nothing in the logs either. I know something is wrong with IIS, probably my
fault, but I don't know what. I'm just looking for a tool or article that
will help me verify that I have a correctly installed and functioning IIS.

"Brian Linden" wrote:

> Don't those execute the first time the page is hit, when it is compiled

(C#
> compiler)......
> I believe that is normal.
>
> "john pryor" <johnpryor@discussions.microsoft.com> wrote in message
> news:BA9AB4B0-1260-4F05-A24D-4C7A7BE8436C@microsoft.com...
w3w.exe[vbcol=seagreen]
of[vbcol=seagreen]
> the
>
>
>



john pryor

2004-12-29, 5:57 pm

What I'm seeing is that my aspx pages are not running. The htm and asp pages
run just fine. There is no log entries or event log entries. When I bring up
the IIS admin app, navigate to my web app and then right click on a
file(test.aspx) nothing happens, sort of. In taskmanager I see w3wp.exe start
and then I see vs7jit.exe start and then nothing. Its as if my IIS doesn't
know how to process my aspx pages.

I did already check to see if the mapping was correct and it is so I'm lost
as to what is happening. Any haelp would be appreciated.

"David Wang [Msft]" wrote:

> Default assumption is that upon installation, IIS is correctly
> functioning... unless you do something to show otherwise. So, the
> information you are looking for does not matter.
>
> Besides -- if your problems are with ASPX pages and you get to the errors,
> your problem is not with IIS -- IIS impersonated the correct user and
> invoked ASP.Net -- everything after that, you should troubleshoot with no
> association with IIS.
>
> So, please report the actual errors that you are getting.
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no rights.
> //
> "john pryor" <johnpryor@discussions.microsoft.com> wrote in message
> news:ECE18983-2F15-49B6-9BA7-7152C742EB70@microsoft.com...
> You're right Brian but even when I put new web pages on the site it doesn't
> compile them and I see vs7jit.exe run and then I get nothing. There is
> usally
> nothing in the logs either. I know something is wrong with IIS, probably my
> fault, but I don't know what. I'm just looking for a tool or article that
> will help me verify that I have a correctly installed and functioning IIS.
>
> "Brian Linden" wrote:
>
> (C#
> w3w.exe
> of
>
>
>

john pryor

2004-12-29, 5:57 pm

Thanks for the suggestion but still no luck. I ran the install for asp.net
and checked the mappings but I still seem to be not processing asp.net pages.
Is there a way to reinstall the .net framework? Since win2k3 comes with the
framework already installed I don't see a way to uninstall or reinstall. I'm
assuming that my problem might be with the .net framework.

"Kristofer Gafvert" wrote:

> Hello,
>
> If you browse the webpage, and then check the source of the webpage,
> what does it look like? Do you have your ASP.NET source code there?
>
> If so, try the steps provided in this KB Article:
>
> "How To Repair IIS Mapping After You Remove and Reinstall IIS"
> http://support.microsoft.com/defaul...b;en-us;Q306005
>
>
>
> --
> Regards,
> Kristofer Gafvert
> www.ilopia.com
>
> john pryor wrote:
>
>

Kristofer Gafvert

2004-12-29, 5:57 pm

Hello,

Have you enabled ASP.NET? You do this from IIS Manager.

I think that we need to know what the problem is. What do you get? An
error? I still would like to know what HTML you see when you request an
ASP.NET page.


--
Regards,
Kristofer Gafvert
www.ilopia.com

john pryor wrote:
[vbcol=seagreen]
> Thanks for the suggestion but still no luck. I ran the install for
> asp.net and checked the mappings but I still seem to be not
> processing asp.net pages. Is there a way to reinstall the .net
> framework? Since win2k3 comes with the framework already installed I
> don't see a way to uninstall or reinstall. I'm assuming that my
> problem might be with the .net framework.
>
> "Kristofer Gafvert" wrote:
>
john pryor

2004-12-29, 5:57 pm

I do have asp.net enabled and the html I get back is a message from my
firewall saying that the web page timed out. Its this timeout that lead me to
post the previous messages.

"Kristofer Gafvert" wrote:

> Hello,
>
> Have you enabled ASP.NET? You do this from IIS Manager.
>
> I think that we need to know what the problem is. What do you get? An
> error? I still would like to know what HTML you see when you request an
> ASP.NET page.
>
>
> --
> Regards,
> Kristofer Gafvert
> www.ilopia.com
>
> john pryor wrote:
>
>

Kristofer Gafvert

2004-12-29, 5:57 pm

Hello,

So this means that a simple HTML file fails as well, right?

What i cannot understand is how your firewall could send a HTTP reply.

How do you access the webpage? By using http://localhost/page.aspx ?

Please make sure that you are not using a proxy for local addresses.
This is a configuration in your browser.

--
Regards,
Kristofer Gafvert
www.ilopia.com

john pryor wrote:
[vbcol=seagreen]
> I do have asp.net enabled and the html I get back is a message from
> my firewall saying that the web page timed out. Its this timeout that
> lead me to post the previous messages.
>
> "Kristofer Gafvert" wrote:
>
john pryor

2004-12-29, 5:57 pm

No, all pages render correctly except aspx pages. All html and asp pages
render correctly. Only aspx files fail. Any ideas?

"Kristofer Gafvert" wrote:

> Hello,
>
> So this means that a simple HTML file fails as well, right?
>
> What i cannot understand is how your firewall could send a HTTP reply.
>
> How do you access the webpage? By using http://localhost/page.aspx ?
>
> Please make sure that you are not using a proxy for local addresses.
> This is a configuration in your browser.
>
> --
> Regards,
> Kristofer Gafvert
> www.ilopia.com
>
> john pryor wrote:
>
>

Kristofer Gafvert

2004-12-29, 5:57 pm

What is the exact message you get in your browser when you try to
access an ASP.NET page (the timeout message)?

Write this in a text editor:

<html>
<body>
Hello World
</body>
</html>

Save it as "test.aspx".
Browse to the webpage.

Do you see "Hello World" in your browser?

--
Regards,
Kristofer Gafvert
www.ilopia.com

john pryor wrote:
[vbcol=seagreen]
> No, all pages render correctly except aspx pages. All html and asp
> pages render correctly. Only aspx files fail. Any ideas?
>
> "Kristofer Gafvert" wrote:
>
David Wang [Msft]

2004-12-30, 2:47 am

You are absolutely correct, IIS does not know how to process ASPX pages.
Period. In fact, IIS does not even know how to process ASP pages, nor PHP
pages, nor PERL pages. IIS only knows how to process static files, and
execute ISAPI/CGI (scriptmapped engines) to process all other file types.

It is the ASP.Net ISAPI which is scriptmapped to handle ASPX pages that
knows how to process ASPX page.

The fact that you see vs7jit.exe crop up shows that IIS delivered the page
request to ASP.Net ISAPI, and the ISAPI started processing the ASPX file
itself. IIS is out of the picture at this point since the ASP.Net ISAPI is
responsible for generating the response.

This is why I say that the problem is not with IIS. From IIS perspective,
it handed the request to aspnet_isapi.dll, which is supposed to handle the
request. It looks like the ISAPI did process and read the ASPX file but did
not send a response. We need to figure out why.

It is this error that we need to troubleshoot. All your other questions are
unfortunately irrelevant for the moment. So, please create a simple ASPX
page (such as <%Response.Write("Hello World");%>, make a request to it, and
report the actual response as well as the associated IIS web log (or HTTPErr
log) entry. If an error, also report any related Event Log entries.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"john pryor" <johnpryor@discussions.microsoft.com> wrote in message
news:012AF950-7FD5-4986-BEC8-746E4DAB8A22@microsoft.com...
What I'm seeing is that my aspx pages are not running. The htm and asp pages
run just fine. There is no log entries or event log entries. When I bring up
the IIS admin app, navigate to my web app and then right click on a
file(test.aspx) nothing happens, sort of. In taskmanager I see w3wp.exe
start
and then I see vs7jit.exe start and then nothing. Its as if my IIS doesn't
know how to process my aspx pages.

I did already check to see if the mapping was correct and it is so I'm lost
as to what is happening. Any haelp would be appreciated.

"David Wang [Msft]" wrote:

> Default assumption is that upon installation, IIS is correctly
> functioning... unless you do something to show otherwise. So, the
> information you are looking for does not matter.
>
> Besides -- if your problems are with ASPX pages and you get to the errors,
> your problem is not with IIS -- IIS impersonated the correct user and
> invoked ASP.Net -- everything after that, you should troubleshoot with no
> association with IIS.
>
> So, please report the actual errors that you are getting.
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no

rights.
> //
> "john pryor" <johnpryor@discussions.microsoft.com> wrote in message
> news:ECE18983-2F15-49B6-9BA7-7152C742EB70@microsoft.com...
> You're right Brian but even when I put new web pages on the site it

doesn't
> compile them and I see vs7jit.exe run and then I get nothing. There is
> usally
> nothing in the logs either. I know something is wrong with IIS, probably

my
> fault, but I don't know what. I'm just looking for a tool or article that
> will help me verify that I have a correctly installed and functioning IIS.
>
> "Brian Linden" wrote:
>
> (C#
I[vbcol=seagreen]
> w3w.exe
> of
>
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com