I have a new build of win 7 64x on my laptop that’s about a week old. I have a pretty complex Sl 4 app that runs fine if using the vs host in 2010. If i flip the setting in the web project to use the IIS Web Server and run it, I get this:

Line: 56 Error: Unhandled Error in Silverlight Application
Code: 2103    Category: InitializeError
Message: Invalid or malformed application: Check manifest

Just for a whim, I went to check the IIS properties and when I try to get into the .Net Compilations settings, IIS Admin shows this:

clip_image001_thumb_6DFB7B18

Heres the fix to the entire mess:

1) Turn on all IIS 7 features in Control Panel Programs like so:

image_thumb_6DFB7B18

2) Run the VS 2010 setup and then select Repair. Go to lunch or gym as this takes awhile.

3) Reinstall the SL 4 bits. Get a cup of coffee as this one is quick.

4) Test again.

FYI: Step 1 should fix the 2103 error. Steps 2 and 3 should fix the IIS 7 config error dialog.

 

Latest posts by Ken Spencer (see all)