これは最近、青から最近発生し始めました。 Stackやその他のフォーラムで見つけられるすべてのソリューションを試しましたが、これまでのところ何もできませんでした。VS2015のAzureデバッグ環境が起動時にクラッシュする
デバッグウィンドウを読み取ります:The program '[2208] WaIISHost.exe' has exited with code 0 (0x0).
私はビジュアル・スタジオを実行している私は、Azureのワーカーの役割でデバッグを開始しようとすると
、これは私が得る限りです管理モード。正しいプロジェクトをスタートアップとして設定し、IIS Expressを開発者サーバーとして使用します。
私は、同じ基本的なプロジェクトで新しいAzureワーカーロールを作成しようとしましたが、うまくいかなかったのです。システムイベントログには情報はありません。私はVS2015を別々に再インストールしようとしましたが、Azure SDK(v2.7.1)は変更されていません。それが消える前に、私は、計算エミュレータを表示すると、それは言う:
[fabric] Role Instance: deployment27(250).Web.0
[fabric] Role state Unhealthy
[fabric] Role state Stopped
私は何かがに縛らプロジェクトに壊れ得ている必要があることを信じるように私をリード溶液中で他のWorkerロールプロジェクトを開始することができる午前どういうわけか壊れた労働者の役割。私はこの段階でアイデアを出していますので、どんな助けでも大歓迎です。 C:\Users\<UserAccount>\AppData\Local\dftmp\Resources\<GUID>\directory\DiagnosticStore
内部WallSHost.log
ファイルを見てみると
UPDATE
は私にInvalid name
エラー与える:ビジュアルスタジオ、AzureのSDK、IISを再インストールし、ログファイルをthralling後
WaIISHost Information: 0 : [00003568:00000001, 2015-10-06 20:02:05.472, INFO ] Attempt Deploy with RoleInstanceId=deployment27(252).Web_IN_0 RoleRoot=C:\Web\csx\Debug\roles\Web\ optional SitesDestination=
WaIISHost Information: 0 : [00003568:00000001, 2015-10-06 20:02:08.153, ERROR] Exception:System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Invalid name.
Parameter name: name (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.ArgumentException: Invalid name.
Parameter name: name
at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
at System.Security.AccessControl.FileSystemSecurity..ctor(Boolean isContainer, String name, AccessControlSections includeSections, Boolean isDirectory)
at System.Security.AccessControl.DirectorySecurity..ctor(String name, AccessControlSections includeSections)
at System.IO.DirectoryInfo.GetAccessControl(AccessControlSections includeSections)
at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.FileManager.AddAllowAceIterative(DirectoryInfo dir, FileSystemRights rights, IdentityReference[] accounts)
at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurato...).
WaIISHost Information: 0 : [00003568:00000001, 2015-10-06 20:02:08.157, ERROR] Exception:System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Invalid name.
Parameter name: name (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.ArgumentException: Invalid name.
Parameter name: name
at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
at System.Security.AccessControl.FileSystemSecurity..ctor(Boolean isContainer, String name, AccessControlSections includeSections, Boolean isDirectory)
at System.Security.AccessControl.DirectorySecurity..ctor(String name, AccessControlSections includeSections)
at System.IO.DirectoryInfo.GetAccessControl(AccessControlSections includeSections)
at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.FileManager.AddAllowAceIterative(DirectoryInfo dir, FileSystemRights rights, IdentityReference[] accounts)
at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurato...).
イベントログを確認してください。ロールクラッシュについての情報があります。 HTH。 –
@ GauravMantriイベントログはあまり言いません。 'WallSHost.log'ファイルのエラーについては上記を参照してください。ありがとう。 – GFoley83