Thursday, November 6, 2008

Silverlight 2 on Vista Problem

I'm not writing this blog post to recreate the solution to the problem I had.  If that's what you're looking for, here's the link.  I just wrote this to document another situation where this problem has arisen and help promote the solution to make it easier to find.

I ran into this snag when updating my Vista box to the latest version of the Silverlight tools.  The Visual Studio and Silverlight updaters worked fine for the most part.  There were no problems running those tools or opening Visual Studio after running them.

What I did run into was a problem that a few developers have seen in other circumstances.  When trying to open a WCF Services project that was part of my solution, Visual Studio showed me the error:
Unable to read the project file "xxx.xxx".  The Web Application Project xxx is configured to use IIS.  To access local IIS Web sites, you must install the following Windows components:
Internet Information Services
IIS 6 Metabase and IIS 6 Configuration Compatibility
ASP.NET
In addition, you must run Visual Studio in the context of an administrator account.
The difference between my experience and others was that I already had these features installed and I was running in administrator mode.  When I tried uninstalling or adding features, I always received an error from the windows feature installer.
An error has occurred.  Not all of the features were successfully changed.  
After a good deal of searching I found a solution that fixed everything for me.  It was a bit difficult to find because most of the answers only dealt with the first error.  Rupak Ganguly, thanks for the full scoop.

No comments:

Post a Comment