Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 30th, 2003, 03:13 PM
Ravman Ravman is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Vancouver, Canada
Posts: 4 Ravman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Server Application Error

I'm running XP Pro with IIS 5.1. Everytime I try to access ASP pages via my webserver, I get the following error:

********************************************
Server Application Error

The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
********************************************

I can view HTML pages fine through my webserver, but not ASP pages. I checked the "event log" thru control panel and the following services are erroring everytime I try to access the ASP pages thru the webserver:

Warning: W3SVC
Error: DCOM

I've checked the Microsoft site to find out the exact reason for the errors and it states:

"The server was launched but there was no reply from the server. The application might be configured incorrectly."


Does anyone out there know what any of this means? When I was running my webserver under W2K pro everything was fine. I'm only getting these errors on XP Pro. I have downloaded all the services packs, updates etc required for XP Pro.

Thanks

Reply With Quote
  #2  
Old October 30th, 2003, 05:47 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Did you add or change any firewall software? There is a problem with zonealarm and IIS if you update zonealarm it will break IIS until you reboot with the IIS service disabled, then start IIS and tell zonealarm it's OK.

fyi I am using IIS5.1 on XP Pro all updated without problems.

Reply With Quote
  #3  
Old October 30th, 2003, 05:56 PM
Ravman Ravman is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Vancouver, Canada
Posts: 4 Ravman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Anti Virus & Firewall

Doug,

I have Norton Antivirus and Personal Firewall 2002 running on my PC. I changed the firewall settings to accept IP address 127.0.0.1 and that was it. I even disabled both pieces of software, tried the code again and still got the same results.

If I run the website thru windows explorer (double click the default.htm file) it displays the ASP pages fine, but won't run the VB DLL's. But if I try to run the same website thru my webserver (URL), that is when I get the problems. It won't even get passed the first page (default,htm).

Everytime I try to access an ASP page, that is when the two meesages appear in the event log, complaining about those two things that I mentioned earlier.

The only other alternative I have is to flatten the PC and re-install XP Pro from scratch, but I don't really want to do that, as it will take me days to do.

Reply With Quote
  #4  
Old October 31st, 2003, 10:27 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
This kind of problem is almost always a permissions problem.

If you ran th IIS lockdown tool or urlscan you may have accidently disabled asp.

You could try giving the IUSR_computername temporary membership as an administrator for troubleshooting purposes.

If you search google you will find lots of other reasons that asp may not function in IIS. You might search google for the particular event ID you're seeing in the event log message.

Reply With Quote
  #5  
Old October 31st, 2003, 12:25 PM
Ravman Ravman is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Vancouver, Canada
Posts: 4 Ravman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I've done a search on google and it seems that alot of other people have the same problem out there too. I have downloaded every security patch I can find on the microsoft site and still get the same problem.

This may sound like a stupid question, but how do I setup IUSR_Computername as an administrator? Do I create a new user account called IUSR_mycomputername and give it administrator rights? I've tried that, and XP won't allow me to use the "_".

This is driving me nuts... think I'm gonna have to give up the ghost and dump XP and go back to W2K.

Reply With Quote
  #6  
Old October 31st, 2003, 05:41 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Normally, you will have a user account on your computer named IUSR_ followed by the network name of your computer.

If you are logged on as an administrator, you can open the Users & Groups control panel and add this IUSR_ account to the Administrators group.

Don't forget to remove this user after you get your problems sorted out.

BTW, I had some similar unsolvable problems when I installed IIS on W2K as a normal non-administrator user. Uninstalling IIS and reinstalling when logged in as the local administrator fixed the problem.

Reply With Quote
  #7  
Old November 2nd, 2003, 01:29 PM
Ravman Ravman is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Vancouver, Canada
Posts: 4 Ravman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Problem Solved

I managed to get it working at last!! You was right, it was all down to permissions and security levels. I just tinkered around with some settings and bang, it started working.

I now have my ASP pages calling VB DLLs, who inturn call SQL Server stored procedures. Better do some work now and actually develop my web application.

Thanks for your help )

Reply With Quote
  #8  
Old January 26th, 2004, 02:59 PM
Aricv Aricv is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 5 Aricv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Aricv
SAME PROBLEM

I have recently applied and started taking a .ASP class ... but im getting behind because i cant get my .asp to work locally i get the "Server Application Error The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance."

I am running XP pro, zonealarm and norton

I really need help getting this resolved cause im getting behind in the class i JUST STARTED!!!

Reply With Quote
  #9  
Old January 26th, 2004, 04:28 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Did you refer to the event log? for more detail information?

Reply With Quote
  #10  
Old January 26th, 2004, 09:59 PM
Aricv Aricv is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 5 Aricv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Aricv
Event viewer

i think this is what you mean?

The server failed to load application '/LM/W3SVC/1/Root/SCHOOLASP'. The error was 'Class not registered

that was under properties for a system warning....

Reply With Quote
  #11  
Old January 27th, 2004, 08:53 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Try reinstalling IIS. Make sure you are an administrator user when you reinstall.

Reply With Quote
  #12  
Old January 27th, 2004, 09:00 PM
Aricv Aricv is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 5 Aricv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Aricv
Alreay did that

I already tried that once, i got a error on the uninstall .. but it finished anyway .. then it reinstalled it

Reply With Quote
  #13  
Old January 31st, 2004, 02:48 PM
Aricv Aricv is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 5 Aricv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Aricv
What now?

I have reinstalled it... its still giving me that error.. any suggestions?? PLEASE

Reply With Quote
  #14  
Old February 3rd, 2004, 11:51 AM
Aricv Aricv is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 5 Aricv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Aricv
*BUMP*

anyone????

Reply With Quote
  #15  
Old February 4th, 2004, 12:05 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Without some more details I don't know what to suggest. Try turning off norton & zonealarm for testing purposes.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Server Application Error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread