Browse by Tags

All Tags » Community News » .NET (RSS)

Fix: 'Unable to load one or more of the requested types' Errors by Ken Cox [MVP]

A long time ago, I reported on an intermittent ‘Could not load file or assembly‘ bug where ASP.NET 4 was encountering a bizarre error on start-up in System.Reflection.RuntimeModule.GetTypes(RuntimeModule module). I neglected to post a follow-up here....

EULAs are Fun. Mock Them Mercilessly! by Ken Cox [MVP]

In my previous post about the new, free Telerik JustDecompile beta , I made fun of the license terms that specifically forbade you from decompiling their decompiler. As you might expect, this was a copy and paste oversight and has been fixed in the latest...

Fix: ASP.NET 4 Page on IIS 7 Misbehaves When Browser URL Doesn’t Include Default Page by Ken Cox [MVP]

After deploying an ASP.NET 4 application to the production server, data submitted in a form on the default page went nowhere. I discovered that the page worked normally if I included the name of the default document as in http://mydomain.com/default.aspx...

Extracting the Date from a DateTime in Entity Framework 4 and LINQ by Ken Cox [MVP]

In my current ASP.NET 4 project, I’m displaying dates in a GridDateTimeColumn of Telerik’s ASP.NET Radgrid control. I don’t care about the time stuff, so my DataFormatString shows only the date bits: <telerik:GridDateTimeColumn FilterControlWidth=...

Entity Framework Code-First to Provide Replacement for ASP.NET Profile Provider by Ken Cox [MVP]

A while back, I coordinated a project to add support for the SQL Table Profile Provider in ASP.NET 4 Web Applications.  We urged Microsoft to improve ASP.NET’s built-in Profile support so our workaround wouldn’t be necessary. Instead, Microsoft plans...

I’m a Windows Phone 7 Game Publisher! by Ken Cox [MVP]

Windows Phone 7 isn’t widely available yet, but you can already buy quite a few apps for it. I’m proud to say that my little game, Classic Hits , has just been published in the Windows Phone 7 Marketplace. Although I don’t even own a Windows Phone (fellow...

Windows Phone 7 User Group in Greater Toronto by Ken Cox [MVP]

With my own first Windows Phone 7 app ready for the marketplace, I receive word of the first meeting of the Windows Phone 7 Toronto User Group. It’s on November 16th, 6:30 pm at the Microsoft Canada headquarters in Mississauga. I’m planning to drive down...

Windows Phone 7 and Simulation Sickness by Ken Cox [MVP]

From the reviews - and my experience developing a tiny app on the emulator - Windows Phone 7 is looking good as another .NET platform. Unfortunately, the touted WP7 interface exacerbates simulation (motion) sickness. It’s like (but not nearly as bad as...

Stupid web.config mistake: Sections must only appear once per config file by Ken Cox [MVP]

Today’s stupid mistake comes to you via the web.config file in an ASP.NET 4 Web application project. At runtime, when navigating to default.aspx, ASP.NET choked with this error message: Parser Error Message: Sections must only appear once per config file...

Fed Up With System.Data.Metadata.Edm.ObjectItemAssemblyLoader by Ken Cox [MVP]

I’m fed up with the random errors I’m getting on my ASP.NET 4, Entity Framework 4 web application lately. It seems to stem from something that System.Data.Metadata.Edm is doing with a call to System.Reflection.Assembly.GetTypes(). I keep getting the error...
More Posts Next page »