ADO.NET Entity data model creation problem
I can not create ADO.NET Entity data model. The following error occurs:
An error occured Loading the entity data model tool package. Failed 开发者_如何学Goto load entity data model tools package. The result is -2147024891.
I don't know why this happened.But i noticed this problem occurred after installing the asp.net ajax control tool kit beta. I uninstalled visual studio 2008 and sql server 2005 from the control panel selecting each component. And then installed them again. But the problem is still here :(
Please any body help.
Maybe some of these workarounds via Microsoft Connect will help you.
from the microsoft connect workarounds : here
Failed to load entity data model tools package. The result is -2147467259. "
finally found a solution:
To delete "C: \ Program Files \ Microsoft Visual Studio 9.0 \ Common7 \ IDE \ ItemTemplatesCache \ CSharp \ Data \ 1033" the following documents AdoNetEntityDataModelCSharp.zip. This is a template Ado.net Entity Model, 1033 is the English version and Chinese version for 2052.
Open CMD.exe as Administrator go to "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE" or what ever your instalation folder is.
Run the command "devenv /Setup".
In my case there were no output on cmd that operation was successfully completed. But it was.
精彩评论