Hi all,

I'm having a problem deploying a silverlight application.

Basically, I have a working Silverlight application that runs in casini
under localhost:28446.

I publish it to a folder, which I have made a virtual folder so I can
browse directly to it.

So I browse to http://localhost/myapp/myapptestpage.aspx

and the silverlight part of the app loads up. But when it tries to access
the wcf web service, it tries to use localhost:28446.

If I go directly to the test service, it shows the service test page, so
that bit is working.

Before publishing my code I edited ServiceReferences.ClientConfig and
change the path from http://localhost:28466/TestService.svc to
http://localhost/TestService.svc

I have also gone in and done a Configure Service Reference to force the URL
to directly reference http://localhost/TestService.svc

Compiled it, Published it, tested it.

It still errors out with "An error occurred while trying to make a request
to URI 'http://localhost:28446/TestService.svc'. "

So it's refusing to change the url of the service in the Silverlight app.

I have also deleted all my browser content and even run InPrivate to see if
it is some sort of caching issue.

What am I doing wrong?

Regards,
Tony

Reply via email to