This question is locked. New answers and comments are not allowed.
I worked through the Databinding > RIA tutorial on page 91 of the RadControls Silverlight courseware pdf line by line. When I run it IE crashes and I get the error below. Any Ideas?:
{System.ServiceModel.DomainServices.Client.DomainOperationException: Load operation failed for query 'GetWorkforceSeparationCurrent1'. The remote server returned an error: NotFound. ---> System.ServiceModel.CommunicationException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)
--- End of inner exception stack trace ---
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
--- End of inner exception stack trace ---
at System.ServiceModel.DomainServices.Client.WebDomainClient`1.EndQueryCore(IAsyncResult asyncResult)
at System.ServiceModel.DomainServices.Client.DomainClient.EndQuery(IAsyncResult asyncResult)
at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult)
--- End of inner exception stack trace ---}
Here's my VB code:
{System.ServiceModel.DomainServices.Client.DomainOperationException: Load operation failed for query 'GetWorkforceSeparationCurrent1'. The remote server returned an error: NotFound. ---> System.ServiceModel.CommunicationException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)
--- End of inner exception stack trace ---
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
--- End of inner exception stack trace ---
at System.ServiceModel.DomainServices.Client.WebDomainClient`1.EndQueryCore(IAsyncResult asyncResult)
at System.ServiceModel.DomainServices.Client.DomainClient.EndQuery(IAsyncResult asyncResult)
at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult)
--- End of inner exception stack trace ---}
Here's my VB code:
Imports RadControlsSilverlightApp1.WebImports System.ServiceModel.DomainServices.ClientPartial Public Class MainPage Inherits UserControl Public Sub New() InitializeComponent() Dim context As New WorkForceDomainContext Dim operation As LoadOperation = context.Load(context.GetWorkforceSeparationCurrent1Query()) AddHandler operation.Completed, AddressOf operation_Completed End Sub Private Sub operation_Completed(ByVal sender As Object, ByVal e As EventArgs) Try Dim context As New WorkForceDomainContext Dim loadOperation As ServiceModel.DomainServices.Client.LoadOperation = TryCast(sender, ServiceModel.DomainServices.Client.LoadOperation) If loadOperation.Error Is Nothing Then <<<<< ERROR HERE RadGridView1.ItemsSource = _ From w As WorkforceSeparationCurrent1 In loadOperation.Entities _ Where w.RetType = "csrs" _ Select w End If Catch ex As Exception End Try End SubEnd Class