2018年6月6日水曜日

Warning: Failed to mount the Azure file share. Your cloud drive won't be available. Your Cloud Shell session will be ephemeral so no files or system changes will persist beyond your current session. というエラーがでたときの対処。

原因は、一回目にShellを実行したときにストレージアカウントを設定するのだけど、そのストレージアカウントを削除してしまうことらしい。

ということで、アカウントの設定しなおしで治る。手順は以下の通り。

  1. shellな画面で、clouddrive unmount を実行。
  2. shellを再起動。

この手順で、再度、ストレージアカウントの設定になるので、お好きなとおりに設定すればOK。

2018年2月8日木曜日

IIS Manager 1.2 から App Service に接続できない件

OS が Windows Server 2012 から 2016 にアップグレードされたからか、IIS Manager からの接続ができなくなったのだけど、バグだったっぽい。

Can no longer manage any Web Apps with IIS Remote Manager - Could not load file or assembly - AppHostFileProvider

https://social.msdn.microsoft.com/Forums/en-US/e5ef578b-8a83-4e46-84dd-3113488b579b/can-no-longer-manage-any-web-apps-with-iis-remote-manager-could-not-load-file-or-assembly-?forum=windowsazurewebsitespreview

Could not load file or assembly
'Microsoft.Web.Configuration.AppHostFileProvider, Version=8.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

というエラー発生。早くなおるといいな。