DbProviderFactories section can only appear once per config file
Recently I came across this error while doing some housekeeping and updating some old websites to .Net 4.0: HttpException: Failed to generate code. The ‘DbProviderFactories’ section can only appear once per config file. The problem is with the machine.config file in the .Net 4.0 folder on the hosting server. For some reason, an additional <DbProviderFactories /> element is present and needs to be removed. On the affected server, open C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config in your favorite editor (Also might want to check C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config)…
Custom App Preferences in Windows Phone 8 C#
I wanted to be able to determine the volume state of the Windows Phone 8 device, and searching around on the internet proved useless, not to mention the fact there’s a couple of settings in the SDK that look like they might be what I’m looking for, but documentation and blogs on Windows 7.1 say it’s not possible, so I’m not getting my hopes up. If anyone knows of a way to determine if a Windows Phone 8 device is…
Windows 8 Enterprise error code: 0x800F0906 “Windows couldn’t connect to the Internet to download necessary files”
I fought with this one for nearly 8 hours today, attempting to install SSMS from SQL 2012. This requires that the .Net Framework 3.5 and 2.0 be activated in Windows Features. Sure, there’s a checkbox that you “should” be able to check and everything works fine. Well, not for me. I check it, click OK, it tells me it needs to download files from Windows Update, I say OK, and it throws this error. Basic troubleshooting courtesy of Google says…
Post BUILD videos now available online
I just returned from BUILD in Redmond, WA this past week, and I can safely say this was one of the best developer events I have ever attended! Great content, knowledgeable speakers, an ample supply of relevant vendors, all while networking with other developers from all over the globe. Definitely worth the trip! You can watch all videos on Channel 9 here, or by visiting http://buildwindows.com. I’m planning on watching the ones I couldn’t attend due to watching other fantastic…
Windows 8 on HP Pavilion dv7 laptop
I’m going to keep track of installs and changes here, in an effort to prepare for the Windows 8 public release to help others support their installs on their machines. In my case, I’m installing Windows 8 on a VHD on the local HD, then booting to that VHD instead of my core OS. This way I’m allocating 100% of my system hardware exclusively to that VHD as a partition. Machine Specifications HP Pavilion dv7 laptop AMD Phenom II P860…