Re: ADO.NET Entities Failure (RTM)



Huh, new twist.

Yesterday I uninstalled just the 3.5 Framework (it was on the machine before VS 2008 SP1 RTM)
then reapplied the VS 2008 SP1. Now the ADO Entity Model Template shows up, after a reboot.
Got lucky I guess. Anyways thanks for the reference points. I've never stuck with or owned an O/RM,
they always seemed to mess with my thoughts then generate a whole bunch of code I'm too lazy to read
.....but the rest of the world seems to use them so I wanted to look at the next one.

"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx> wrote in message news:ey9MjEu$IHA.4756@xxxxxxxxxxxxxxxxxxxxxxx
Everything seems to be working fine.

I have opted not to use the Entity Framework now, as my project uses web services and the Framework makes things a bit heavy in
this regard, but I have created entity models and compiled fine.

Uninstall everything SP1 related and then start from the start. It worked for me.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"John Sitka" <johnsitka@xxxxxxxxxxxxxxxxx> wrote in message news:OQU9C5s$IHA.5956@xxxxxxxxxxxxxxxxxxxxxxx
Thanks for that, I have not knowingly installed any Beta packages but I do recall one general Hotfix
that was needed for improved intellisense in scripting blocks.

I fired off the Prep tool and got no response from it.

Your description of getting the Entity framework running sounds accurate. (Install from scratch)

I'm going to get the VS SP1 .iso today to hopefully speed up the process.

"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx> wrote in message news:%23MZ12Hl$IHA.1296@xxxxxxxxxxxxxxxxxxxxxxx
The tool is located at
http://www.microsoft.com/downloads/details.aspx?FamilyID=a494b0e0-eb07-4ff1-a21c-a4663e456d9d&DisplayLang=en

It is non-destructive in the sense it only removes what it is set to remove. So, if you do not have any of the patches, there is
no reason you cannot run it.

I have more information on my blog:
http://gregorybeamer.spaces.live.com/blog/cns!B036196EAF9B34A8!805.entry

Here is what it does, per its patch screen:
-----------------------------------------
Uninstallation of Visual Studio 2008 SP1 Beta.
Uninstallation of Silverlight Tools Beta 1.
Uninstallation of KB944899 V1.
Uninstallation of KB949325.

You have KB944899 loaded. If it is V1, that is probably your failure point.

The only way I found to get the Entity Framework working once you have installed with a failure is to do the following:

1. Uninstall VS 2008 SP1
2. Uninstall .NET Framework 3.5 SP1
3. Reboot
4. Install .NET Framework 3.5 SP1 - this step may not be necessary as VS 2008 SP1 does it, but I was not taking chances
5. Install VS 2008 SP1

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"John Sitka" <johnsitka@xxxxxxxxxxxxxxxxx> wrote in message news:O%235LU7g$IHA.4648@xxxxxxxxxxxxxxxxxxxxxxx
Can you post your About VS.NET 2008 details. from your newly rebuilt machine and functioning machine

I'd like to see if I have any hotfixes that are causing my Entity model Template not to show up.

Thanks

This is mine...

Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: Professional

Microsoft Visual Basic 2008

Microsoft Visual C# 2008

Microsoft Visual C++ 2008

Microsoft Visual Studio 2008 Tools for Office

Microsoft Visual Web Developer 2008

Crystal Reports Basic for Visual Studio 2008


Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB944899) KB944899
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/944899.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB945282) KB945282
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945282.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946040) KB946040
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946040.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946308) KB946308
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946308.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946344) KB946344
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946344.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946581) KB946581
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946581.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947171) KB947171
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947171.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947173) KB947173
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947173.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947180) KB947180
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947180.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947540) KB947540
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947540.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947789) KB947789
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947789.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB948127) KB948127
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/948127.

Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB945140) KB945140
This service pack is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945140.

Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB947888) KB947888
This service pack is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947888.

Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB948484) KB948484
This service pack is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/948484.


"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx> wrote in message news:e$simDY$IHA.1152@xxxxxxxxxxxxxxxxxxxxxxx
The solution is to uninstall EVERYTHING and start over again. Despite not thinking I had one of the offending hotfixes or beta
software, I am now under the assumption I must have had one of them installed.

Visual Studio is now working great, or at least great in the features I currently need. :-)

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx> wrote in message
news:ObB1q9U$IHA.1180@xxxxxxxxxxxxxxxxxxxxxxx
Running against my database, I end up with code generated that has the
following:
[global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]

which generates the error:
'System.Runtime.Serialization.DataContractAttribute' does not contain a
definition for 'IsReference'

It appears the System.Runtime.Serialization is not properly updated by
Visual Studio 2008 SP1, or at least not on Windows Server 2008 (my desktop
OS). Will try to go through and create exact repro steps.

History:
1. Installed Visual Studio SP1
Did not install .NET Framework 3.5 SP1 first, as assumed this would be
part of VS SP1
2. Installed SQL Server 2008 Developer
3. Rebooted numerous times
(per
http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3586027&SiteID=1&pageid=0)
4. Repair installed .NET Framework 3.5 SP1

Still running the issue after repair reinstall ... and rebooting. Attempted stealing the assemblies from the temp folder, but
I am not sure which msp to run to get them. Going to attempt a VS 2008 SP1 repair install, as well. And then punt until I can
afford time to completely rebuild the machine, as that is ... unfortunately ... generally the best option when an MS SP
fails.

Any other ideas?

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************










.



Relevant Pages

  • Re: ADO.NET Entities Failure (RTM)
    ... Microsoft Visual Studio 2008 Tools for Office ... Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU ... This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU. ... If you later install a more recent service pack, this hotfix will be uninstalled automatically. ...
    (microsoft.public.dotnet.framework.adonet)
  • Dont forget set Target framework for Project to 3.5: ADO.NET Entities Failure (RTM)
    ... Install VS 2008 SP1 ... Microsoft Visual Studio 2008 Tools for Office ... If you later install a more recent service pack, this hotfix will be uninstalled automatically. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: ADO.NET Entities Failure (RTM)
    ... I have not knowingly installed any Beta packages but I do recall one general Hotfix ... Install VS 2008 SP1 ... Microsoft Visual Studio 2008 Tools for Office ... If you later install a more recent service pack, this hotfix will be uninstalled automatically. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: error RC2104: undefined keyword or keyname TBS_NOTIFYBEFOREMOV
    ... Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU ... This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU. ... If you later install a more recent service pack, ...
    (microsoft.public.vc.mfc)
  • Re: error RC2104: undefined keyword or keyname TBS_NOTIFYBEFOREMOV
    ... Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU ... This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU. ... If you later install a more recent service pack, ...
    (microsoft.public.vc.mfc)