Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 06, 2008 01:48 PM by xiard
Aug 05, 2008 04:44 AM|LINK
I'm having trouble getting started with EDM. I'm ultimately trying to experiment with ASP.NET Data Services. I have never installed any ASP.NET 3.5 Extensions CTPs. However, I have installed VS2008 SP1 Beta1 and .NET 3.5 SP1 Beta 1. Based on the list
of features in SP1 Beta 1 (http://www.microsoft.com/downloads/details.aspx?familyid=8C36ACA4-E947-4760-9B05-93CAC04C6F87&displaylang=en )
I believe I should have both EDM support and Data Services support.
When I try to add a new item to my VS2008 project, ADO.NET Entity Data Model is not in the list. When I go to the Add Reference dialog, I do have System.Data.Entity and System.Data.Entity.Design. In addition, I can run edmgen.exe from a VS2008 command
I tried downloading the ASP.NET 3.5 Extensions Preview from 3/5/08 at this address:
http://www.microsoft.com/downloads/details.aspx?FamilyId=A9C6BC06-B894-4B11-8300-35BD2F8FC908&displaylang=en . That installation failed with the error "Component ADO.NET Entity Framework 1.0 (Pre-Release
Version) has failed to install."
Does anyone have any idea what I might be able to try next?
Aug 05, 2008 01:53 PM|LINK
Here is a bit more information. I used edmgen to create csdl, msl and ssdl files. I used a utility I found called edmgen2.exe (at
http://code.msdn.microsoft.com/EdmGen2 ) to create an edmx file. Those files are all in my project now (in VS2008). The edmx file has the generic "I don't know what to do with this" icon, and opening it
simply opens it as a text file, showing the XML of the edmx file. I was hoping that if I got an edmx file into my project then VS would wake up and give me the option to edit it with the wizard designer. No such luck.
Aug 06, 2008 01:48 PM|LINK
I did some more searching online and I did find other people with the same problem. The problem is discussed in the Astoria team blog on the page where they announced VS2008 SP1 Beta1 and .NET Framework 3.5 SP1 Beta1:
I also found it on Connect, although it was closed as non-reproducible:
I ended up following the suggestions in the comments in the blog post about uninstalling and reinstalling VS2008 SP1 Beta1 (but not .NET Framework 3.5 SP1 Beta1). For instructions on how to properly uninstall VS2008 SP1 Beta1, see the readme: