views:

11

answers:

0

I am using a DomainService with .NET4, EF4. It is working from my local SQL Server, when I change the connection string to the remote SQL server which has the same schema and data in it, shallow queries run normally.

When a query which contains .Include("child_table_name") in the ObjectQuery and [IncludeAttribute] on the entity property definition executes, it gives the following error.

Caused by: Load operation failed for query 'GetRap_PackagingWithDetail'. The remote server returned an error: NotFound.

I have identity impersonation set to FALSE in web.config.