Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8174241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:24:08+00:00 2026-06-06T22:24:08+00:00

Scenario first :- I’m using Entity Framework to do some queries, to build my

  • 0

Scenario first :-

I’m using Entity Framework to do some queries, to build my Models I’m trying DevArt Entity Developer inside a MVC3 project. I build the app upload to SVN and then a Continuous Integration server picks it up (Bamboo) builds and deploys using MSDeploy.

However for some reason there appears to be a problem with the deployment since MSDeploy requires to know about files in advance before it will deploy them, it means that the '.csdl', '.ssdl', or '.msl' files aren’t deployed to the remote machine.

System.Data.MetadataException: Unable to load the specified metadata resource.

Now if I set DevArt from EmbedInOutputAssembly to CopyToOutputDirectory the web.config file changes form

<add name="jcps01EntitiesConnectionString" connectionString="metadata=res://*/Models.jcps01.csdl|res://*/Models.jcps01.ssdl|res://*/Models.jcps01.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=XXXXX;Initial Catalog=jcps01;Integrated Security=False;Persist Security Info=True;User ID=XXXXX;Password=XXXXX&quot;"

to

<add name="jcps01EntitiesConnectionString" connectionString="metadata=~/bin/Models/jcps01.csdl|~/bin/Models/jcps01.ssdl|~/bin/Models/jcps01.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=XXXXX;Initial Catalog=jcps01;Integrated Security=False;Persist Security Info=True;User ID=XXXXX;Password=XXXXX&quot;"
providerName="System.Data.EntityClient" />

However this comes with its own set of problems, the first is that the application doesn’t create a Models folder, it just makes the file /bin/Models.jcps01.msl and of course since the file isn’t included in the project/solution MSDeploy doesn’t deploy it 😐

Has anyone ever had any success using MSDeploy with DevArt before and if so did you have to make any changes in your solution to files to copy to output directory etc etc?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T22:24:11+00:00Added an answer on June 6, 2026 at 10:24 pm

    This was caused by the build server not having DevArt Entity Developer installed, normally deploying .cs files is enough, but in the case of DevArt we needed to install their tool on the build server too.

    Once this was installed things started to work (ie mapping files were generated and automatically added to the assembly file).

    Surprisingly no errors were ever thrown by MSBuild about not having this application or not being able to read foreign file formats.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let me try to set the scenario here first. This is done using ASP.NET
I'm using Subclipse 1.6x plugin in Eclipse. Let me explain the scenario first: Say
When using DbContext in a database-first scenario I found out that adding and deleting
I'm facing a dilemma (!). In a first scenario, I implemented a solution that
Here's the scenario: if this is a user's first time logging into my web
Scenario: One header DIV with three DIV's inside side by side floated left. Problem:
Scenario: First activity starts seconds activity with startActivityForResult Second activity starts third activity with
Let me explain my scenario first: I have around 2000 tests to run, which
There are two things I do not understand too well in this scenario First,
Scenario: Using a tiered approach with WCF services: business services returning domain / DTO

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.