Jeff and .NET

The .NET musings of Jeff Putz

Sponsors

News

My Sites

Archives

Worst exception message ever

I'd like to nominate the Entity Framework team for writing the absolute worse exception message ever.

"System.Data.Entity.Edm.EdmAssociationEnd: : Multiplicity is not valid in Role 'User_Profile_Source' in relationship 'User_Profile'. Because the Dependent Role refers to the key properties, the upper bound of the multiplicity of the Dependent Role must be '1'."

Comments

RichardD said:

For an exception message aimed at developers, that's not too bad. It tells you where to look (the User_Profile relationship), and it tells you what's wrong (you've tried to create a one-to-many relationship when you meant to create a one-to-one relationship).

There are much worse error messages out there!

thedailywtf.com/.../Error_0x27_d.aspx

# July 18, 2012 1:48 PM

jose said:

The message is ok, however you suck writing posts

# July 19, 2012 7:44 PM

Jeff said:

At least I've got the nuts to put my name and a URL on my opinion.

# July 19, 2012 8:20 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)