Browse by Tags

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

Telerik’s Free Decompiler: Just Don’t Decompile It!* by Ken Cox [MVP]

Telerik has released a beta version of its new ‘always free’ .NET decompiler, JustDecompile . These guys really know their marketing and community support. (Redgate recently disappointed the community by moving the popular .NET Reflector to a $35 paid...

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

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

Standout Component Vendor: Telerik by Ken Cox [MVP]

I guess we all like it when others validate our opinions. I was part of Visual Studio Magazine’s “Editor’s Choice” panel this year. My choice for Top Component Vendor was Telerik and I added this: “Telerik produces a broad range of highly functional and...

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

An ASP.NET 4 Web Application Using the SqlTableProfileProvider – Doable or a Time Sink? by Ken Cox [MVP]

Update: Imar Spaanjaars (MVP) came up with the solution and I did the documentation and packaging . Go for it! Have hundreds of ASP.NET developers been wasting dozens of hours each on something that can’t be made to work in ASP.NET? This is too weird...
More Posts Next page »