Link to home
Start Free TrialLog in
Avatar of MikeDotNet555
MikeDotNet555

asked on

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

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.
Avatar of MikeDotNet555
MikeDotNet555

ASKER

Oh and I forgot to mention, I did that too:
CD c:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\
ServiceModelReg -i
ASKER CERTIFIED SOLUTION
Avatar of MikeDotNet555
MikeDotNet555

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial