IIS ERROR about SP:The process can't access the file because it is being used by another process
来源:互联网 发布:mac ps合并图层快捷键 编辑:程序博客网 时间:2024/05/16 14:27
You receive a "The process cannot access the file because it is being used by another process" error message when you try to start a Web site in the Internet Information Services MMC snap-in
SYMPTOMS
When you right-click a Web site in the Microsoft Internet Information Services (IIS) Microsoft Management Console (MMC) snap-in, and then you clickStart, the Web site does not start and you receive the following error message:This problem occurs on a computer that is running Microsoft IIS 6.0. This problem also occurs on a computer that is running both Microsoft IIS 7.0 and Windows Vista.
Additionally, the following two events may be logged in the System event log on the Microsoft Windows Server 2003-based computer that is running IIS:
The process cannot access the file because it is being used by another process.
Additionally, the following two events may be logged in the System event log on the Microsoft Windows Server 2003-based computer that is running IIS:
Event Source: W3SVC
Event ID: 1004
Description: Cannot register the URL prefix 'http://*:80/' for site '1'. The site has been deactivated. The data field contains the error number.
Event Source: HTTP
Event ID: 15005
Description: Unable to bind to the underlying transport for IPAddress: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.
CAUSE
Typically, this issue occurs when one or more of the following conditions are true:
- Another process is using port 80 or port 443 on the computer that is running IIS. By default, IIS uses port 80 as the default TCP port and port 443 for Secure Sockets Layer (SSL).
- TheListenOnlyListregistry subkey is not configured correctly on the computer that is running IIS.
RESOLUTION
To resolve this issue, you must use the Netstat.exe utility at the command line to see if another process is using port 80 or port 443.
If port 80 is not being used, you must then examine the
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
If port 80 is not being used, you must then examine the
ListenOnlyList
registry subkey on the computer that is running IIS. To do this, follow these steps.Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756
(http://support.microsoft.com/kb/322756/ )
How to back up and restore the registry in Windows- Log on the computer that is running IIS by using an account that has administrative permissions.
- Click Start, click Run, typecmd, and then click OK.
- At the command prompt, type the following command:netstat -anoNote For more information about the Netstat.exe utility, type the following command at the command prompt:netstat /?
- If the ports are not being used, you must examine theListenOnlyListregistry subkey on the computer that is running IIS. To do, this follow these steps:
- Click Start, clickRun, type regedit, and then clickOK.
- In Registry Editor, locate the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters\ListenOnlyList
- Make sure that theListenOnlyListsubkey contains valid IP addresses. If theListenOnlyListsubkey contains an IP address that is not valid, you must remove the IP address or change theListenOnlyListsubkey entries to reflect a valid IP address.
Note By default, if theListenOnlyListsubkey is not present, an IP address of 0.0.0.0 is used. However, if theListenOnlyListsubkey is present and the 0.0.0.0 IP address is listed, no other IP address should be listed. If other IP address are also listed, the other IP addresses must be deleted. - Before you modify theListenOnlyListsubkey, you must stop the HTTP service on the computer that is running IIS. To do this, follow these steps:
- Click Start, clickRun, type cmd, and then clickOK.
- At the command prompt, type the following command, and then press ENTER:net stop httpThe following message appears: Press Y, and then press ENTER.
Note On Vista, the list of services in this message also includes the following services:- UPnP Device Host
- SSDP Discovery
- Print Spooler
- Function Discovery Resource Publication
- To remove the IP address that is not valid in Registry Editor, right-click the string value that contains the IP address, and then clickDelete. To modify the IP address value, right-click the string value that contains the IP address, and then clickModify.
- In the Edit String dialog box, type the correct IP address in theValue Data box, and then click OK.
- Close Registry Editor.
- You must now restart the HTTP service on the computer that is running IIS. To do this, follow these steps:
- Click Start, clickRun, type cmd, and then clickOK.
- At the command prompt, type the following command:net start http
- You must also restart the HTTP SSL service and the World Wide Web Publishing Service on the computer that is running IIS. To do this, follow these steps:
- Click Start, point toAdministrative Tools, and then click Services.
- In the Services MMC snap-in, right-click the following services, and then clickStart:
- World Wide Web Publishing Service
- HTTP SSL
- Close the Services MMC snap-in.
- IIS ERROR about SP:The process can't access the file because it is being used by another process
- IIS:The process cannot access the file because it is being used by another process.
- 【IIS】the process can not access the file because the file is being used by another process
- The process cannot access the file XXX because it is being used by another process
- FileStream:The process cannot access the file because it is being used by another process
- The process cannot access the file because it is being used by another process.
- Solution: The process cannot access the file [filename] because it is being used by another process.
- the process cannot access the file because it is being used by another process
- 拷贝文件时出现The process cannot access the file 'xxx' because it is being used by another process.错误
- 处理文件时遇到:The process cannot access the file because it is being used by another process.
- C#使用Create创建文件后,报The Process cannot access the file because it is being used by another process的异常
- C#使用Create创建文件后,报The Process cannot access the file because it is being used by another process的异常
- 文件流操作,报“because it is being used by another process. ”错误解决
- Visual studio bin/Debug/… because it is being used by another process
- error while unload assembly from GAC "assembly is being used by another process"
- Error 3724:Cannot drop the table 'object_name' because it is being used for replication.
- Error 3724:Cannot drop the table 'object_name' because it is being used for replication.
- [UE4]解决UE4打包错误 “is being used by another process”
- Eclipse Helios(3.6.2)下载地址
- 使用openCV进行视频拼接
- 地图中添加大头针
- 利用数据库存储过程来实现分页功能
- 汉字字符集
- IIS ERROR about SP:The process can't access the file because it is being used by another process
- k-means的简化版本
- [NSFileManager defaultManager] 与 [[NSFileManager alloc] init] 返回的实例区别
- how to know the package name of android apk?
- 设计模式
- 快客原创 火车头数据采集视频教程——第1讲 ecshop zencart shopex lightinthebox 网店数据批量采集教程
- java程序性能优化
- XML的学习运用
- 解决“java.lang.NoSuchMethodError: org.hamcrest.core.AllOf.allOf…”问题(使用JUnit和Hamcrest)