Annoyances
Windows 8: How to get it working
(Update 1) Note: This relates to the Windows 8 Developer Preview, your mileage may vary and this may change.
This post is here to help you, and me, by sharing solutions that I am finding while trying to get Windows 8 running for a professional developer. I am using a HP 8510w laptop so some things maybe specific. This will be updated randomly and will be more like a live blog than a polished post.
(Update 1) As I update this I will prefix new content with (Update #) where # is the update number. The latest ones will be in bold.
Problems & Solutions
Graphics
I have a NVidia Quatro graphics card and to get it working correctly with Win8 (rather than the basic graphic driver) I needed to use the BETA driver from: Beta and Older Driver Versions – I used the Verde 285.27 Driver and that worked just fine, everything else was broken in one way or another.
.NET 3.5
A bunch of apps use .NET 3.5 or earlier so I needed that. To install it you must install it via the Turn Windows Features On/Off option in the control panel (it’s under Programs). I had a BUNCH of issues (error 0x800F0906) getting it to work as it needs to download it which I think are proxy related. Once I downloaded via 3g it finally came down (took an hour
).
(UPDATE 2) Tried this via a transparent proxy and it worked too. Seems it is related to proxy servers that require basic authentication.
(UPDATE 4) Finally found a solution
Thanks to Zayd Kara for helping me with this:
Copy the SXS folder from the Windows 8 ISO to the C:\Temp folder.
Then run: dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:\temp\sxs /LimitAccess
Metro Style Apps Don’t Run
(Update 1) Found the error message in the Event Log (Application and Services Logs –> Microsoft –> Windows –> WwaHost –> Admin)
Windows Web Application Host has encountered an unexpected exception. The error is number 0x8007000E.
(UPDATE 2) One of the best new features in Windows 8 is the ability to reset your machine without affecting your files. I did this and this solved all my issues ![]()
(UPDATE 4) The cause of this is the DLink modem software for my 3G modem. It is screwing up com. No idea why, and no way around it. That’ll teach me to use a 3g modem that doesn’t work with the natively Windows 7/8 mobile internet support.
Windows Phone Developer Tools
The 7.0 RTM release will NOT install at all. The 7.1 RC will install so you may need to get that one.
YOU MUST install .NET 3.5 first (see above). Once installed I didn’t have any emulator options and trying to run it would cause: HRESULT: 0x89721800
I resolved this by deleting “%LOCALAPPDATA%\Microsoft\Phone Tools\CoreCon\10.0” (source for that App Hub Forums)
The emulator option appeared but now when I try to run it, it crashes Windows 8 with a BSOD related to vmm.sys – no solution yet.
(UPDATE 2) I have tried everything and nothing seems to help. Resorted to using a Windows 7 boot from VHD to be able to run these tools ![]()
Microsoft Security Essentials
It would not install because of a compatibility issue
Downloaded it again from the website, which doesn’t tell you version numbers and the file size looked the same, but this newer one did work fine.
(UPDATE 2) Paul Adare pointed out on the forums that this is included now out of the box, so not needed
Switch to Live ID
Not working, error 0xD00000072 – suspecting proxy again.
Install of Visual Studio 2010 Offline Documentation
Completely failed, no idea why.
D-Link 3G Modem
It could not find the drivers, so I had to go to device manager, select the unknown devices –> Right click –> Update Driver –> Browse my computer –> C:\Program Files (x86)\D-Link Connection Manager\drivers\64bit\WIN7
Then it found and installed the drivers for the 3G modem
(Update 1) Visual Studio 11 Express for Windows Developer Preview
Cannot build or run Metro Style apps.
Designer is failing with Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE))
And running them fails with Unable to activate Windows Tailored application
I suspect this is related to the Metro app issue above.
(Update 1) Internet Explorer 10
Two interesting issues, one browsing our intranet which runs on HTTPS any content from HTTP fails to load and there is NO option to allow it.
Second issue is in the IE desktop mode there is no tooltips
However the solution is to run the Metro Style Internet Explorer, and it shows tooltips… and they are LOVELY:
(Update 3) SharePoint
I am referring to connecting to SharePoint server using IE 10, in short – it is horrid for anything other than basic browsing. I have installed Chrome to get around this.
(Update 3) Windows Server AppFabric
I needed Windows Server AppFabric installed so I could do development, however AppFabric does not install on Windows 8 ![]()
To work around this I waited for the error to appear, then browsed to the extracted files (the moment you click ok on the error it cleans itself up) and used the expand command to extract the msu file which you can find in the packages folder.
That gets me a cab file which I extract again and that produces another 1 996 files. In there I used the file search to find the assemblies I needed to get the code to build, won’t run but at least I can code ![]()
(Update 4) HP LaserJet 4250 Printer
I have this printer on the network but it was horrid trying to get Windows to see and work with it. The trick was to download the actual PCL6 drivers from the HP website. This has all the options to set it up and it works fine now ![]()
Things that just worked
For balance here are application that have been installed with no issue.
- Visual Studio 2010 + SP1
- Firefox 6
- Chrome (what ever the latest is)
- Windows Live Writer
- TweetDeck
- Office 2010 + SP 1
- (Update 1) VLC
- (Update 3) Pull
There is also some more info in the comments!
Windows Phone 7 Submission: Where are my stats!?!
As I have been submitting a number of Windows Phone 7 apps and in the market place is a nice dashboard which shows downloads, crashes etc…
The problem is that I have been very frustrated that my stats for my applications aren’t there!
In the screenshot my cricket run rate tool is missing!
So I contacted the marketplace support, who are BRILLIANT, to see if they could help and they told me it is BY DESIGN
Here is what they sent me:
The details you are trying to view in App Hub reflect a delay, by design. Newly published apps will not appear on the download report for 10 days, and of that data there will be a 6 day lag.
I don’t understand the reason for this but at least there is a cause and I just need to be patient and eventually my states will appear ![]()
Thankfully I can augment these stats with Rudi Grobler’s excellent Keep An Eye app which lets me from my Windows Phone see the status of my apps!
App.Config Transformations: The community shines where Microsoft drops the ball
Last year May, I spoke at DevDays Durban about what is new in ASP.NET 4? One of the highlights of that talk is a feature called Web.Config transforms. In short you have a base web.config and then a file per compiler target (i.e. RELEASE, DEBUG). These extra files contain rules on how to transform your web.config when it is published.
In a way of an example you have might your web.config to use your local SQL Server when in Visual Studio, but when you publish a DEBUG build to testing it changes the config to use the test SQL Server. Or when you publish to production it turns off a bunch of logging and shows friendly error messages.
There is TWO caveats in this process:
- ONLY works for ASP.NET* projects as this is something the ASP.NET team built into their publishing tool support.
- ONLY works for publish, if you have an ASP.NET* project and hit F5, nothing happens
*ASP.NET = ASP.NET Core, and thus systems that build on top of it (WebForms, MVC & WebPages) all get it.
This is something we need in EVERY project type and we need with F5. Thankfully some bright people did just that for us, with the VS add-in Slow Cheetah.
So now you get the full experience on any project type, PLUS you get a brilliant feature missing in the ASP.NET one – PREVIEW. You can see what the resulting config will look like!
Game development in South Africa and dealing with the Film and Publications Board
If you walk into any store to buy a game or movie you will find a little blue triangle sticker which contains the age restriction from the Film and Publications Board who review and rate content.
Since I created a game recently I decided to see what the process is for classification of a game is and learnt some very interesting things for developers.
Put simply only games/films that are sold or hired require to be classified – so if you are developing a game/films that will be available for FREE then you do not require classification! Below is the email from the head of the classification unit confirming that!
GREAT NEWS for hobbyist developers!
If you do plan to sell your game then you need to complete the forms on the website (game submission form), provide a disc with screenshots and videos of your game, a game synopsis and pay the registration fee (currently R1 508.64) and then wait for the classification.
Microsoft have confirmed & I have tested that the forced requirement for the FPB certification in the marketplace no longer exists. You can submit a certification but you are not forced to. Only downside at the moment is Window Phone 7 – when you submit a game for the South African market regardless of price they require the certification which is incorrect. I have submitted a request to Microsoft for details on this and will update you as soon as I have any information.
Are you using the .NET name correctly & other interesting brand info
Not talking about the technology but various identifiers in the .NET world are often abused. I know this is SUPER pedantic of me, but it is something I come across watching lots of presentations. Getting this right shows a level of polish and knowledge, and getting it wrong shows that either you not paying attention, don’t know what you are talking about or just don’t care.
So here are some brand/naming problems I see:
- .NET – I often see people use .net or .Net, the correct capitalisation is ALL caps. There is NO excuse for this one, just do it right.
- .NET Framework 4 – With .NET 4, the marketing people dropped the .0 like we had with 2.0 or 3.5, so stop saying four-oh, it’s just 4.
- Windows Phone 7 – It is Windows Phone 7, not Windows Mobile 7 (no such product) or Windows 7 Phone.
- Microsoft Visual C♯ 2010 – I make this one often and call it C♯ 4, it is actually Microsoft Visual C♯ 2010.
- Should you use ♯ or # with C♯ – either is acceptable. However Microsoft recommends the “Music Sharp Sign” for marketing material.
- Microsoft Visual Studio 2010 Ultimate – That is the full product name. The issue I see often is people putting .NET in there, ala Microsoft Visual Studio .NET 2010. There is NO .NET in the name. There was a release in 2002 called Visual Studio .NET, but that was a specific release and is not the product name.
- Microsoft SharePoint Server 2010 – A lot of people are using the term MOSS to describe SharePoint Server. It is not MOSS in 2010. In 2007 it was Microsoft Office SharePoint Server, but the Office part was dropped for the 2010 release and the MOSS acronym along with it.
- Microsoft SharePoint 2010 Foundation – Like MOSS above people love to use WSS for SharePoint Foundation. It’s not called that in 2010…. there isn’t even a W in the whole name now.
- Microsoft Visual Studio 2010 Documentation – There is a very bad habit (I do it too) to call this MSDN. MSDN is not the help that is install on your machine with Visual Studio! MSDN is a website Microsoft runs for developers which has help on it and also a subscription service where you can get Microsoft software legally and cheap for development purposes. So while it is two things on the Internet, it is NOT on your machine.
- MacLean – Thought I would just throw this one in, it’s my surname. It has a ‘a’ in the second position and a capital L. It is not Mclean, McLean, Maclean or ‘Hey you, stop kicking my dog…’

Time to move from YallaApps
Stormtrooper: Let me see your identification.
Obi-Wan: [with a small wave of his hand] You don't need to see his identification.
Stormtrooper: We don't need to see his identification.
Obi-Wan:These aren't the droids you're looking for.
Stormtrooper:These aren't the droids we're looking for.
Obi-Wan: He can go about his business.
Stormtrooper: You can go about your business.
Obi-Wan: Move along.
Stormtrooper: Move along... move along.
This memorable quote above is exactly what is happening at the moment, South African Windows Phone 7 developers are being told to move along away from YallaApps, which has helped us to the official Microsoft AppHub, as it is now available here.
Should you do it though is an important question? The answer – YES!
YallaApps is like when Luke decided to leave Tatooine, there is nothing there for him. Yalla has even confirmed this to me:
What about the money you paid to Yalla (or your free $100 credit) – well if you migrate before 20 August 2011 you will be refunded
SO GO GO GO!
Last and importantly, how do you do this?
Please note that there is a deadline to complete this process by August 2011 15 September 2011 (edit: this date was extended, and thus the update! More details are the DPE blog) in order to be eligible for a refund.
- Go to http://create.msdn.com. Click on ‘Join to submit your apps & games’ on the left. (You must be a member of a Windows Phone Marketplace supported country, as indicated by your country code – list provided in FAQ).
- Click ‘join now’ and sign in using your Windows Live ID.
- In the ‘personal details’ step, provide the same email address you used when registering with Yalla Apps.
- In the ‘my profile’ step, choose a display picture and enter a Gamertag. This is required to enable your account for Xbox LIVE development.
- In the remaining steps, pay the registration fee using a credit card from one of the Windows Phone Marketplace supported countries (list provided in FAQ). Only the 1st year’s registration fee will be eligible for reimbursement.
- Login to your Yalla Apps account and go to http://www.yallaapps.com/dashboard/apphubmigration-refund. Fill the form and tick the option ‘I have created a new AppHub account and wish to cancel my Yalla Apps account’, and click ‘Update’.
- Remove all your Apps from Yalla Apps and re-publish them normally to AppHub.
- In case you had Paid Apps on Yalla Apps, please send an email to support@yallaapps.com to notify Yalla Apps once you have removed your Apps so that your final payout can be processed.
- You will receive the final payout of all amounts due to you from Paid App sales from Yalla Apps within 2 months after you have deleted all your Apps from Yalla Apps. Your payout amount must exceed US $25 in order for the payment to be processed. The payout will be conducted via PayPal or MoneyBookers, according to the payout details you have specified on your user profile. In case of any questions regarding pending payouts, kindly send an email to support@yallaapps.com .
- Within 2 months of registering on the App Hub, your registration fee will be reversed on your credit card, if you correctly followed all the instructions. You can review your credit card charges at the Microsoft Billing and Account Management website by following the instructions here.
YallaApps - Delays in submission!
Updated: This has been resolved, see comments below for details from YallaApps.
YallaApps, the company that submit Windows Phone Apps in parts of the world Microsoft forgets, has a BIG problem at the moment and to make things worse they are not talking about it publically!
In short something is borked between YallaApps and App Hub (the Microsoft submission side) and as such there is a hold on all submissions! So the very purpose for it has stopped, and there is not a mention on the blog or site about this. Very poorly done Yalla!
How did I find out? I emailed them because after 5 days my app hadn’t been submitted! Below is their response.
Pepper: Issue causing crashes
Update 6 June 2011 15h30 (GMT +0200): All is working now, post left for archival purposes.
Pepper, everyone's favourite Visual Studio add-in for synchronisation of Visual Studio settings, is currently DOWN
and trying to use Pepper will cause it to crash Visual Studio ![]()
Something has gone seriously wrong in the SQL Azure database that powers it and I’ve logged a call with Microsoft to have it investigated and repaired.
As soon as I have any updates, I will update this page. Thanks for your patience.
Updates:
Update 6 June 2011 13h45 (GMT +0200): Testing is showing the database issue is resolved however I am awaiting confirmation from Microsoft Support before I sound the all clear.
Update 6 June 2011 15h30 (GMT +0200): All clear. The cause was the database disappeared! Seriously, just gone. Couldn't see it in SQL management studio or in the Azure management portal and the web services Pepper uses couldn't talk to it either. During the Microsoft investigation the database reappeared and unfortunately support has been unable to identify what happened (or they not telling me... but I'm paranoid).
