Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 366
  • Last Modified:

ASP .NET site not opening

I am hosting an ASP website developed in VB and back-ended by SQL Express 2005 from a 2003 server.  All was working well until someone uninstalled SQL and the .NET SDK to free up space.  I have reinstalled both, and uninstalled and reinstalled IIS but I can't get any .aspx pages to open- even if I browse from within IIS I get "The page cannot be found".
0
STS-Tech
Asked:
STS-Tech
  • 7
  • 5
1 Solution
 
Meir RivkinFull stack Software EngineerCommented:
check if the physical path is correct (point to where your aspx pages are).
make sure app pool is running and you sire is configured to run with this app pool.
0
 
Meir RivkinFull stack Software EngineerCommented:
if you navigate to "localhost" in your browser,do you see the default IIS page?
0
 
STS-TechAuthor Commented:
I did check the path and then created a new folder on the root of C: and added a new virtual directory pointing to it- same result.  I can open the default IIS "Under Contruction" page and can even open html and jpg files from the virtual directory just not aspx.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Meir RivkinFull stack Software EngineerCommented:
IIS 7?
0
 
STS-TechAuthor Commented:
IIS 6... which I uninstalled last night- but when trying to reinstall (all remotely) I got tired of hunting down dll files so I will have to have that done today.
0
 
Meir RivkinFull stack Software EngineerCommented:
do u have web.config in the folder where the aspx resides?
0
 
STS-TechAuthor Commented:
I do not.  There was one there but I removed it and now that I have reinstalled IIS (again) and re-ran the aspnet_regiis (again) aaaaaand re-created the virtual directory...

There is no webconfig either in the app folder (C:\JobMananger) or in the default location (C:\inetpub\webroot).
0
 
STS-TechAuthor Commented:
More info:

Attempting to open http://localhost gives me "The website declined to show this webpage"

Attempting to open http://localhost/localstart.asp produces "Page could not be found".
0
 
STS-TechAuthor Commented:
Got it.  The solution was here:
Web Service Extension activation
0
 
Meir RivkinFull stack Software EngineerCommented:
was it prohibited by default?
0
 
STS-TechAuthor Commented:
Yes- which I found curious.  You'd think installing the SDK or adding a Virtual Directory would let IIS know you wanted those things to work.
0
 
STS-TechAuthor Commented:
Information on the needed setting was found online.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 7
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now