Installation Problems
I've had a ton of installation problems trying to get the Indigo development environment set up on my system. I've tried the installation and uninstallation process or three times and I think I'm having a version compatibility problem between the January and February releases.
I did a complete uninstall of everything and then installed everything again in the following order:
1. WinFx Runtime (February CTP)
2. Windows SDK (February CTP)
3. VSTools for WinFX (Orcas)
4. Indigo GoLive
http://msdn.microsoft.com/winfx/downloads/golive/downloads/default.aspx
Here's a summary of the results of the above:
- When I attempt to install the GoLive (Indigo.EXE), I get an error that says "indigo an unhandled exception occurred in xws_reg.exe". The installation seems to complete successfully in spite of this error.
- I wind up with two versions of System.ServiceModel in the list of references on my system (2.0.0.0 and 3.0.0.0)
- I am using a very simple HelloWorld application to test this and it will compile correctly with either of these references - Below is the code I'm using:
Uri baseURI =new Uri("http://localhost:8080/hello"); ServiceHost HService = new ServiceHost(typeof(HelloService), baseURI); HService.AddServiceEndpoint(typeof(HelloService), new BasicHttpBinding(), baseURI); HService.Open(); Console.WriteLine("Service at your service."); Console.ReadKey(); HService.Close(); |
- When I attempt to run the above code with version 3.0.0.0 of System.ServiceModel I get an exception that says:
"Unable to cast object of type 'System.ServiceModel.Configuration.ServicesSection' to type 'System.ServiceModel.Configuration.ServicesSection'."
When I run the code with version 2.0.0.0 of the System .ServiceModel it runs fine, but when I run svcutil to attempt to generate a proxy, I get an error that says "Unable to cast object of type 'System.ServiceModel.Configuration.ClientSection' to 'System.ServiceModel.Configuration.ClientSection'
I'm obviously doing something wrong to wind up with two different versions on my system at the same time. Can someone please tell me how I resolve this situation?
Thanks,
Chuck Cobb

