August 2010 - Posts

1
Comments

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

Fix: LinkButton Doesn’t Looked Disabled in ASP.NET 4 by Ken Cox [MVP]

I couldn’t figure out why the LinkButtons in my former ASP.NET 3.5 site suddenly wouldn’t look disabled even though I was setting lnkbtn.Enabled = False   The quick fix was to check the web.config file to ensure a new ASP.NET 4 setting: <pages ...
16
Comments

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

Fix: The type or namespace name 'EntityDataSource' does not exist by Ken Cox [MVP]

Today’s stupid mistake had me going in circles in my Web application project. The error message was: The type or namespace name 'EntityDataSource' does not exist… As the rest of the error message suggests, I must be missing an assembly reference. Nope...
1
Comments

Monitor Your EF4 Queries with Entity Framework Profiler by Ken Cox [MVP]

Entity Framework is wonderful for non-SQL developers like me. I can implement data access code in VB-like object syntax or with drag’n’drop datasource controls and then let EF turn it into T-SQL. For the most part, I’m happy to be insulated from the SQL...
2
Comments

Unhelpful ASP.NET Error Message: ‘Retrieve the LoaderExceptions property for more information’ by Ken Cox [MVP]

Since I upgraded my file-based web site from ASP.NET 3.5 to 4.0 (including Entity Framework 4), I’ve been getting the following error message far too often: Unable to load one or more of the requested types. Here’s the scenario: I FTP a bunch of new files...
1
Comments

Visual Studio Lightswitch - Welcome Advanced Amateurs by Ken Cox [MVP]

There are a lot of people in business who are wizards with tools like Excel, even though their primary job isn’t software development. Sometimes their apps become essential to the business process. Lightswitch , announced at VSLive!, will appeal to advanced...
More Posts