Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When i run the cloud application locally in storage emulator it starts and shutdown immediately and i have the following error in output console.

Quote:
'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'D:\AzureDev\EasyClinicCloudService\csx\Debug\roles\Admin\base\x64\WaIISHost.exe'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.WindowsAzure.ServiceRuntime\v4.0_2.7.0.0__31bf3856ad364e35\Microsoft.WindowsAzure.ServiceRuntime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\msshrtmi\v4.0_2.7.0.0__31bf3856ad364e35\msshrtmi.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Diagnostics.ServiceModelSink\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'WaIISHost.exe' (CLR v4.0.30319: WaIISHost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. The program '[6124] WaIISHost.exe' has exited with code 0 (0x0).

and when i check my Waiishost log it looks like..

Quote:
WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:36.312, INFO ] Starting host process. WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:36.365, INFO ] DebuggerAttachStart START WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:36.366, INFO ] DebuggerAttachStart END WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:36.376, INFO ] Found role model xml file WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:36.402, INFO ] Creating endpoint IPAddress:127.0.0.1 PortNum:83 Protocol:http HostHeader: WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:36.402, INFO ] Adding site to AppModel with name , endpoints http:127.0.0.1:83: WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:36.435, INFO ] Reacl all resources for iis users WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:36.442, INFO ] Reacl all resources for iis users has been finished. WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:36.443, INFO ] Wait for iisconfigurator initialization global event to be set WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:36.443, INFO ] Found iisconfigurator initialization global event WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:36.443, INFO ] Iisconfigurator initialization global event set WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:36.457, INFO ] Changing operation timeout to 00:05:00 WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:36.465, INFO ] Attempt Deploy with RoleInstanceId=deployment29(79).EasyClinicCloudService.Admin_IN_0 RoleRoot=D:\AzureDev\EasyClinicCloudService\csx\Debug\roles\Admin\ optional SitesDestination= WaIISHost Information: 0 : [00006124:00000001, 2016-06-13 13:54:38.066, 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 : [00006124:00000001, 2016-06-13 13:54:38.073, 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...).


i am using vs 2015 and azure sdk 2.9 I am really stuck with this please suggest me a solution.
Thank you in advance.

What I have tried:

I have tried to update npm to 3.6 but still not able to fix this.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900