2008/06/20

[FIX][IIS6] The path specified cannot be used at this time

當開啟 Internet Information Service 時,就會出現這個錯誤

 

The path specified cannot be used at this time.

image

 

很奇怪的是,在 EventLog 上 也出現以下的訊息

 

Event Type:    Error
Event Source:    Office SharePoint Server
Event Category:    Office Server 共用服務
Event ID:    6482
Date:        2008/6/20
Time:        上午 10:37:20
User:        N/A
Computer:   
Description:
服務執行個體 Microsoft.Office.Server.Search.Administration.SearchAdminSharedWebServiceInstance (82d1a3e4-bbc4-4589-b114-1e3e49a50237) 的應用程式伺服器管理工作失敗。

原因: The path specified cannot be used at this time. (Exception from HRESULT: 0x80070094)

技術支援詳細資料:
System.Runtime.InteropServices.COMException (0x80070094): The path specified cannot be used at this time. (Exception from HRESULT: 0x80070094)
   at System.DirectoryServices.DirectoryEntry.CommitChanges()
   at Microsoft.SharePoint.Metabase.MetabaseObject.Update()
   at Microsoft.SharePoint.Administration.SPProvisioningAssistant.ApplyIisVirtualDirectorySettings(VirtualDirectory virtualDirectory, String path, AccessFlags accessFlags, String applicationName, String applicationPoolId, String[] scriptMaps)
   at Microsoft.SharePoint.Administration.SPProvisioningAssistant.ProvisionIisRootVirtualDirectory(WebSite webSite, String path, AccessFlags accessFlags, String applicationName, String applicationPoolId, String[] scriptMaps)
   at Microsoft.SharePoint.Administration.SPProvisioningAssistant.ProvisionIisWebSite(String serverComment, String[] serverBindings, String[] secureBindings, AuthenticationMethods authenticationMethods, String[] authenticationProviders, String path, AccessFlags accessFlags, String applicationName, String applicationPoolId, String[] scriptMaps, String sslCertificateSubjectName)
   at Microsoft.SharePoint.Administration.SPMetabaseManager.ProvisionIisWebSite(String serverComment, String[] serverBindings, String[] secureBindings, Int32 authenticationMethods, String[] authenticationProviders, String path, Int32 accessFlags, String applicationName, String applicationPoolId, String[] scriptMaps, String sslCertificateSubjectName)
   at Microsoft.Office.Server.Administration.SharedWebServiceInstance.Synchronize()
   at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)

Event Type:    Error
Event Source:    Windows SharePoint Services 3
Event Category:    計時器
Event ID:    6398
Date:        2008/6/20
Time:        上午 10:30:50
User:        N/A
Computer:   
Description:
工作定義 Microsoft.Office.Server.Administration.ApplicationServerAdministrationServiceJob (識別碼 ce316348-a374-4dc2-ad07-e3328c4868ca) 的 Execute 方法發生例外狀況。其他資訊如下。

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

 

我發現微軟有一個 KB 在說明這個問題,並且在右上角提供索取 hotfix 的方法(小熊子大眼睛沒看到,謝謝黑暗大哥)

http://support.microsoft.com/kb/946517

以下是 KB946517 的內容,提供參考

安裝完後, IIS 管理界面就開得起來囉~

================================================================================================================

SYMPTOMS

Consider the following scenario. You have a process that has more than one thread. Additionally, the process uses the Internet Information Services (IIS) Active Directory Service Interfaces (ADSI) provider to access IIS 6.0. Two threads access IIS 6.0 at the same time. In this scenario, you may be unable to manage IIS 6.0 by using Server Manager.
When this problem occurs, you must restart IIS 6.0, or you must restart the process that uses the IIS ADSI provider.
This problem is likely to occur for the SharePoint Timer service (OWSTimer.exe) in Microsoft Office SharePoint Server 2007. When this problem occurs for the SharePoint Timer service, you may experience the following symptoms:


In SharePoint Server 2007, tasks that are scheduled do not run.


On the SharePoint Web front-end server, you see repeated errors in the Application log in Event Viewer. These errors usually include one of the following three events:


Event ID 6398


Event ID 6482


Event ID 7076

For example, you may see an error message that resembles the following:

Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: (964)
Event ID: 6398
Date: 11/7/2007
Time: 5:45:38
PM User: N/A
Computer: 44MOSSAGRUK
Description:
The Execute method of job definition Microsoft.Office.Server.Administration.ApplicationServerAdministrationServiceJob
(ID 02b5e3f2-21e3-4552-bf1d-6e152749458a) threw an exception. More information is included below.
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


When you try to manage IIS 6.0 by using Server Manager, you receive a blank page, or you receive the following error message:

the path specified cannot be used at this time

2 則留言:

匿名 提到...

請問,安裝後IIS是否就正常了呢?小弟也遇到這個問題剛開始以為是硬體的錯誤造成的!!

Michael Chien 提到...

沒錯,裝了 IIS 就回神過來囉,供您參考