so, in Expression Blend, and only there, during design time i get an error:
"System.InvalidOperationException was unhandled by user code
Could not find default endpoint element that references contract 'GBAUploadService.IGBAUploadService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element
matching this contract could be found in the client element."
this doesn't happen in Visual Studio 2010, and of course the service itself works flawlessly.
the code triggering the exception is part of a ObjectDataProvider, which consumes a web service in code-behind:
public class FileGroupsDataProvider
public BaseUploadJob GetFileGroups()
if (Assembly.GetEntryAssembly() != null)
using (GBAUploadServiceClient gbaUploadServiceClient = new GBAUploadServiceClient())
BaseUploadJob baseUploadJobs = gbaUploadServiceClient.GetFileGroups();
View Complete Post