部署到Azure的:"访问路径... msshrtmi.dll被拒绝" [英] Deploying to Azure: "Access to the path ... msshrtmi.dll is denied"

查看:266
本文介绍了部署到Azure的:"访问路径... msshrtmi.dll被拒绝"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有建于VS2012反对的Azure SDK 2.4的长期Azure项目,并在尝试将其迁移到VS2015和Azure的2.7。我能够生成项目并在本地运行,但是当我尝试部署失败,出现以下错误:

I have a long-standing Azure project that I built in VS2012 against the Azure SDK 2.4, and am attempting to migrate it to VS2015 and Azure 2.7. I am able to build the project and run it locally, but when I attempt to deploy it fails with the following error:

访问路径C:[用户文件夹] \\应用程序数据\\本地的\\ Temp [随机字符] \\角色[解决方案] \\基地\\ 86 \\ msshrtmi.dll'被拒绝

Access to the path 'C:[user folder]\AppData\Local\Temp[random chars]\roles[solution]\base\x86\msshrtmi.dll' is denied

当我试图查看包含文件夹不存在......也许它发布失败后删除?我已经找到了解决方案文件夹中的msshrtmi.dll,并试图改变已经声称帮助其他msshrtmi.dll问题的平台定位,但其中大部分似乎是在构建时失败,不发布时间。

When I attempt to view that containing folder it doesn't exist... perhaps it is removed after the publish failure? I've found the msshrtmi.dll within the solution folders, and have tried changing the platform targeting that has been claimed to help other msshrtmi.dll issues, but most of those seem to be fails at build time not publish time.

我已经重新建立了一个新的Azure解决方案和进口我的Web角色项目,并得到同样的结果。我从来没有在该配置VS深入钻研/建设/部署前的世界,我希望有人能帮助我指出了正确的方向。

I've re-built a new Azure solution and imported my web role project and get the same result. I've never had to delve deep in to the VS configuration/build/deploy world before and am hoping someone can help point me in the right direction.

在此先感谢您的帮助!

推荐答案

我有同样的异常。我的决议是由Microsoft Azure工具的团队给我一个解决办法 - 封装或64位计算机上发布。我的VM是32位。当我打包了64位计算机上,这个错误走了,我能够再次发布。

I had the same exception. My resolution was a workaround given to me by the Microsoft Azure Tools team - package or publish on a 64-bit machine. My VM was 32-bit. As soon as I packaged on the 64-bit machine, this error went away and I could publish once again.

同样的团队成员说,这问题将围绕八月底在Azure 2.7.1版本。

The same team members said this issue will be fixed in the Azure 2.7.1 release around the end of August.

这篇关于部署到Azure的:"访问路径... msshrtmi.dll被拒绝"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆