Showing posts with label problems. Show all posts
Showing posts with label problems. Show all posts

Monday, July 2, 2007

Unable to add a WCF service template to a converted project

I filed a bug at Microsoft's feedback web site on Friday because I was unable to add a WCF service template to a converted project in Visual Orcas March 2007 CTP.

It turns out that it wasn't really a bug. I was ignorant of the fact that you need to change the target framework from whatever it was originally set to (in my case ".NET Framework 2.0") to ".NET Framework 3.0" or ".NET Framework 3.5".

Thursday, June 28, 2007

Application configuration is incorrect - Redistributable Package issue

Well, I managed to break the build indirectly today. The build compiled fine, but when we ran any of our C++ applications, we got this error dialog:



Error message:
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

The problem:
I broke the build by applying Visual Studio service pack 1 to the build machine. As you can see above, the error message we received was clear as mud. With a little bit of hunting, I discovered that changes were made to the C++ redistributable, which show up in the manifest file. As you can see here, the version number in the application intermediate manifest file is 8.0.50727.762 (it was 8.0.50608.0 prior to applying the service pack):


The fix:
Applying the new redistributable to the target machine fixed our problem. You can download the Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) Version 8.0.50727.762 here.


Reference: