Coding, content and startups

James Crowley

Gotcha: "The specified metadata path is not valid." with ADO.NET Entities on Vista x64

with 4 comments

For those of you foolhardy enough to be running Vista x64 (myself included!), VS 2008, and the latest build of the ADO.NET Entities framework… you may well hit the following error message:


The specified metadata path is not valid. A valid path must be either an existing directory, an existing file with extension ‘.csdl’, ‘.ssdl’, or ‘.msl’, or a URI that identifies an embedded resource.

The catch is that apparently the designers are not supported on 64-bit machines. The workaround is to copy two files from %windir%Microsoft.NETFramework64v3.5 to %windir%Microsoft.NETFrameworkv3.5:


  • Microsoft.Data.Entity.Build.Tasks.dll


  • Microsoft.Data.Entity.targets

then restart Visual Studio and rebuild your solution.


Thanks to Tommy Williams @ MSFT (found on the forums)

Written by james.crowley

January 26th, 2008 at 4:09 pm

Posted in Uncategorized

4 Responses to 'Gotcha: "The specified metadata path is not valid." with ADO.NET Entities on Vista x64'

Subscribe to comments with RSS or TrackBack to 'Gotcha: "The specified metadata path is not valid." with ADO.NET Entities on Vista x64'.

  1. You saved my day!

    Thanx.

    Frode

    Frode

    17 Mar 08 at 6:44 pm

  2. That”s awesome. it works.

    http://

    26 Mar 08 at 4:49 am

  3. You ROCK !!
    This drove me crazy until I found your post!

    Anton Staykov

    26 Apr 08 at 8:14 pm

  4. oh my god, finally after like 2 hours of trial and error, browsing msdn forums and searching the internet, it finally works…

    Thank you for this post, it finally saved my sanity!

Leave a Reply