Contents tagged with asp.net 4
-
Explained: EF 6 and “Could not determine storage version; a valid storage connection or a version hint is required.”
I have a legacy ASP.NET 3.5 web site that I’ve upgraded to a .NET 4 web application. At the same time, I upgraded to Entity Framework 6.
-
Assemblies Go Missing in MVC 2 Project!
Sometimes, my MVC 2 project fails during development because an assembly has disappeared from the /bin folder.
-
Fix: 'Unable to load one or more of the requested types' Errors
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.
-
Fix: ASP.NET 4 Page on IIS 7 Misbehaves When Browser URL Doesn’t Include Default Page
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. When I navigated to the site as http://mydomain.com the postback misbehaved to the extent that there was no SQL connection – as if it didn’t even try.
-
Extracting the Date from a DateTime in Entity Framework 4 and LINQ
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:
-
Entity Framework Code-First to Provide Replacement for ASP.NET Profile Provider
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 to provide a replacement for ASP.NET Profile in a forthcoming release.
-
Fix: The argument types 'Edm.Guid' and 'Edm.String' are incompatible for this operation.
This one had me going for a while until I found the tip in Julie Lerman’s essential book, Programming Entity Framework, 2nd Edition.
-
Using the SQL Table Profile Provider in ASP.NET 4 Web Applications (C# & VB)
This post and accompanying projects demonstrate how to use Microsoft's SQL Table Profile Provider with an ASP.NET Web application.
-
Stupid web.config mistake: Sections must only appear once per config file
Today’s stupid mistake comes to you via the web.config file in an ASP.NET 4 Web application project.
-
An ASP.NET 4 Web Application Using the SqlTableProfileProvider – Doable or a Time Sink?
Update: Imar Spaanjaars (MVP) came up with the solution and I did the documentation and packaging. Go for it!