DLAtkinson
asked on
EntitySet 'WBF_DataEntities' that was specified in page markup does not exist on the Container
Hi,
I am trying to connect an EntityDataSource to an Entity Framework Model. When I enter "WBF_DataEntities" for the DefaultContainerName I get the error
EntitySet 'WBF_DataEntities' that was specified in page markup does not exist on the Container
I am fairly sure, although I certainly could be wrong, the the container name is WBF_DataEntities. The namespace for the data model is WBF_DataModel. I tried using this but I get the error
The specified default EntityContainer name 'WBF_DataModel' could not be found in the mapping and metadata information.
Parameter name: defaultContainerName
I will be happy to upload any code that you need to look at. I just don't know exactly what someone needs to see to try to help me with this problem. I have spent the last three hours researching on the Internet and have not been able to find a solution.
Thanks,
Doug
I am trying to connect an EntityDataSource to an Entity Framework Model. When I enter "WBF_DataEntities" for the DefaultContainerName I get the error
EntitySet 'WBF_DataEntities' that was specified in page markup does not exist on the Container
I am fairly sure, although I certainly could be wrong, the the container name is WBF_DataEntities. The namespace for the data model is WBF_DataModel. I tried using this but I get the error
The specified default EntityContainer name 'WBF_DataModel' could not be found in the mapping and metadata information.
Parameter name: defaultContainerName
I will be happy to upload any code that you need to look at. I just don't know exactly what someone needs to see to try to help me with this problem. I have spent the last three hours researching on the Internet and have not been able to find a solution.
Thanks,
Doug
ASKER
No, hadn't tried WBF_DataEntity, so tried it and received
The specified default EntityContainer name 'WBF_DataEntity' could not be found in the mapping and metadata information.
Parameter name: defaultContainerName
Per your request I have attached the .edmx file (I had to add a .txt extension to it becuase EE would not let me upload it with the edmx extension) and problematic page along with a couple of others just in case.
Thanks,
Doug
Whats-New.aspx
Whats-New.aspx.cs
WBFModel.Designer.cs
WBFModel.edmx.txt
The specified default EntityContainer name 'WBF_DataEntity' could not be found in the mapping and metadata information.
Parameter name: defaultContainerName
Per your request I have attached the .edmx file (I had to add a .txt extension to it becuase EE would not let me upload it with the edmx extension) and problematic page along with a couple of others just in case.
Thanks,
Doug
Whats-New.aspx
Whats-New.aspx.cs
WBFModel.Designer.cs
WBFModel.edmx.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That did it. Thanks.
send us your .edmx file and the problematic page markup so we can help you out.