我收到以下错误:
Error: The process cannot access the file 'C:\DWASFiles\Sites\mywebsitename\VirtualDirectory0\site\wwwroot\newrelic\NewRelic.Agent.Core.dll' because it is being used by another process.
Run Code Online (Sandbox Code Playgroud)
在尝试从Github部署Azure网站时,在Running deployment命令...日志文件中.
将不胜感激任何可能导致此问题的指示.
更新:当直接从VS.NET发布以下内容时,这也失败了:
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets(4196,5): Warning : An error was encountered when processing operation 'Create File' on 'NewRelic.Agent.Core.dll'.
1>Retrying operation 'Update' on object filePath (mywebsitename\newrelic\NewRelic.Agent.Core.dll). Attempt 1 of 2.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets(4196,5): Error : Web deployment task failed. ((06/07/2013 23:54:58) An error occurred when the request was processed on the remote computer.)
Run Code Online (Sandbox Code Playgroud)
这是以前工作,我不知道为什么它会停止.
Gra*_*ger 13
NewRelic建议停止网站卸载文件并允许部署完成.
作为替代方案,您可以在配置选项卡上的应用程序设置中将COR_ENABLE_PROFILING设置为0,以暂时禁用分析,这样您就可以继续部署,同时让网站始终可用.
您可以通过manage.windowsazure.com上的配置选项卡临时关闭New Relic监控,而不是停止网站:
配置>开发人员分析>选择"关闭">保存
部署
配置>开发人员分析>选择"添加">从下拉列表中选择加载项>保存
为我工作,包括VS的常规部署和VSO的自动构建.
小智 3
这是 Azure 网站的 New Relic .NET 代理在执行代理升级时的一个已知问题。解决方法是停止网站释放 dll,完成部署,然后重新启动实例。
https://newrelic.com/docs/dotnet/azure-web-sites#h2-1
| 归档时间: |
|
| 查看次数: |
2513 次 |
| 最近记录: |