Sql Exception With .net 4 & EF
You can try setting the ObjectContext.CommandTimeout
property:
Gets or sets the timeout value, in seconds, for all object context operations. A null value indicates that the default value of the underlying provider will be used.