views:

10

answers:

0

I have a silverlight 3 app that works fine accessing a DB on a host server on my PC. Now when I deploy the app on the host website, here is where the fun starts. It doesnt work and I cant locate the webservice service1 even though it exists.

I dont know what to add to make this work because I have been told to change webconfig file, webservce calls etc it is too much as I am guessing. After 5 days of posts on this topic it isnt working I have added crossdomain ,clientasccesspoilcy.xml

Service1.svc exists in the folder trigA.Web and I have tried just Service="Service1"

<%@ ServiceHost Language="VB" Debug="true" Service="trigA.Web.Service1" CodeBehind="Service1.svc.vb" %>

http://208.81.130.41/$sitepreview/mrt.com/trigA/trigA.Web/trigATestPage.aspx

do I need to change this in silverlight.config file?

        <endpoint address="http://localhost:1914/Service1.svc" binding="customBinding"
            bindingConfiguration="CustomBinding_Service1" contract="ServiceReference1.Service1"
            name="CustomBinding_Service1" />