Click here to Skip to main content
16,022,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Help Im getting that error in my machine...

Im following the steps of tailspin spyworks, im connecting to the data sorce and
the error
“Unable to load the specified metadata resource”

http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-3[^]

this is my connection string in web config

XML
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />

   <add name="CommerceEntities" connectionString="metadata=res://*/App_Code.EDM_Commerce.csdl|res://*/App_Code.EDM_Commerce.ssdl|res://*/App_Code.EDM_Commerce.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Commerce.mdf;Integrated Security=True;User Instance=True;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient" />
Posted
Comments
Kornfeld Eliyahu Peter 23-Jan-14 14:44pm    
Can you add more details (Improve question) about the error - like trace info?
Member 10533469 23-Jan-14 23:29pm    
it prompt a message

The metadata in connection string cannot be loaded
Consider rebuilding the web projects to build assemblies that may contain metadata
The following errors occured:

Unable to load the specified metadata resource
Kornfeld Eliyahu Peter 24-Jan-14 0:41am    
There is some trace info what kind of metadata it would be, if found?
Member 10533469 24-Jan-14 0:56am    
An Entity Data Model,

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