Tags: | Categories: Blog Posted by admin on 10/20/2009 12:16 PM | Comments (4)

The installation to upgrade from Vista to Windows 7 does not fix or upgrades IIS 7. So IIS 7 wasn’t fix to run Silverlight xap files of Windows Services.

When trying to run a Windows Service with SVC extension on a Windows 7 machine that was upgraded from Vista, IIS 7 won’t be changed to register the .xap file for silverlight or windows services extensions, you’ll have to do that manually in IIS 7.

Registering the Silverlight XAP extension.

Go to your IIS Manager and open the Mime Types

image

For File extension enter: .xap

For Mime type enter: application/x-silverlight-app

image

 

Register the Windows Service on IIS7

Do not register the .svc extension like xap, you need to register in a different way, open a console application running as Administrator, navigate to:

C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>

Run ServiceModelReg –i

 

Finally restart IIS with a normal Iisreset or using the IIS manager.

Hope this helps

Cheers

Al

Follow me in twitter | bookmark me | Subscribe to my feed | Add stats to your blog

Comments

on 10/22/2009 11:38 PM

Wow thank you! So glad you took the time to write this out, was getting a bit frustrated. But your advise is realy clear and helpful, thanks again!

on 10/25/2009 7:19 AM

Your advise is realy clear and helpful, thanks!

on 10/30/2009 1:15 AM

I don’t know If I said it already but this so good stuff keep up the good work.

on 10/30/2009 5:13 AM

i really appreciate this your good article


from there i get something that i want to know


thanks for this usefull informations

Comments are closed