我尝试将 ASP.Net MVC 站点上传到 Azure 网站帐户,但遇到了严重问题。大多数文件都可以正常传输,但有些文件总是会失败。问题是失败的总是相同的文件,我不知道为什么。我尝试使用 FTP 和“Web Deploy”方法从 Visual Studio 进行部署,并且尝试通过 FileZilla 使用 FTP 和 FTPS,但遇到了同样的问题。我可能做错了什么???
这是我看到的错误的 FileZilla 日志。
Status: Resolving address of waws-prod-blu-003.ftp.azurewebsites.windows.net
Status: Connecting to 137.117.88.16:21...
Status: Connection established, waiting for welcome message...
Response: 220 Microsoft FTP Service
Command: USER xxxxx\xxxxxxxx
Response: 331 Password required
Command: PASS *********
Response: 230 User logged in.
Command: OPTS UTF8 ON
Response: 200 OPTS UTF8 command successful - UTF8 encoding now ON.
Status: Connected
Status: Starting upload of C:\websites\HSDeploy\css\bootstrap.min.css
Command: CWD /site/wwwroot/css
Response: 250 CWD command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: PASV
Response: 227 Entering Passive Mode (137,117,88,16,39,138).
Command: STOR bootstrap.min.css
Response: 550 The process cannot access the file because it is being used by another process.
Error: Critical file transfer error
这只是失败的文件之一的示例。这是 Windows Azure 网站中的错误还是我做错了什么?在我看来,这是一个关键问题,也是让网站在 Azure 上运行的主要障碍。:-(