With <authentication mode="Windows"/>
in your application and Anonymous access enabled in IIS, you will see the following results:
System.Environment.UserName: Computer Name
Page.User.Identity.Name: Blank
System.Security.Principal.WindowsIdentity.GetCurrent().Name: Computer Name
With <authentication mode="Windows"/>
in your application, and ‘Anonymous access’ disabled and only ‘Integrated Windows Authentication’ in IIS, you will see the following results:
System.Environment.UserName: ASPNET (user account used to run ASP.NET service)
Page.User.Identity.Name: Domain\ Windows Account Name
System.Security.Principal.WindowsIdentity.GetCurrent().Name: Computer Name\ASPNET
With <authentication mode="Windows"/>
and <identity impersonate ="true"/>
in your application, and ‘Anonymous access’ disabled and only ‘Integrated Windows Authentication’ in IIS, you will see the following results:
System.Environment.UserName: Windows Account Name
Page.User.Identity.Name: Domain\ Windows Account Name
System.Security.Principal.WindowsIdentity.GetCurrent().Name: Domain\ Windows Account Name
This could be a VMware issue or a locking problem on the virtual disk. Can you capture the full error message? Do other virtual machines power on without problems?
Despite that, it appears you have a physical storage issue, too.
Here's what the HP Smart Array P410 configuration output on a DL180 G6 looks like:
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 2 TB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 2 TB, OK)
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 2 TB, OK)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 2 TB, OK)
physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 2 TB, OK)
physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 2 TB, OK)
Are you sure that you're not mistaking the drive designation of 1I:1:1
, which means (port 1I:box 1:bay 1)
for "SLOT1 : Bay 11"? That would explain the amber/orange light in the first drive bay.
Given that this server was not documented well, there's a high probability that it was also configured with RAID5 (mean? probably).
- Does the server boot?
- What error messages do you see at POST?
- Do you have to press any keys on the keyboard to allow the system to boot? (e.g.
F1
)
- What capacity and type of disks are installed in the server?
If the server is on, you can view the RAID configuration from within ESXi. Do this by navigating to: Hardware Status > Sensors > Storage
.
If your ESXi was installed using an HP-specific VMware image, you will see the RAID configuration there.
If you don't see anything inside of VMware, you will need to reboot and view the RAID configuration at the BIOS level.
When the system is powered on, you want to hit the F8
key when prompted to enter the Smart Array P410 configuration utility.
Once inside, select "View Logical Drives".
This will show you the RAID health status and you can hit Enter
for details. This will tell you conclusively which disks are good/bad/missing in the array.
Best Answer
Source: Understanding Impersonation in ASP.NET