We help IT Professionals succeed at work.

How to Publish Silverlight Application with Integrated WCF Service

I need to know hot to publish a Silverlight project I have done on my local box to a web server with an Integrated WCF project included.  I notice they do publish individually.  How do you publish them to work out on the Web Server together?

Thanks,

Dan
Comment
Watch Question

Most Valuable Expert 2012
Top Expert 2014

Commented:

Author

Commented:
I got the WCF and Silverlight service published.  Now I am getting the following error:

Message: Unhandled Error in Silverlight Application [Async_ExceptionOccurred]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50524.0&File=System.dll&Key=Async_ExceptionOccurred   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   at SilverlightApplicationWCFTest.MainPage.onGetUsernameCompleted(Object sender, GetUsernameCompletedEventArgs e)
   at SilverlightApplicationWCFTest.ServiceReference1.Service1Client.OnGetUsernameCompleted(Object state)
Line: 1
Char: 1
Code: 0
URI: http://localhost/Dan/Silverlight.js

I modified the Web Config so the endpoint address is pointing to Service1 on my local host.

Dan
Commented:
Hi,
see if this helps you if you still have the issue
http://timheuer.com/blog/archive/2008/04/09/silverlight-cannot-access-web-service.aspx

Thanks and regards,
Venki