Browse by Tags

All Tags » ASP.NET » .NET 4.0 (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....

We Need a Capped Plan for MSDN Azure Benefits by Ken Cox [MVP]

Like many developers, I’d like to play more with Windows Azure.  Microsoft recently improved the MSDN Azure benefits – extending them to MSDN Professional subscribers. The trouble is, the onus is on the subscriber to avoid hefty charges caused by...

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=...

Fix: CSS Problems in IE 8 With Over 31 StyleSheets by Ken Cox [MVP]

In my latest Web application, I went crazy trying to find out why a popup/overlay window style was acting up in IE 8 but was fine in the latest version of FireFox. After too many hours of frustration and dead ends, I took the issue to my friends at Telerik...

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...

Help A Hacker: Give ‘Em The Windows Source Code by Ken Cox [MVP]

The announcement of another Windows megapatch reminded me of a WikiLeaks story about Microsoft Windows that hasn’t attracted much attention. Alarmingly, we learn that the hackers have the Windows source code to study and test for vulnerabilities. Chinese...

Fix: The version of SQL Server in use does not support datatype 'datetime2'. by Ken Cox [MVP]

This message appeared today after posting a new build to our ASP.NET 4 web app: The version of SQL Server in use does not support datatype 'datetime2'. The DBA doesn’t use datetime2 because it’s new in SQL Server 2008 and the site runs on 2005. ...

Fix: The argument types 'Edm.Guid' and 'Edm.String' are incompatible for this operation. by Ken Cox [MVP]

This one had me going for a while until I found the tip in Julie Lerman’s essential book,  Programming Entity Framework, 2nd Edition . In my ASP.NET 4 project, I create an Entity SQL query to look up a GUID. I cast the GUID as a string and wrap it...

Get the ASP.NET Patch Now by Ken Cox [MVP]

Hey folks, the permanent fix has been released for the ASP.NET vulnerability. Download and install your copy now before the bad guys mess with your Web server and its sites! http://support.microsoft.com/kb/2416472
More Posts Next page »