locked
Problems Getting Developer License in Visual Studio Express 2012 RC for Windows 8

    Question

  • I am on a Brand New Windows 8 Virtual Machine that has the latest Microsoft Visual Studio Express 2012 RC installed and everything seems to work okay.  Except every time I try to get the Developer License needed to build Metro apps I get the error box [We couldn't get your developers license for Windows 8]  Error 0x80004005

    I know from experience that can be a permissions error.

    But, I am an Administrator to this machine, and I have tried adding the license using the Powershell method also ran as an Administrator.

    I can connect to the Internet.

    There has to be some security setting locking me out, does anyone have any ideas?  I greatly appreciate any assistance.

    Jeff Olson

    Friday, June 08, 2012 9:23 PM

All replies

  • cross posting about the same on another forum, http://social.msdn.microsoft.com/Forums/en/vssetup/thread/192af1db-8ea0-4c2f-96aa-07a7ae4a2960

    I hope one of the threads will contain an answer 

    --Vladimir

    Saturday, June 09, 2012 1:20 PM
  • One of the Network Administrators was able to sign on to the VM as user Administrator and was able to install the license.

    Which verifies for me that there is some permission issue, but gets me down the road for now.

    I was an Administrator on the machine and was running everything as Administrator, but I still could not create one.

    Monday, June 11, 2012 1:39 PM
  • Sorry to hear about the problem.  Initial look makes this seem like a connectivity problem.

    Can you share some logs so that we can evaluate the situation deeper?  Appropriate log file would be at %temp%\winstore.log.

    Thank you,

    Arik Cohen

    Principal Program Manager Lead

    Windows Store

    Monday, June 11, 2012 5:34 PM
  • Hello, here is the log:

    2012-06-12 14:47:01.245, _Info_ WS [00002360:00003764] ***********************************************************************

    2012-06-12 14:47:01.245, _Info_ WS [00002360:00003764] Process name: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe 2012-06-12 14:47:01.245, _Info_ WS [00002360:00003764] User name: name\Administrator 2012-06-12 14:47:01.245, _Info_ WS [00002360:00003764] Computer name: name 2012-06-12 14:47:01.245, _Info_ WS [00002360:00003764] Windows build: 8400.0.amd64fre.winmain_win8rc.120518-1423 2012-06-12 14:47:01.245, _Info_ WS [00002360:00003764] Client version: 552 2012-06-12 14:47:02.837, _Info_ WS [00003956:00003576] *********************************************************************** 2012-06-12 14:47:02.837, _Info_ WS [00003956:00003576] Process name: C:\Windows\system32\DllHost.exe 2012-06-12 14:47:02.837, _Info_ WS [00003956:00003576] User name: name\Administrator 2012-06-12 14:47:02.838, _Info_ WS [00003956:00003576] Computer name: name 2012-06-12 14:47:02.838, _Info_ WS [00003956:00003576] Windows build: 8400.0.amd64fre.winmain_win8rc.120518-1423 2012-06-12 14:47:02.838, _Info_ WS [00003956:00003576] Client version: 552 2012-06-12 14:47:02.855, _Warning_ WS [00003956:00003424] CNetworkState::_Initialize: INetworkCostManager::GetCost failed (0x800704c6) 2012-06-12 14:47:02.855, _Info_ WS [00003956:00003424] CNetworkState::_Initialize: NLM_CONNECTION_COST flags initalized to 0x00000000 2012-06-12 14:47:02.855, _Info_ WS [00003956:00003424] CNetworkState::_GetDataPlanStatus: MaxDownloadSize = -1, DataLimit = -1, Usage = 0 2012-06-12 14:47:02.856, _Info_ WS [00003956:00000372] WinStoreCache::DoQuery: Provider 0: Cache miss for DiscoveryForLicensing. 2012-06-12 14:47:02.856, _Info_ WS [00003956:00000372] CSQRProvider::GetData: Entering for selector DiscoveryForLicensing. 2012-06-12 14:47:02.856, _Info_ WS [00003956:00000372] CSQRProvider::GetData: Leaving for selector DiscoveryForLicensing with result code 0x80004005. 2012-06-12 14:47:02.856, _Error_ WS [00003956:00000372] WinStoreCache::DoQuery: Provider 0 returned failure for DiscoveryForLicensing, hr=0x80004005 2012-06-12 14:47:02.859, _Warning_ WS [00003956:00003396] CNetworkState::_Initialize: INetworkCostManager::GetCost failed (0x800704c6) 2012-06-12 14:47:02.859, _Info_ WS [00003956:00003396] CNetworkState::_Initialize: NLM_CONNECTION_COST flags initalized to 0x00000000 2012-06-12 14:47:02.859, _Info_ WS [00003956:00003396] CNetworkState::_GetDataPlanStatus: MaxDownloadSize = -1, DataLimit = -1, Usage = 0 2012-06-12 14:47:02.860, _Info_ WS [00003956:00000372] WinStoreCache::DoQuery: Provider 0: Cache miss for DiscoveryForLicensing. 2012-06-12 14:47:02.860, _Info_ WS [00003956:00000372] CSQRProvider::GetData: Entering for selector DiscoveryForLicensing. 2012-06-12 14:47:02.860, _Info_ WS [00003956:00000372] CSQRProvider::GetData: Leaving for selector DiscoveryForLicensing with result code 0x80004005. 2012-06-12 14:47:02.860, _Error_ WS [00003956:00000372] WinStoreCache::DoQuery: Provider 0 returned failure for DiscoveryForLicensing, hr=0x80004005

    as you can see INetworkCostManager::GetCost failed I think it reports 'no network'. I've put a picture in the message link for I provided earlier where different utilities report different connectivity status. It looks that INetworkCostManager is looking for IPv6 connections only.

    As you can see there is a workaround for the problem in that thread. The workaround is acceptable for beta or rc bits but I do not believe that this workaround is acceptable for production bits. 

    thanks
    --Vladimir

    Tuesday, June 12, 2012 11:25 AM
  • Ooh, I've found a workaround for the issue!:) After I disabled "Network Location Awareness" the service log wrote "CNetworkState::_Initialize: IConnectionPoint::Advise failed for NLM events (0x8007042c)" instead of "CNetworkState::_Initialize:INetworkCostManager::GetCost failed (0x800704c6)" and went via some other interface. Then I've got a live ID request and got the license!

    --Vladimir

    Thursday, June 14, 2012 1:41 PM
  • I've installed 32bit version of Win 8 Release Preview on a laptop and signed in with a local (Not Windows Live ID) Administrator account. Now I want to install a locally Developed Metro app but having problems getting the developers license. I also tried by disabling the NLA svc as suggested above but no luck. Below is the dump of the Winstore.log. Would appreciate any help in resolving this issue. Even though I can get online but still the network icon has a yellow triangle with an exclamation mark.

    2012-06-19 06:11:01.801, _Info_                WS   [00000656:00004032] Process name: C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe
    2012-06-19 06:11:01.801, _Info_                WS   [00000656:00004032] User name: Win832\John
    2012-06-19 06:11:01.801, _Info_                WS   [00000656:00004032] Computer name: Win832
    2012-06-19 06:11:01.801, _Info_                WS   [00000656:00004032] Windows build: 8400.0.x86fre.winmain_win8rc.120518-1423
    2012-06-19 06:11:01.801, _Info_                WS   [00000656:00004032] Client version: 552
    2012-06-19 06:11:04.514, _Info_                WS   [00003136:00001376] CNetworkState::_Initialize: NLM_CONNECTION_COST flags initalized to 0x00000001
    2012-06-19 06:11:04.514, _Info_                WS   [00003136:00001376] CNetworkState::_GetDataPlanStatus: MaxDownloadSize = -1, DataLimit = -1, Usage = -1
    2012-06-19 06:11:04.514, _Info_                WS   [00003136:00000816] WinStoreCache::DoQuery:  Provider 0: Cache miss for DiscoveryForLicensing.
    2012-06-19 06:11:04.514, _Info_                WS   [00003136:00000816] CSQRProvider::GetData:  Entering for selector DiscoveryForLicensing.
    2012-06-19 06:11:04.514, _Info_                WS   [00003136:00000816] CSQRProvider::GetData:  Leaving for selector DiscoveryForLicensing with result code 0x80004005.
    2012-06-19 06:11:04.514, _Error_               WS   [00003136:00000816] WinStoreCache::DoQuery: Provider 0 returned failure for DiscoveryForLicensing, hr=0x80004005
    2012-06-19 06:11:04.514, _Info_                WS   [00003136:00003900] CNetworkState::_Initialize: NLM_CONNECTION_COST flags initalized to 0x00000001
    2012-06-19 06:11:04.514, _Info_                WS   [00003136:00003900] CNetworkState::_GetDataPlanStatus: MaxDownloadSize = -1, DataLimit = -1, Usage = -1
    2012-06-19 06:11:04.514, _Info_                WS   [00003136:00000816] WinStoreCache::DoQuery:  Provider 0: Cache miss for DiscoveryForLicensing.
    2012-06-19 06:11:04.514, _Info_                WS   [00003136:00000816] CSQRProvider::GetData:  Entering for selector DiscoveryForLicensing.
    2012-06-19 06:11:04.514, _Info_                WS   [00003136:00000816] CSQRProvider::GetData:  Leaving for selector DiscoveryForLicensing with result code 0x80004005.
    2012-06-19 06:11:04.514, _Error_               WS   [00003136:00000816] WinStoreCache::DoQuery: Provider 0 returned failure for DiscoveryForLicensing, hr=0x80004005
    2012-06-19 06:11:41.359, _Info_                WS   [00003136:00001376] CNetworkState::_Initialize: NLM_CONNECTION_COST flags initalized to 0x00000001
    2012-06-19 06:11:41.359, _Info_                WS   [00003136:00001376] CNetworkState::_GetDataPlanStatus: MaxDownloadSize = -1, DataLimit = -1, Usage = -1
    2012-06-19 06:11:41.375, _Info_                WS   [00003136:00000816] WinStoreCache::DoQuery:  Provider 0: Cache miss for DiscoveryForLicensing.
    2012-06-19 06:11:41.375, _Info_                WS   [00003136:00000816] CSQRProvider::GetData:  Entering for selector DiscoveryForLicensing.
    2012-06-19 06:11:41.375, _Info_                WS   [00003136:00000816] CSQRProvider::GetData:  Leaving for selector DiscoveryForLicensing with result code 0x80004005.
    2012-06-19 06:11:41.375, _Error_               WS   [00003136:00000816] WinStoreCache::DoQuery: Provider 0 returned failure for DiscoveryForLicensing, hr=0x80004005
    2012-06-19 06:11:41.375, _Info_                WS   [00003136:00003172] CNetworkState::_Initialize: NLM_CONNECTION_COST flags initalized to 0x00000001
    2012-06-19 06:11:41.375, _Info_                WS   [00003136:00003172] CNetworkState::_GetDataPlanStatus: MaxDownloadSize = -1, DataLimit = -1, Usage = -1
    2012-06-19 06:11:41.375, _Info_                WS   [00003136:00000816] WinStoreCache::DoQuery:  Provider 0: Cache miss for DiscoveryForLicensing.
    2012-06-19 06:11:41.375, _Info_                WS   [00003136:00000816] CSQRProvider::GetData:  Entering for selector DiscoveryForLicensing.
    2012-06-19 06:11:41.375, _Info_                WS   [00003136:00000816] CSQRProvider::GetData:  Leaving for selector DiscoveryForLicensing with result code 0x80004005.
    2012-06-19 06:11:41.375, _Error_               WS   [00003136:00000816] WinStoreCache::DoQuery: Provider 0 returned failure for DiscoveryForLicensing, hr=0x80004005
    2012-06-19 06:11:46.569, _Info_                WS   [00003136:00003976] CNetworkState::_Initialize: NLM_CONNECTION_COST flags initalized to 0x00000001
    2012-06-19 06:11:46.569, _Info_                WS   [00003136:00003976] CNetworkState::_GetDataPlanStatus: MaxDownloadSize = -1, DataLimit = -1, Usage = -1
    2012-06-19 06:11:46.569, _Info_                WS   [00003136:00000816] WinStoreCache::DoQuery:  Provider 0: Cache miss for DiscoveryForLicensing.
    2012-06-19 06:11:46.569, _Info_                WS   [00003136:00000816] CSQRProvider::GetData:  Entering for selector DiscoveryForLicensing.
    2012-06-19 06:11:46.569, _Info_                WS   [00003136:00000816] CSQRProvider::GetData:  Leaving for selector DiscoveryForLicensing with result code 0x80004005.
    2012-06-19 06:11:46.569, _Error_               WS   [00003136:00000816] WinStoreCache::DoQuery: Provider 0 returned failure for DiscoveryForLicensing, hr=0x80004005
    2012-06-19 06:11:46.569, _Info_                WS   [00003136:00003388] CNetworkState::_Initialize: NLM_CONNECTION_COST flags initalized to 0x00000001
    2012-06-19 06:11:46.569, _Info_                WS   [00003136:00003388] CNetworkState::_GetDataPlanStatus: MaxDownloadSize = -1, DataLimit = -1, Usage = -1
    2012-06-19 06:11:46.585, _Info_                WS   [00003136:00000816] WinStoreCache::DoQuery:  Provider 0: Cache miss for DiscoveryForLicensing.
    2012-06-19 06:11:46.585, _Info_                WS   [00003136:00000816] CSQRProvider::GetData:  Entering for selector DiscoveryForLicensing.
    2012-06-19 06:11:46.585, _Info_                WS   [00003136:00000816] CSQRProvider::GetData:  Leaving for selector DiscoveryForLicensing with result code 0x80004005.
    2012-06-19 06:11:46.585, _Error_               WS   [00003136:00000816] WinStoreCache::DoQuery: Provider 0 returned failure for DiscoveryForLicensing, hr=0x80004005

    Thanks,

    Sandeep

    Tuesday, June 19, 2012 1:43 PM
  • I just met the same error and solved it by changing system time from 2012/10/2 to 2012/8/2(today).

    Check your system time and make sure it is a correct time.

    The Developer License is related to time.

    Thursday, August 02, 2012 2:13 AM
  • This works. Go to services and disable NlaSvc service. After doing it retry getting license and your should get prompt for live id.

    Mridul

    MindTree

    Tuesday, September 18, 2012 10:42 AM
  • download window 8 enterprise rtm 90 days and install vs 2012 for win 8. and after that request for licence from vs 2012 for 8...you will get it..

    the problem can be solved only after re installing windows 8 

    Sunday, September 23, 2012 6:57 PM
  • I am also on a Brand New Windows 8 that has the latest Microsoft Visual Studio Professional 2012 installed and everything seems to work okay.  Except every time I try to get the Developer License needed to build Metro apps I get the error box [We couldn't get your developers license for Windows 8]  Error 0x80004005: Unspecified error

    I am an Administrator to this machine also I can connect to the Internet.
    Also tried disabling "Network Location Awareness" services, however was not successfull to get through licenses process. Every time i get stucked with following error message box.

    I greatly appreciate any assistance.

    Here is the log:
    2012-09-26 10:58:24.788, _Info_                WS   [00004252:00005324] ***********************************************************************
    2012-09-26 10:58:24.788, _Info_                WS   [00004252:00005324] Process name: C:\Windows\system32\DllHost.exe
    2012-09-26 10:58:24.789, _Info_                WS   [00004252:00005324] User name: XYZLTD\11111
    2012-09-26 10:58:24.789, _Info_                WS   [00004252:00005324] Computer name: INDP003137.xyzltd.com
    2012-09-26 10:58:24.789, _Info_                WS   [00004252:00005324] Windows build: 9200.16384.x86fre.win8_rtm.120725-1247
    2012-09-26 10:58:24.789, _Info_                WS   [00004252:00005324] Client version: 615
    2012-09-26 10:58:24.898, _Info_                WS   [00004252:00001268] CNetworkState::_Initialize: NLM_CONNECTION_COST flags initalized to 0x00000001
    2012-09-26 10:58:24.898, _Info_                WS   [00004252:00001268] CNetworkState::_GetDataPlanStatus: MaxDownloadSize = -1, DataLimit = -1, Usage = -1
    2012-09-26 10:58:24.904, _Info_                WS   [00004252:00001268] Globals::InitializePhase1: user is opted in to BI
    2012-09-26 10:58:24.904, _Info_                WS   [00004252:00000724] WinStoreCache::DoQuery:  Provider 0: Cache miss for DiscoveryForLicensing.
    2012-09-26 10:58:24.904, _Info_                WS   [00004252:00000724] CSQRProvider::GetData:  Entering for selector DiscoveryForLicensing.
    2012-09-26 10:58:24.905, _Info_                WS   [00004252:00000724] CHttpRequest::_CreateConnectionAndSendRequest: Server: go.microsoft.com, URL /fwlink/?LinkID=254853&clcid=0x409
    2012-09-26 10:58:24.907, _Info_                WS   [00004252:00000724] CHttpConnectionCache::GetSession: New session handle 0x005EE650
    2012-09-26 10:58:24.907, _Info_                WS   [00004252:00000724] CHttpConnectionCache::OnNewConnection: Caching handle 0x005f8ee0 for go.microsoft.com:443
    2012-09-26 10:58:24.907, _Info_                WS   [00004252:00000724] CHttpRequest::_CreateConnectionAndSendRequest: hRequest 0x005f8fd0 is for GET /fwlink/?LinkID=254853&clcid=0x409
    2012-09-26 10:58:24.915, _Info_                WS   [00004252:00000724] Proxy list = 10.20.30.40:80, Proxy bypass = 10.*.*.*;<local>, Proxy access type = 3
    2012-09-26 10:58:24.915, _Info_                WS   [00004252:00000724] CHttpRequest::_SendRequest: Calling WinHttpSendRequest, hRequest 0x005f8fd0 attempt 1
    2012-09-26 10:58:27.279, _Info_                WS   [00004252:00000724] CHttpRequest::_SendRequest: WinHttpSendRequest hRequest 0x005f8fd0 (1) result: 0x00000000, proxy time: 16
    2012-09-26 10:58:27.279, _Info_                WS   [00004252:00000724] CHttpRequest::_ReceiveResponse: HttpStatusCode: 407
    2012-09-26 10:58:27.279, _Info_                WS   [00004252:00000724] CSQRProvider::GetData:  Leaving for selector DiscoveryForLicensing with result code 0x80004005.
    2012-09-26 10:58:27.279, _Warning_             WS   [00004252:00000724] WinStoreCache::DoQuery: Provider 0 returned failure for DiscoveryForLicensing, hr=0x80004005
    2012-09-26 10:58:27.298, _Info_                WS   [00004252:00001268] CHttpConnectionCache::CloseSession: Closing session handle 0x005EE650

    Wednesday, September 26, 2012 9:08 AM

  • I had the same problem for several days now and finally calles MSDN Developer Hotline. They pointed out to me, that the system date and time must be set to the correct local time. That finally solved the problem and I was now able to activate a developer license.

    If I understood it right, this is due to some SSL connection that failes if the time settings on both participants differ too much.


    Monday, November 05, 2012 11:12 AM
  • tried all of the above with no luck. Heres my error during the attempt to acquire

    Error
    OxCO3F1 014.

    Friday, November 16, 2012 9:12 AM
  • same problem here I try reinstall visual studio but no luck same error again!!!
    Saturday, November 17, 2012 11:36 AM
  • I Solved the problem... make a fresh install of your windows 8 then install visual studio 2012 express edition then get license to store then boom problem solve...
    Thursday, November 22, 2012 1:18 AM
  • same
    Friday, November 23, 2012 2:03 PM
  • mine is clean windows 8 install not an upgrade..but still having the problem
    Friday, November 23, 2012 2:04 PM
  • Hi Pankaj,

    I experienced the same problem.Can you specify if you are behind any proxy server or connecting directly to the internet. Actually there is a bug with windows 8 proxy settings. In some versions, the proxy settings have to be set via command prompt using netsh. If you are not behind any proxy server.

    use "netsh winhttp proxy reset" in cmd prompt

    Sunday, December 16, 2012 6:36 AM
  • Disable and stop Networks Location Aware services. If behind proxy make sure that's specified in the internet explorer connection settings.. Only struggled with this for 2 hours. Top marks so far for Mr Softy :@(

    Thursday, December 20, 2012 6:25 PM
  • Thanks Mridul!

    By disabling "Network Location Awareness (NLA)" service, it did the job for me.

    Shriram

    Tuesday, April 02, 2013 11:13 AM
  • Posting this here in case someone else has the same problem.

    My problem with being unable to connect to the development license server was because of Fiddler. Upon startup, Fiddler changes the WinINet proxy settings to use 127.0.0.1:8888.

    To get your development license, you either need to clear your proxy settings or start Fiddler.


    • Edited by LordCheeto Sunday, May 19, 2013 9:20 PM
    Sunday, May 19, 2013 9:20 PM