修复错误1004,10005, IIS站点端口被其他程序使用
2009-03-26 23:29
204 查看
Event Type: Error
错误信息:
=================================
Event Source: W3SVC
Event Category: None
Event ID: 1004
Description:
Cannot register the URL prefix 'http://*:<Port>/_layouts/images/' for site '<Site ID>'. The site has been deactivated. The data field contains the error number.
Event Type: Error
Event Source: HTTP
Event Category: None
Event ID: 15005
Description:
Unable to bind to the underlying transport for 0.0.0.0:<Port>. 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.
===================================
症状: 打不开站点, 因为IIS站点被停掉了,强行启动会报错,然后就是以上的错误被记录在错误日志里面.
解决方法:使用netstat -ano命令查看是哪个进程在监听IIS站点端口,在任务管理器中关掉.启动站点就好了.
备注: 如果你不幸发现是一个系统进程占用了端口, 就只有把那个web application换个端口了 (惹不起还躲不起么)
具体步骤就是先un-extend web application 然后再 extend web application 另外一个端口, 步骤参见:
Update a Web application URL and IIS bindings
http://technet.microsoft.com/en-us/library/cc298636.aspx
错误信息:
=================================
Event Source: W3SVC
Event Category: None
Event ID: 1004
Description:
Cannot register the URL prefix 'http://*:<Port>/_layouts/images/' for site '<Site ID>'. The site has been deactivated. The data field contains the error number.
Event Type: Error
Event Source: HTTP
Event Category: None
Event ID: 15005
Description:
Unable to bind to the underlying transport for 0.0.0.0:<Port>. 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.
===================================
症状: 打不开站点, 因为IIS站点被停掉了,强行启动会报错,然后就是以上的错误被记录在错误日志里面.
解决方法:使用netstat -ano命令查看是哪个进程在监听IIS站点端口,在任务管理器中关掉.启动站点就好了.
备注: 如果你不幸发现是一个系统进程占用了端口, 就只有把那个web application换个端口了 (惹不起还躲不起么)
具体步骤就是先un-extend web application 然后再 extend web application 另外一个端口, 步骤参见:
Update a Web application URL and IIS bindings
http://technet.microsoft.com/en-us/library/cc298636.aspx
相关文章推荐
- IIS发生意外错误0x8ffe2740 大多数是80端口被其他程序占用了(Apache、迅雷)
- apache与IIS端口冲突修改和需要使用 SSL 查看该资源”错误
- WebService部署到IIS时,解决“您试图从目录中执行 CGI、ISAPI 或其他可执行程序,但该目录不允许执行程序”的错误
- VS使用进程调试出现“没有正确安装调试器。请运行安装程序安装或修复调试器”的错误,解决方法。
- MySQL 启动服务错误:“本地计算机 上的 MySQL 服务启动后停止。某些服务在未由其他服务或程序使用时将自动停止。”
- win7——win server 2012 iis中使用asp程序出现Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005'
- IIS错误信息--另一个程序正在使用此文件,进程无法访问
- 【错误解决】本地计算机上的mysql服务启动停止后,某些服务在未由其他服务或程序使用时将自动停止
- IIS出现“另一个程序正在使用此文件,进程无法访问。”错误提示的解决办法
- iis中web站点无法启动:另一程序正在使用该文件,进程无法访问--解决
- IIS不能启动站点,另一个站点可能已经在使用您为此站点配置的端口。请为此站点选择一个没有使用的端口解决办法:
- IIS错误信息--另一个程序正在使用此文件,进程无法访问!
- 【错误解决】本地计算机上的mysql服务启动停止后,某些服务在未由其他服务或程序使用时将自动停止
- IIS错误信息--另一个程序正在使用此文件,进程无法访问!
- 【错误解决】本地计算机上的mysql服务启动停止后,某些服务在未由其他服务或程序使用时将自动停止
- 启动IIS 网站出现错误 另一个程序正在使用此文件,进程无法访问
- 【错误解决】本地计算机上的mysql服务启动停止后,某些服务在未由其他服务或程序使用时将自动停止
- IIS “另一个程序正在使用此文件,进程无法访问。”错误提示的解决办法
- IIS错误提示:另一个程序正在使用此文件 进程无法访问
- oracle11g出现错误,监听服务启动后停止。某些服务未由其他服务或程序使用时将自动停止