Contents tagged with Fix
The Entity Framework Code First DbContext doesn’t expose the interfaces to support updates when exposed via WCF Data Services. Attempting to save changes results in a fault with the message "The data source must implement IUpdatable or IDataServiceUpdateProvider to support updates." The fix is to alter your WCF Data Service to expose the DbContext's underlying ObjectContext and to disable proxy generation.
I'm a big fan of being productive by not losing work. I don't care how optimized your system and development tools are; if you have to do work to get back to where you were at a half hour ago, you're going backwards. I've previously written about using TimeSnapper as screen recorder so I can retrace my steps to anything that's happened on my screen in the past month. TimeSnapper continues to be one of the first tools I install on a new system.
Visual Studio 2008 has been out for over a week. I've upgraded three machines (two Vista, one XP) from Beta 2 to RTM, then upgraded a couple of projects. I've also been watching blog posts and listening in at the Twitter water-cooler to hear about other developers' experiences, problems, and recommendations as they go through the upgrade experience. So, here's my quick guide to a smooth upgrade to Visual Studio 2008.
SSRS 2005 is pretty slick, but the HTML is just terrible. Reports are displayed in an IFRAME that's deep in nested table land, and the IFRAME's height setting only works in IE. The end result is that reports don't display correctly in Firefox - the IFRAME's height defaults to a few hundred pixels, so you only see the top 2 inches of the report. However, they did the right thing by designating CSS classes for most of the important elements, so we can fix it by adding a min-height setting. I'm sure there are other issues with getting SSRS to display correctly in Firefox, and possibly other answers (let me hear them in the comments below), but this CSS fix at least lets the reports show.
VS.NET 2003 is about two years overdue for SP1. If you don't want to wait until June (or thereabouts), you can apply to download it early through connect.microsoft.com.
None of the normal hacks to disable the F-Lock key on Microsoft keyboards work if you're connected via USB. The XML file at the end of this post corrects it.
Some of the tools in the Firefox Web Developer Toolbar extension require that you install Firefox with the Developer's Tools option. If the "View Style Information" menu option is disabled this means the Dom Inspector is not installed.
1. Uninstall Firefox. Your user settings should be maintained - mine were.
2. Download Firefox
3. Do a Custom Install
4. Check the "Developer's Tools" checkbox
MS KB article 816944 has more info.
A likely suspect is Skype, since it will use port 80 if it's free. This is a tricky one, since IIS might work fine most of the time since it starts up before Skype, but if you stop and restart IIS Skype sees port 80 is free and snakes it. 08ffe2740 for you!
IIS-Resources has the answer but not enough Google Juice. Here's the fix:
Skype File-> Options -> Connection
Uncheck Use Port 80 as an alternative for incoming connections.
Restart default website.