IIS6 and ASP.NET not working

IIS6 and ASP.NET not working

am 10.01.2007 09:22:01 von SammyBogaert

Hi,

i have the following server.

Windows 2003 Enterprise Edition SP 1 in a two node cluster configuration.
The following software is installed on this cluster:
- Microsoft Bussiness Solution Navision 4.0 SP1 Native Database +
Application Server
- Microsoft SQL Server 2005 Standard Edition

I want to install Reporting Services on one of these nodes (since it doesn't
support clustering, so i want to install it on one node only). This setup
does work because i did it before on other sites.
Reporting Services doesn't work and i was able to drill down the problem to
ASP.NET.

Basically, my IIS6 is unable to host any aspx (ASP.NET) website.

I'm suffering the following symptoms:

- I just did a clean installation of WWW Service from IIS. This went
without a problem
- I can browse to http://localhost/iisstart.htm without problems.
- I copied a simple test.aspx page in c:\inetpub\wwwroot
- When i browse to http://localhost/test.aspx i get a 'The page cannot be
displayed' error.
- When i rename the test.aspx page to test.htm and i browse to it, i get to
see the contents in Internet Explorer. This leads me to the conslusion it's
definately related to aspx pages.

Checking the logfiles gives me the following result:

- C:\Windows\system32\logfiles\w3svc1
-> no entry mentioning my error
- C:\Windows\system32\logfiles\HTTPERR
-> 2007-01-10 08:16:23 127.0.0.1 3810 127.0.0.1 80 HTTP/1.1 GET
/test.aspx - 1 Connection_Dropped DefaultAppPool

I'm a bit in the dark on this one! Any of you guys have any suggestions or
solutions?

--
Greetings,
Samson

RE: IIS6 and ASP.NET not working

am 11.01.2007 23:35:02 von Harry Evans

Sammy, IIS 6 installs an additional component called Web Server Extensions.
This item will appear when you open the IIS management console and expand the
Web Sites item. By default in IIS 6, aspx (and all CGI, etc) are prohibited
from being dispalyed. This is due to security vulnerabilities; you will have
to 'allow' aspx pages to be run. Open the Web Server Extensions item and
'Allow' aspx extensions (and other types of scripts, if applicable) to
display. Hopefully, this will resolve your problem.

Thanks,

Harry Evans

"Sammy Bogaert" wrote:

> Hi,
>
> i have the following server.
>
> Windows 2003 Enterprise Edition SP 1 in a two node cluster configuration.
> The following software is installed on this cluster:
> - Microsoft Bussiness Solution Navision 4.0 SP1 Native Database +
> Application Server
> - Microsoft SQL Server 2005 Standard Edition
>
> I want to install Reporting Services on one of these nodes (since it doesn't
> support clustering, so i want to install it on one node only). This setup
> does work because i did it before on other sites.
> Reporting Services doesn't work and i was able to drill down the problem to
> ASP.NET.
>
> Basically, my IIS6 is unable to host any aspx (ASP.NET) website.
>
> I'm suffering the following symptoms:
>
> - I just did a clean installation of WWW Service from IIS. This went
> without a problem
> - I can browse to http://localhost/iisstart.htm without problems.
> - I copied a simple test.aspx page in c:\inetpub\wwwroot
> - When i browse to http://localhost/test.aspx i get a 'The page cannot be
> displayed' error.
> - When i rename the test.aspx page to test.htm and i browse to it, i get to
> see the contents in Internet Explorer. This leads me to the conslusion it's
> definately related to aspx pages.
>
> Checking the logfiles gives me the following result:
>
> - C:\Windows\system32\logfiles\w3svc1
> -> no entry mentioning my error
> - C:\Windows\system32\logfiles\HTTPERR
> -> 2007-01-10 08:16:23 127.0.0.1 3810 127.0.0.1 80 HTTP/1.1 GET
> /test.aspx - 1 Connection_Dropped DefaultAppPool
>
> I'm a bit in the dark on this one! Any of you guys have any suggestions or
> solutions?
>
> --
> Greetings,
> Samson

RE: IIS6 and ASP.NET not working

am 14.01.2007 14:16:01 von SammyBogaert

ASP.NET (i tried version 1.1 and/or 2.0) were allowed on the Web Services
Extension list.

So this shouldn't be the cause of the problem. Somehow however i get the
feeling that IIS is ignoring this setting because renaming my test.aspx page
to test.htm allows my browsers (IIS 6.0 & 7.0) to view this page.


--
Greetings,
Samson


"Harry Evans" wrote:

> Sammy, IIS 6 installs an additional component called Web Server Extensions.
> This item will appear when you open the IIS management console and expand the
> Web Sites item. By default in IIS 6, aspx (and all CGI, etc) are prohibited
> from being dispalyed. This is due to security vulnerabilities; you will have
> to 'allow' aspx pages to be run. Open the Web Server Extensions item and
> 'Allow' aspx extensions (and other types of scripts, if applicable) to
> display. Hopefully, this will resolve your problem.
>
> Thanks,
>
> Harry Evans
>
> "Sammy Bogaert" wrote:
>
> > Hi,
> >
> > i have the following server.
> >
> > Windows 2003 Enterprise Edition SP 1 in a two node cluster configuration.
> > The following software is installed on this cluster:
> > - Microsoft Bussiness Solution Navision 4.0 SP1 Native Database +
> > Application Server
> > - Microsoft SQL Server 2005 Standard Edition
> >
> > I want to install Reporting Services on one of these nodes (since it doesn't
> > support clustering, so i want to install it on one node only). This setup
> > does work because i did it before on other sites.
> > Reporting Services doesn't work and i was able to drill down the problem to
> > ASP.NET.
> >
> > Basically, my IIS6 is unable to host any aspx (ASP.NET) website.
> >
> > I'm suffering the following symptoms:
> >
> > - I just did a clean installation of WWW Service from IIS. This went
> > without a problem
> > - I can browse to http://localhost/iisstart.htm without problems.
> > - I copied a simple test.aspx page in c:\inetpub\wwwroot
> > - When i browse to http://localhost/test.aspx i get a 'The page cannot be
> > displayed' error.
> > - When i rename the test.aspx page to test.htm and i browse to it, i get to
> > see the contents in Internet Explorer. This leads me to the conslusion it's
> > definately related to aspx pages.
> >
> > Checking the logfiles gives me the following result:
> >
> > - C:\Windows\system32\logfiles\w3svc1
> > -> no entry mentioning my error
> > - C:\Windows\system32\logfiles\HTTPERR
> > -> 2007-01-10 08:16:23 127.0.0.1 3810 127.0.0.1 80 HTTP/1.1 GET
> > /test.aspx - 1 Connection_Dropped DefaultAppPool
> >
> > I'm a bit in the dark on this one! Any of you guys have any suggestions or
> > solutions?
> >
> > --
> > Greetings,
> > Samson

RE: IIS6 and ASP.NET not working

am 18.01.2007 17:54:00 von HarryEvans

Sammy, it is possible that the .NET Framework may have not been correctly
configured and registered with IIS. There is a function called regiis
(command line) that can be used to install and register the .NET Framework
components with IIS. Here is what I would try:
1.) Navigate to the Windows folder on the machine. The file you will
want to run is aspnet_regiis.exe and is located in the following folder:
Windows\Microsoft.NET\Framework\v1.1.4322 (for .NET Framework 1.1, there
is also a folder for .NET Framework 2.0)\aspnet_regiis.exe
2.) At command line type: aspnet_regiis.exe -i
3.) This command will install and register .NET Framework 1.1 in IIS.
There is also an aspnet_regiis.exe file for .NET Framework 2.0.
4.) Check to verify that .NET Framework for your Default Web Site is
set to .NET Framework 1.1 (or 2.0 if you installed and registered the .NET
Framework 2.0 as above).
5.) Open a browser and attempt to navigate to the aspx page.

Hopefully, this will resolve your issue.

Thanks,

Harry Evans

"Sammy Bogaert" wrote:

> ASP.NET (i tried version 1.1 and/or 2.0) were allowed on the Web Services
> Extension list.
>
> So this shouldn't be the cause of the problem. Somehow however i get the
> feeling that IIS is ignoring this setting because renaming my test.aspx page
> to test.htm allows my browsers (IIS 6.0 & 7.0) to view this page.
>
>
> --
> Greetings,
> Samson
>
>
> "Harry Evans" wrote:
>
> > Sammy, IIS 6 installs an additional component called Web Server Extensions.
> > This item will appear when you open the IIS management console and expand the
> > Web Sites item. By default in IIS 6, aspx (and all CGI, etc) are prohibited
> > from being dispalyed. This is due to security vulnerabilities; you will have
> > to 'allow' aspx pages to be run. Open the Web Server Extensions item and
> > 'Allow' aspx extensions (and other types of scripts, if applicable) to
> > display. Hopefully, this will resolve your problem.
> >
> > Thanks,
> >
> > Harry Evans
> >
> > "Sammy Bogaert" wrote:
> >
> > > Hi,
> > >
> > > i have the following server.
> > >
> > > Windows 2003 Enterprise Edition SP 1 in a two node cluster configuration.
> > > The following software is installed on this cluster:
> > > - Microsoft Bussiness Solution Navision 4.0 SP1 Native Database +
> > > Application Server
> > > - Microsoft SQL Server 2005 Standard Edition
> > >
> > > I want to install Reporting Services on one of these nodes (since it doesn't
> > > support clustering, so i want to install it on one node only). This setup
> > > does work because i did it before on other sites.
> > > Reporting Services doesn't work and i was able to drill down the problem to
> > > ASP.NET.
> > >
> > > Basically, my IIS6 is unable to host any aspx (ASP.NET) website.
> > >
> > > I'm suffering the following symptoms:
> > >
> > > - I just did a clean installation of WWW Service from IIS. This went
> > > without a problem
> > > - I can browse to http://localhost/iisstart.htm without problems.
> > > - I copied a simple test.aspx page in c:\inetpub\wwwroot
> > > - When i browse to http://localhost/test.aspx i get a 'The page cannot be
> > > displayed' error.
> > > - When i rename the test.aspx page to test.htm and i browse to it, i get to
> > > see the contents in Internet Explorer. This leads me to the conslusion it's
> > > definately related to aspx pages.
> > >
> > > Checking the logfiles gives me the following result:
> > >
> > > - C:\Windows\system32\logfiles\w3svc1
> > > -> no entry mentioning my error
> > > - C:\Windows\system32\logfiles\HTTPERR
> > > -> 2007-01-10 08:16:23 127.0.0.1 3810 127.0.0.1 80 HTTP/1.1 GET
> > > /test.aspx - 1 Connection_Dropped DefaultAppPool
> > >
> > > I'm a bit in the dark on this one! Any of you guys have any suggestions or
> > > solutions?
> > >
> > > --
> > > Greetings,
> > > Samson