Click here to Skip to main content
15,908,455 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi every one,

I am developing a small project in asp.net using entity frame work db first approach In three-Tier with each project for every tier in one solution.
DAL----One Project,
BAL-----One Project,
Presentation---One Project

All Under main project......

I have added a edmx file in DAL layer, and created the following connection string in Presentation Layer's web configure.


XML
<add name="EmployeeDb" connectionstring="metadata=res://*/DbEdmxFile.EmployeeProject.csdl|res://*/DbEdmxFile.EmployeeProject.ssdl|res://*/DbEdmxFile.EmployeeProject.msl;provider=System.Data.SqlClient;provider connection string="data source=ASTORIA-LT10\SQLEXPRESS;initial catalog=Employee;user id=sa;password=pass123;MultipleActiveResultSets=True;App=EntityFramework"" providername="System.Data.EntityClient" />


The project is running fine but when I am getting some employee records from db the following exception is coming "Unable To Find Meta data".

Please find the solution
Posted
Updated 5-May-14 20:25pm
v3

1 solution

Go through the link:
EF metadata issue
unable-to-load-the-specified-metadata

Hope it helps :)
 
Share this answer
 
v2
Comments
santoshkumar413 6-May-14 2:39am    
Hi, thanks its working now
Sanket Saxena 6-May-14 2:48am    
great...n welcome :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900