Click here to Skip to main content
15,896,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have asp.net/vb.net site which is working great on production server. But when i published it, and deploy on iis 7, it is giving me an error: server error 500, internal server error. when i click my site and in view applications there is none for this site. Surprisingly when i click Application Pools(above site) my site is listed in the pools.What might be the problem.

I tried another site that was already deployed on the iis and working good. I removed the site from iis, get its source code and published it. when i tried to deploy it am getting the same error. Is my iis ok? or it need to be repaired? how do you repair it

am running windows 7 ultimate
Posted
Comments
ZurdoDev 9-May-13 15:24pm    
Is there more to the error? Or in the event log?
mayeso 9-May-13 16:38pm    
Log Name: System
Source: Microsoft-Windows-HttpEvent
Date: 5/9/2013 11:31:14 AM
Event ID: 15005
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: MAYESO
Description:
This is the log event for the internet explorer: http internal server error 500


Unable to bind to the underlying transport for [::]:80. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine. The data field contains the error number.
Event Xml:



15005
0
2
0
0
0x80000000000000

271234


System
MAYESO



\Device\Http\ReqQueue
[::]:80
0000040002003000000000009D3A00C0000000000000000000000000000000000000000000000000430000C0

1 solution

HTTP error 500 is a general "The code failed or threw an error".

There's only about a 1,000 different ways that can fail, so we're going to need more information. Look in the servers Application Event Log to find more.
 
Share this answer
 
Comments
mayeso 9-May-13 16:38pm    
Log Name: System
Source: Microsoft-Windows-HttpEvent
Date: 5/9/2013 11:31:14 AM
Event ID: 15005
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: MAYESO
Description:
This is the log event for the internet explorer: http internal server error 500


Unable to bind to the underlying transport for [::]:80. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine. The data field contains the error number.
Event Xml:



15005
0
2
0
0
0x80000000000000

271234


System
MAYESO



\Device\Http\ReqQueue
[::]:80
0000040002003000000000009D3A00C0000000000000000000000000000000000000000000000000430000C0
Dave Kreskowiak 9-May-13 16:49pm    
That error usually means your web server can't start the site because it can't bind to port 80. There's probably already something running listening on port 80.

mayeso 9-May-13 17:11pm    
but how do i know what is running on this port. i usually assign port for each site
Dave Kreskowiak 9-May-13 17:20pm    
...sigh...

Open a command prompt (Start -> Run -> CMD) then type netstat -ao. Look under the Local Address column for anything ending with ":80". The end of that line will be the process ID (PID) of the process listening on that port. You then open Task Manager, Processes tab and lookup the PID. That'll tell you the namne of the executable listening on that port.
mayeso 9-May-13 17:33pm    
ok! will do that. But in the iis manager when i open it, clicking any of the working site, viewing its application there is virtual path,physical path,site and application pool. But for these sites that are having problems dont have any corresponding data for these information. Noticed one thing for working site. their application physical paths are having for example C:\site\site while those not working are having C:\site and i cant add another directory to it. are this the problem with iis

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900