Tags: Blog |
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
For File extension enter: .xap
For Mime type enter: application/x-silverlight-app
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
4bd2b26a-a81b-4c31-9a76-1a3368eb101f|0|.0