Silverlight app (IIS6) is unable to serve my .svc file

Posted on 2010-01-04
Last Modified: 2013-11-12
Hi, I Have been googling and trying all kind of stuff all day but now I give up and request some help here.

I have a silverlight application using wcf web service. It run fine in visual studio (of course). The problem arise when I try to deploy it to a webserver.

I must have read close to 200 posts with similar problems, but none of the proposed solutions work.

My problem is that I am unable to acces my wcf service (.svc file). I can access my main page just fine, but the first call to the webservice generate some "Unhandled Error in Silverlight Application [Async_ExceptionOccurred]".

What I have done:
-Configured the ip in the .xap package (ServiceReference.clientconfig)
-I can confirm the ip is ok from SL side (seeing in fiddler, my server returns a 404 notfound error)
-I am unable to access "http://myserverip:myport/Service.svc (404 notfound)
-I added the MIME types (if there is a MIME type for .svc files I wans't able to find it)
-I changed web.config file, I tryied a few different things: <endPoint address=""> (VS default) <endpoint address="myserverip">, <endpoint address="myserverip/service.svc">

And there is probably other stuff I tryied without success. This is really driving me crazy.
Question by:MikeDotNet555
    LVL 3

    Author Comment

    Oh and I forgot to mention, I did that too:
    CD c:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\
    ServiceModelReg -i
    LVL 3

    Accepted Solution

    as usual right when I do a post I found the solution.

    start->run->inetmgr->local computer->web service extensions then enable


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
    A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now