Error in Visual Studio 11: "could not obtain license due to error 80090317" - windows-8

I have been playing around with Windows 8 Developer Preview and Visual Studio 11 Express, but I am facing an issue that is a bit annoying. Every 1 or 2 days, I get the following error when I open Visual Studio: "could not obtain license due to error 80090317"
This issue is mentioned here and here, but in both cases it is said that the issue shows up when Windows 8 is installed as an upgrade to Windows 7, which is not my scenario. I did a clean install in an new partition and installed all the updates available. The workaround I have found so far is to put the date of my system a few months in the past, run Visual Studio and acquire a license, then put the current date back. This works for a while until the message shows up again.
Has someone faced this issue?
Has someone a more permanent workaround for this?
A bit more details on my current setup:

Do not use the Developer Preview.
Download the Windows 8 Consumer Preview and the Visual Studio 11 Beta
Update as for June 15, 2012:
Download Windows 8 Release Preview and Visual Studio 2012 Release Candidate

Related

Can't open SQL Server Management Studio 18 - "MRU Package did not load correctly" and "Cannot create the window"

This issue is driving me crazy. I can't open SQL Server Management Studio (SSMS) 18. When I try to open it I get the follow things:
Starts fine with the small window that says "Microsoft SQL Server Management Studio v18.6"...
But then I get an error window saying:
"The 'MRU Package' package did not load correctly.
The problem may have been caused by a configuration change or by the installation of another extension"...
After that I get another error window saying:
"Cannot create the window".
Here's an Imgur link with pictures of the errors: Pictures
And that's it. I've been stucked there.
Things I've already did/tried:
Installed SSMS 18
Installed SQL Server 2019
Uninstalled Visual Studio 2017
Installed Visual Studio 2019
Re-installed SQL Server 2019
Repair installation of SSMS 18
Re-installed SSMS 18
Installed Visual Shell 2015
Rebooted PC several times
I don't know what else to do. I've been struggling with this since yesterday. I've searched for solutions but couldn't find anything that solved the problem.
Hope someone can help me. Thanks in advance.

Visual Styles-related operation resulted in an error because no visual style is currently active. (System.Windows.Forms)

I have installed the latest version of the SQL Server Management Studio 2016 in order to test the Always Encrypted feature. It is opened from this menu here:
but always throw the following error:
and then the studio stops working.
Has anyone idea what is causing this behavior?
This issue was addressed in SSMS 16.3 (August 2016) Release. Please, upgrade your SSMS to the latest version of SSMS, available at https://msdn.microsoft.com/en-us/library/mt588477.aspx, if you still observe this issue. Alternatively, make sure you are not using the Classic Windows theme or a high-contrast theme.

No Emulator lists to deploy windows phone app

I'm not able to see any of emulator in VS 2012 express for windows phone. My system has all requirements to run an emulator. previously I was able to debug on emulator. After uninstalling and reinstalling VS 2012 I'm unable to get emulator list and i'm getting error "There were deployment error" and error list shows " Error 1 Exception from HRESULT: 0x89721500". Please help me to solve this problem as I'm unable to test my window phone apps on my system.
Maybe you could fix this issue by deleting this folder:
When you use Visual Studio 2012
C:\Users\<username>\AppData\Local\Microsoft\Phone Tools\CoreCon\11.0
When you use Visual Studio 2015
C:\Users\<username>\AppData\Local\Microsoft\Phone Tools\CoreCon\12.0
Then open VS2012 or VS 2015 again.
If not repairing is always recommended
In addition to Daniel's answer, you may need to then manually repair the emulator install from programs and features in control panel.

Why my app is not running on VS 2012 express for windows 8?

I installed Windows 8 RP and VS 2012 Express for windows 8 in my system.Previously i did sample apps and executes it's successfully.But Suddenly app is not running while debug the application shows only"Build is started"but not showing output.
while putting break point in my app does not coming to solution.Why metro app is not running in VS 2012 express?
does not show any errors doesn't show any output only showing build started message.
please help me..
Below is screen shot...
Only Showing that message always not giving any output....
If you are running Windows 8 Release Preview, you need to be running Visual Studio 2012 Release Candidate, which you can download here:
http://www.microsoft.com/en-us/download/details.aspx?id=29931

Debug C# Metro app on non-networked machine

I'm trying to create my first Metro app, in order to debug it and run it, do I need a developer licence? And if my machine is not connected to the web - what can I do? Nothing?
You can just open Visual Studio 11 Express for Windows 8 or VS 11 Beta and it will get a free license from Microsoft that I believe will be free for a month or so. They have been extending it every month so far. I believe you do need to be online to get it though.