I have Dynamics on-premise and have also created a silverlight app that uses WCF Services to connect to two separate SQL databases.
All works well when I run it in Visual Studio 2010, however when I upload it to web services the form appears but any thing that should show data, e.g. combo boxes, when clicked cause Visual Studio just in-time debugger to run which states:
"An unhandled exception ('Unhandled Error in Silverlight Application Load operation failed for query 'Get_Projects'. The remote server returned an error: Not Found. as System.serviceModel.DomainService.Client.OperationBase.Complete"
If I run Fiddler, when running the app in Visual Studio all is well. If running fiddler a key is shown with HTTP Error 401 - Unauthorised: Access is denied, further down the list is an exclamation mark and the error message for this is "There is a problem with the resource you are looking for. and it cannot be displayed.".
Questions I have are:
* The WCF service I have added, is that a localised service from my machine and do I need to do one from the server where the webresource is run?
* How do I create this service?
* Do I need visual Studio on the Servers?
* I have two App servers, how will this work if the service is specific?
* The connection info to one of the external database has hard coded crudentials, what should I be doing to protect these / remove from the list of issues?
Any help appreciated as I am a novice to all this.
regards,
Matt