entity framework 5 - Metadata exception - schema specified is not valid - Installing a C# Windows Forms application on Windows XP using ClickOnce and EF Code First -


i have c# windows forms application makes use of sql server 2008 r2, .net framework 4, .net framework 4 client, , entity framework code first.

sql server 2008 r2 express exists on machine, , program create database , tables.

here screen dump of message

[update] tried installing .net framework 4.5, got message:

blocking issues:
.net framework 4.5 not supported on operating system.



warnings:

setup may not run properly, because windows modules installer service not available on computer.

with link

the operating system windows xp 2002 sp3 running inside vmware player.

[update 25th may 20xx]: found link here caused me think problem clickonce won't install on windows xp. recreated set in visual studio 2010 , have same error.

[update 26 may 20xx]: created test project visual studio 2012 , entity framework 5 , able install on windows xp using clickonce. strangely able publish version of big application worked. not sure going on. did install program containing entity framework 6 on test computer - not have been referenced big application.

have tried installing .net 4.5?

i know sounds absurd, we're seeing same issue: entity framework 5.0 (4.4) targetting .net 4.0, code first on sql server ce.

installing .net 4.5 made issue go away. we're still investigating, because have couple of windows xp clients.

update: portions of entity framework 5 code part of .net framework (that's why there's 4.4 version .net 4.0 e.g. doesn't support enums, while 5.0 4.5 does).

it seems issue related since installing .net 4.5 inexpliccably solves this.

for entity framework 6 portions moved entity framework, entity framework 6 doesn't depend on framework specifics anymore. we've updated entity framework 6.0 alpha 3 , seems fine.

now, don't running alpha code, solution find.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -