Browsed by
Year: 2013

Connecting a SharePoint 2010 List to external database table

Connecting a SharePoint 2010 List to external database table

I’ve done this plenty of times and never documented it, and one of these times I’m going to be working on something else, have to build one real quick, and forget how I did it, so i’m writing it down. You can have a SharePoint 2010 List that connects to an external database table and perform CRUD operations on it, and it’s not that difficult to do. There’s generally speaking 3 specific steps required. First, decide if you want to…

Read More Read More

Surface RT Metro apps won’t launch

Surface RT Metro apps won’t launch

Just the other day I applied the most recent mandatory firmware update to my Surface RT, and let it restart. I thought nothing of it until this morning when I tried launching my usual morning apps (Bible, check metrics on my apps, etc), and they wouldn’t launch. The only apps that would launch were Desktop, IE and my app I developed that’s already in the store. My initial thought was to run Refresh, but it wouldn’t launch since it’s part…

Read More Read More

DbProviderFactories section can only appear once per config file

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)…

Read More Read More

Filenames and WebDAV in SharePoint 2010

Filenames and WebDAV in SharePoint 2010

This is more of a reminder to myself than anything, and you may already be aware of this, but in case this issue is new here’s what helped me: While taking our enterprise in a paperless direction, one department was having trouble opening a document library using the “Open in Windows Explorer” function every time they saved a certain file to it. For the longest time I couldn’t find any pattern to the behavior, and assumed it was something to…

Read More Read More

Custom App Preferences in Windows Phone 8 C#

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…

Read More Read More