Archive

Archive for the ‘Vs2015’ Category

Visual Studio 2015 Performance Profiler metabase error

Starting the Performance Profiler in order to analyze a web site i got the error “The website metabase contains unexpected information or you do not have permission to access the metabase ….”:

The solution is configured to run using the local IIS (of Windows 10).
In order to fix this problem on the Control Panel->Programs and in “Turn Windows features on or off”

must be activated the Windows Authentication

and the entire IIS6 Management Compatibility branch

Categories: .NET, Vs2015

Roslyn access denied error

Publishing a .NET 4.5 site on a normal provider, not Azure, i got the yellow screen of death “Access is denied” with “Cannot execute a program. The command being executed was \roslyn\csc.exe”.
Since the .NET 4.5 , Roslyn is the default compiler; Roslyn is interesting (even if i wrote code that was evaluating C# code years ago using Reflection) but i was in a hurry, i was needing to make the site working ASAP.
The quick & dirty solution is to delete from web.config the system.codedom section.

Categories: .NET, Vs2015

WinPhone 8.1 vm failed to start

I’m trying Visual Studio 2015 in a Vmware Workstation virtual machine , and trying to start an WinPhone 8.1 Hub application i got:

The emulator is unable to verify that the virtual machine is running:
 
Something happened while starting a virtual machine: 'Emulator 10.0.1.0 WVGA 4 inch 512MB.test' failed to start. (Virtual machine ID <a guid>)

The Virtual Machine Management Service failed to start the virtual machine 'Emulator 10.0.1.0 WVGA 4 inch 512MB.test' because one of the Hyper-V components is not running (Virtual machine ID <a guid>).

After some head scratching i found that in the Vmware vm processor configuration must be enabled “Virtualize Intel VT-x/EPT or AMD-V/RVI”

And in the .vmx file must be added the line

hypervisor.cpuid.v0 = "FALSE"
Categories: .NET, Vs2015, WinPhone