Geeks With Blogs
Thanigainathan Siranjeevi Sharing my learning

All these days I was trying out with ADO.Net Dataservices in my local Visual Studio 2008 express which used to run in the Cassini WebServer which comes along with that. I was having some problem with the port as the number is dynamic.So I decided myself to upload the same in IIS and did so. When tried running the app pointing to the DataService file "Data.svc" I got a boom error saying the MIME type was not registered. I was going through IIS trying to find a possible solutions .I tried adding the Extension in the IIS manually. But I could not find the handlers for that. Then I did a little bing and found some solution. We need to register the WCF module with IIS otherwise we wont be getting those MIME types. The commands are as follows.

This command used to be "ServiceModel.exe –I" in previous versions and now it changed to "ServiceModel1Reg.exe -i". After this you will get the installations done as below.

That's it .We can see the MIME types up in the IIS as below.

I referred the following link

http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataservices/thread/f447c6df-6402-4a13-875c-925445fd7be8/

Thanks,

Thani

Posted on Monday, November 16, 2009 9:39 AM | Back to top


Comments on this post: WCF Services IIS Config

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © thanigai | Powered by: GeeksWithBlogs.net