2010-04-19 71 views
0

Iam收到錯誤「Can not copy assembly.Unable to add the dll to website。The process can not access the file because other being used by another process」while building。網絡應用。Can not copy assembly.Unable to the dll to website

+0

您可以確定它是鎖定在讀取(在生成文件夾中)還是寫入(在網站文件夾中)? – 2010-04-19 05:16:27

回答

0

看來你正試圖從已運行的web應用程序的\ bin目錄中獲取程序集。如果是這樣的話,那麼你需要停止已經運行的網站的網站和IIS應用程序池。此後您將可以複製程序集。完成任務後,您可以重新啓動IIS網站和應用程序池。

您也可以通過僅停止IIS網站來完成此操作。

相關問題