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 May 31st, 2006, 09:01 AM
jonasandersson jonasandersson is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 4 jonasandersson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 18 sec
Reputation Power: 0
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).

Reply With Quote
  #2  
Old May 31st, 2006, 09:16 AM
Dwarf's Avatar
Dwarf Dwarf is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Location: Moscow, Russia
Posts: 327 Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 9 h 1 m 50 sec
Reputation Power: 16
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.

Reply With Quote
  #3  
Old May 31st, 2006, 11:44 AM
jonasandersson jonasandersson is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 4 jonasandersson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 18 sec
Reputation Power: 0
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.

Reply With Quote
  #4  
Old May 31st, 2006, 12:58 PM
jonasandersson jonasandersson is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 4 jonasandersson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 18 sec
Reputation Power: 0
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?

Reply With Quote
  #5  
Old May 31st, 2006, 01:06 PM
mehere's Avatar
mehere mehere is offline
Senior Sarcasm Wizardess
ASP Free God 16th Plane (12500 - 12999 posts)
 
Join Date: Feb 2005
Location: Dreamland
Posts: 12,867 mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 10976 Folding Title: Novice Folder
Time spent in forums: 4 Months 4 Weeks 15 h 21 m 57 sec
Reputation Power: 1762
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

Reply With Quote
  #6  
Old May 31st, 2006, 06:17 PM
jonasandersson jonasandersson is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 4 jonasandersson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 18 sec
Reputation Power: 0
I have done that and got the following error message:
Code:
Original - Code
    Active Server Pages error 'ASP 0201' Invalid Default Script Language The default script language specified for this application is invalid


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.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Use IIS on another port


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT