Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp files will not work on our IIS 5.1 server Windows 2000

Status
Not open for further replies.

cherisc

ISP
Dec 9, 2004
71
US
Hello,

We run a Windows 2000 Server with IIS 5.1. We host 52 virtual domain.

All of the sudden, asp files will not work on our server (they worked fine last week). When you try to open a test.asp page published to our server, an HTTP 404 error is returned. I am looking for a checklist of settings to check on the server.

I believe this may be a permissions issue, but I am not sure.
 
First question to ask. what has changed? OS patch, new program?

Next question, have you run a online virus scan other then then installed? (doubt it's this)

Turn off friend errors html errors, what's the real error it's showing?

Let us know these questions so we can help


 
One thing that changed on the machine is that I updated Microsoft Office 2000.

Next Question, I have AVG Pro on the server, and I have ran trendmicro and Panda free online virus scans.

In my browser, in the advanced properties of Internet Options, I have Show Friendly HTTP Error Messages unchecked, and I get the 404 error.

Thank you.
 
Also...

After reading about your firewall ( i didn't reconize it from your post) try turning it off and seeing if it will work. I know Norton and Mcafee has script stopping options that cause others to have the same problem.
 
I will try some of those suggestions on that web page. I am weary of reinstalling IIS...

The ASP page gives an instant 404 error.

Our firewall is Tiny Personal Firewall 5. AVG is our anti-virus. I have tried to turn both of those off and I still could not open an .asp page.
 
if it's an instant error, then it was denied. If it churns away then gives the error it's acutally correct in not finding it.

Pick a site and re-run the permissions wizard on it from IIS
 
I tried the following from the web page CandyMan linked to above:
Check Event Log!
Check your Event Viewer for these errors...
MSDTC errors (4427,4691,4135 are common error events for this)
W3SVC Event 36 "The server failed to load application '/LM/W3SVC/1/ROOT/'. The error was 'Class not registered"

There are no errors listed in the event viewer.

Of Course Try these First...
At the command line type "sfc /scannow" (have your XP CD in the CD drive)
Reinstall Service Pack 1 for Windows XP
Try uninstalling IIS then reinstalling it

This is ran on Windows 2000 Server.

How to Fix it! (if nothing else can!)
Open "Control Panel" and then "Administrative Tools" then Open "Services"...
Locate the "Distributed Transaction Coordinator" make sure the process is "Started" and "Automatic"
(If its not, open a command line and type "msdtc -install", then try and start the service)
Open a command line and type the following...
cd %windir%\system32\inetsrv
rundll32 wamreg.dll, CreateIISPackage (NOTE: "CreateIISPackage" must be typed exactly; it is case-sensitive.)
regsvr32 asptxn.dll (wait for a dialog box to notify you asptxn has registered correctly)
IISRESTART
Open "Control Panel" then "Component Services"...
You should see all three IIS COM+ applications that have been recreated
.asp still does not work.

I have not uninstalled/reinstalled IIS. I have never done that before, and I don't know if I would have to rebuild the 52 web pages. I don't want to do that. Any ideas?
 
dang, i was sure that would fix it. I have not reinstalled IIS but i am certain it would lose the websites, like i said i have not done it myself. i guess your options are down to two.

1- do a backup of before you upgraded Office and everything stopped. Or start trying your backups to a point where it works.

2- reinstall IIS
Personally i would do option 1, but i have good backup copies of everything, i don't know about you. If you do 2 i assume you loose your info, which means you have to set everything up and set permissions again.
 
We have backups, but I am making backups right now Just In Case. I am probably going to reinstall IIS, but first I want to do more checking on the permissions. I saw a Microsoft Support article describing the NTFS permissions needed for IIS. I am looking for it now (for some reason I'm having a hard time finding it again).

If anyone has an any suggestions for the NTFS Permissions, let me know.

Thank you
 
I read over that article, it's very good. I'll have to bookmark that one. If that doesn't fix it and you decide to do one of those two suggestions, PLEASE let me know how it goes.
 
Well, I ran into some other problems. But, I found out that the .asp pages were being blocked by a URL Scan program that is installed when the IIS Lockdown tool is installed.
 
i completely forgot about URL scan. i did a default instalation of that a few months ago on a server and completly locked everything down, and nothing would even show. i had to do a restore and do a more custom install on that.

Thanks for posting your finding, i'm sure someone else will google this post.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top