KnowledgeTree

Bunch of Technology Solution

svc mime type not configured on vista/windows7

When trying to access a WCFService hosted in a website via http://localhost:port/Service.svc, “Not found and the mime type not being configured correctly to be served” error pop’s up.

Solution: Run the following command through the command prompt

C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>Service
ModelReg.exe -i

it installs the necessary scriptmaps at the IIS metabase root and folders within.

August 12, 2009 Posted by | General | , , , , , , , | Leave a comment