IIS problem?

  • Thread starter Thread starter Peter Morris
  • Start date Start date
P

Peter Morris

I'm currently aving a problem with IIS.

I did some ASP programming a few month back using VBScript, and
got some basic programs working.

I've started learning C# recently, trying to program some web applications,
and I am having problems with IIS - it doesn't work at all. The link to
the IIS start page (http://localhost/localstart.asp) on my computer just
returns
"The page cannot be displayed" My links to my ASP programs, which used
to work now just do the same thing.

I reccently had to reinstall Windows, which might explain the problem.

Any ideas what the problem migt be? Does IIS need to be started up,
or something? Or some sort of configuration settings need to be adjusted?
 
Peter Morris said:
I'm currently having a problem with IIS. I did some ASP
programming a few month back using VBScript, and got
some basic programs working.

I've started learning C# recently, trying to program some web applications,
and I am having problems with IIS - it doesn't work at all. The link to
the IIS start page (http://localhost/localstart.asp) on my computer just
returns
"The page cannot be displayed" My links to my ASP programs, which used
to work now just do the same thing.
I reccently had to reinstall Windows, which might explain the problem.
Any ideas what the problem migt be? Does IIS need to be started up,
or something?

IIS must be installed for starters. Then you must have a web application
configured (and started) in your Internet Information Services manager
(somewhere under Administrative Tools). After installation of IIS you should
have a default web application. Furthermore, any page ending with .asp is
deemed to be old style asp containing onlt VBScript or JavaScript, C# is not
an option. The CLR will not be involved when IIS processes asp files, they
need to be aspx files.

Martin.
 
check it in your IIS setting, for port number, or web folder location
secondly, check if you IIS is correctly installed. I found similar problem
long time ago.
 
I'm currently aving a problem with IIS.

I did some ASP programming a few month back using VBScript, and
got some basic programs working.

I've started learning C# recently, trying to program some web applications,
and I am having problems with IIS - it doesn't work at all. The link to
the IIS start page (http://localhost/localstart.asp) on my computer just
returns
"The page cannot be displayed" My links to my ASP programs, which used
to work now just do the same thing.

I reccently had to reinstall Windows, which might explain the problem.

Any ideas what the problem migt be? Does IIS need to be started up,
or something? Or some sort of configuration settings need to be adjusted?

Have you created a virtual dir in IIS that points to the physical
location of your ASP project?
 
Try to restart .NetFramework, try this:
\windows\mircosoft.net\Framework\v1.0.3705\regsvr32.exe , and find option
something like that "Install current version of ASP.NET", if that will not
work in the same directory try file with name: aspnet_regiis
 
if u installed .net prev and reinstalled windows chances are ur mappings for
the .net extensions on iis is lost. Just reinstall the asp.net thru the
followin command line

C:\> <windows dir>\Microsoft.Net\framework\<version
folder>\aspnet_regiis -i

do that in the dos prompt and see if that helps...
In your IIS settings, right click Default Web Site and go to properties,
Select Home Directory and click on the configuration button, verify that the
new extensions are registered (i.e aspx and other ...x are listed)

Mike
 
Back
Top