Geeks With Blogs
Paul Mehner blog

If Windows Communication Foundation .svc files show up in your browser as the textual content of the file rather than launching your service on XP SP2, (e.g. you get <@ServiceHost ...etc...>) your IIS Metabase may have been corrupted by previous beta installation of WCF. Download the CleanIISScriptMaps utility from the .netfx3 website and run it to fix the problem.

Get it here: http://wcf.netfx3.com/files/folders/product_team/entry5648.aspx

Thanks to the blog entry of Wenlong Dong for this tip.

Posted on Tuesday, March 6, 2007 9:38 PM WCF | Back to top


Comments on this post: WCF .svc File Shows As Text On XP SP2

# re: WCF .svc File Shows As Text On XP SP2
Requesting Gravatar...
when i am running .svc file in browser i am getting textual content of file and not service on XP SP@. I have downloaded the CleanIISScriptMaps utility from the .netfx3 website and run it but still i am getting textual content of file in browser . Can you please help me what is the problem ?
Left by Shweta Patel on Jun 20, 2007 2:29 AM

# re: WCF .svc File Shows As Text On XP SP2
Requesting Gravatar...
Try running ServiceModelReg.exe located in the \windows\microsoft.net\framework\v3.0\windows communication foundation directory. You likely want the "-i" flag, but type "-?" for a full description.
Left by Paul Mehner on Jun 20, 2007 9:03 PM

# re: WCF .svc File Shows As Text On XP SP2
Requesting Gravatar...
when i am running .svc file in browser i am getting textual content of file and not service on XP SP@. I have downloaded the CleanIISScriptMaps utility from the .netfx3 website and run it


I have even tried running ServiceModelReg.exe located in the \windows\microsoft.net\framework\v3.0\windows communication foundation directory.
Iam still i am getting textual content of file in browser . Can you please help me what is the problem ?
Left by Ram on Oct 12, 2007 10:02 AM

# re: WCF .svc File Shows As Text On XP SP2
Requesting Gravatar...
I have the same problem, can anyone help?
Left by nathan on Dec 24, 2007 2:50 AM

# re: WCF .svc File Shows As Text On XP SP2
Requesting Gravatar...
Have you already done the things in this post? In particular, have you run "ServiceModelReg.exe -i"?
Left by Paul Mehner on Dec 24, 2007 12:56 PM

# re: WCF .svc File Shows As Text On XP SP2
Requesting Gravatar...
What worked for me:
Go to IIS --> Select your service --> Properties --> ASP.NET --> change version from 1.1 to 2.0
Left by NoName on Dec 04, 2008 7:55 AM

Your comment:
 (will show your gravatar)


Copyright © Paul Mehner | Powered by: GeeksWithBlogs.net