|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Use IIS on another port
I can't use IIS any longer and as I understand, it's because PHPdev uses port 80. I now changed the port to port 8080 (acording to this instructions http://www.communitymx.com/content/article.cfm?page=1&cid=AD54386022959334). Normally I would use this address to look at my ASP-pages: http://localhost/mypage.asp but since I'm not using the default port any longer I have to write http://localhost:8080/mypage.asp (also according to the intructions at the address above).
Before I got the error "0x8ffe2740" because PHPdev used port 80. Now I manage to start IIS, but nothing shows up on the page except the ordinary error page when a page is not accessible. How can I solve this? If I changed the port fron 80 to 8080 and uses the path http://localhost:8080/mypage.asp , what could I be doing wrong when I don't see my page?? Is there another way to watch my ASP-code other than with IIS (and other then publish it on a real server). |
|
#2
|
||||
|
||||
|
1. http://support.microsoft.com/defaul...b;en-us;Q294807
2. Post the error here -- or --- Configure the Apache to use port 8080 (httpd.conf) -- or -- Create a two batch files: Code:
REM start Apache net stop iisadmin /y net start Apache Code:
REM start IIS net stop Apache net start w3svc - both servers may use port 80 separately. |
|
#3
|
|||
|
|||
|
Thanks for your suggestions. The last one seems like a practical solution. So in other words I should make 2 files? But where do I put them? I'm not that familiar with batch files.
|
|
#4
|
|||
|
|||
|
I can use IIS through port 8080. But Asp-files doesn't work, just .htm and .html. I get this error message when using asp-pages:
HTTP 500 Internal Server Error What could possible be the problem? |
|
#5
|
||||
|
||||
|
doesn't appear to be a problem with it not processing ASP, but a problem with the ASP page itself. You need to turn off Friendly error messages and try the page again.
In IE, turn off Friendly HTTP error messages by choosing tools - internet options - advanced. Then you should get the real error message and line number of the error.
__________________
Come JOIN the party!!! Quote of the Month: Retirement: Because you've given so much of yourself to the company that you don't have anything left we can use. Questions to Ponder: What do you do when you see an endangered animal eating an endangered plant? iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm") copyright© 2008 sbenj69 |
|
#6
|
|||||
|
|||||
|
I have done that and got the following error message:
Code:
I find a solution to this in this forum: http://forums.aspfree.com/microsoft-iis-12/error-asp-0201-invalid-default-script-language-31394.html Thanks for the tip on "turn off Friendly error messages". It's very helpful to locate the exact error in order to solve the whole problem. |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Use IIS on another port |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|