|
I have to admit that this particular problem had me beat. Usually when I encounter problems related to failed installations or bad configurations, my own sheer determination coupled with a dash of "concussive maintenance" is enough to fix the problem. This time, however, no amount of swearing, kicking, screaming, or re-installing seemed to fix the problem. I was at the end of my rope and was reaching for the external USB drive to do a backup so I could reformat my Vista partition. It was grim.
Then I start to get e-mails from some folks within Microsoft. They took a look at my logs and, though some exertion of magic itself, they determined that ServiceModel.mof wasn't installing properly. Here is the workaround they gave me:
So, this tells me a couple of things. The first is that there are some really smart and really helpful people available in times of dire crisis (yes folks, me not being able to build WPF apps is a dire crisis!). The second is that I had some weird crap happen to my machine and would _never_ have discovered it on my own. It's not like I run that winmgmt command on a daily basis (you folks remember running PARK before you shut off your PC!?! ok, so maybe you don't.. damn I'm old..)
So now that I'm up and running and working on VS 2008 SP1 again, I can get back to work on that super ultra top secret thing I'm working on...that I can't tell you about... yet.
So, what does "winmgmnt/resetrepository" exactly do? I see that resets the
repository to its initial state as when Visita was originally installed.
But what does that mean? Does it, in effect, uninstall everything (or at
least remove everything's uninstall information)? I ask mostly because I'm
curious, but partly because I installed SP1, haven't seen any problems, but
also haven't excersized many options.
Oops, that was supposed to be "http://yasko.us".
It didn't do anything to my machine. I didn't notice anything get
uninstalled or removed. I'm assuming it was a clearing out of "crap" but
not a removal of stuff that belongs there...
I'm glad you got youR problem solved. You're previous post was a little
dramatic....
Dramatic? Well, let's see. I'm currently writing a book that has publishing
deadlines. My machine suddenly lost its ability to compile WPF
applications. This wasn't just about me losing access to a toy, this was
about me losing access to my livelihood. I fail to see where my previous
post qualifies as overly dramatic under thos circumstances.
Yes, I remember the park command... and a 20mb hard drive that was massive
(as in physical size).
I still remember the sheer joy I had the day I got my first mail-ordered
80MB MFM drive. It was awesome.
It's impressive that you got that kind of personalized attention from the
developer support team. I sometimes think that facilities for quickly doing
complete wipes and re-installs of developer computers is almost as
important as a source code repository.
This solution worked for me! Thanks a lot! I wish that this solution is
reported at the Connect page.
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedb
ackID=361699
I forgot! winmgmt /repository initially gave an error saying that there are
other services dependent on the service being stopped. I had not idea what
that meant. While googling I found similar error messages vis-a-vis Sql
Server installations. So I stopped my sql server services and tried the
command again and it worked.
I had the same initial message, so I rebooted the box entirely and made
sure I didn't fire up anything useful and then ran the command and it
worked.
I used the < h ref="http://www.polarsoftinc.com> .net platform for my
SEO monitor software for Google ranking </a>, but had trouble with
MS versioning and releases
I think MS should genuinely support these version issues