Re: IIS 6.0 with ASP.NET and PHP support
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 08/09/04
- Next message: mikey: "wierd web site behavior- wrong site shows up?"
- Previous message: David Wang [Msft]: "Re: IIS - server execution failed. getting error code=80004005"
- Maybe in reply to: chanmmn: "Re: IIS 6.0 with ASP.NET and PHP support"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 8 Aug 2004 17:06:45 -0700
ASP, ASP.Net, and PHP can all co-exist on the same exact web server (exact
same virtual directory, even) -- I'm looking at one right now. On Windows
Server 2003 Web Edition, you only need to go to Web Service Extensions to
enable ASP and ASP.Net, and it should work. PHP has its own setup.
Regarding your questions about errors -- .aspx is ASP.Net, which is totally
different technology than .asp (ASP). So, you're talking about three
different unrelated technologies, and I have no idea what you're trying to
do.
When you install ASP.Net, it is automatically enabled. If you enable ASP
during Application Server setup, it is automatically enabled. So, what you
described to setup the server does not seem to make sense.
In any case, IIS Errors can be found in several logs, depending on its type:
1. W3SVC Logs - this logs request-specific information, including
application execution errors
2. HTTPErr Logs - this logs connection/error information
3. Event Logs - this is where FYI/dramatic errors are logged (i.e. failure
to start website, w3wp crash, etc)
The ASPX error you're looking at is from ASP.Net , which logs errors
differently (it's just a custom app on the server, like PHP or ASP, so it
can log errors however it wishes -- I'm only describing errors that IIS
logs).
What you've shown right now is that something is really screwed up on your
server to prevent ASP and ASP.Net from running. I'd first look at IIS W3SVC
logs to see if there are any clues, and check if you have any security
software on the server that is preventing it from functioning.
-- //David IIS This posting is provided "AS IS" with no warranties, and confers no rights. // "Srinivas" <srini_q8@yahoo.com> wrote in message news:OwkcseFfEHA.3964@TK2MSFTNGP12.phx.gbl... Hi, I have a Windows 2003 Web edition. First I have installed PHP support i.e., PHP 4.3.4 and later PHP 4.3.8. Installed MySQL and the site is working ok. Now I installed ASP.NET v1.1.4322 from ADD/REMOVE Programs, I have enabled ASP.NET by clicking on ALLOW in the website extensions. Now when I host a aspx page it gives this error "Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused " How ever it does not log any errors in the EventLogs!!!! for me to start troubleshooting. So I tried hosting a sample file with this code <html> test page </html> I saved the following page with a an ".asp" extension and this time this is the error "Active Server Pages error 'ASP 0201' Invalid Default Script Language The default script language specified for this application is invalid. " Now I would like to know when we install PHP support does it modify the configuration of IIS which is causing the First error I mentioned. Can both PHP and ASP.NET also co-exist together on IIS 6.0 or are there any issues. As a part of troubleshooting in one of the articles I have gone through it was suggested to give sufficient privileges to "ASPNET" user account, I added this user into the administrators group but still no luck. I would appreciate any help in this regard. Thanks in advance regards, Srini
- Next message: mikey: "wierd web site behavior- wrong site shows up?"
- Previous message: David Wang [Msft]: "Re: IIS - server execution failed. getting error code=80004005"
- Maybe in reply to: chanmmn: "Re: IIS 6.0 with ASP.NET and PHP support"
- Messages sorted by: [ date ] [ thread ]