Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3312438
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:59:43+00:00 2026-05-17T21:59:43+00:00

I dont know what I have done wrong but whenever my service model is

  • 0

I dont know what I have done wrong but whenever my service model is returning less than 2 results I am getting an error.

I have asked on the silverlight forum with no joy.

System.ServiceModel.DomainServices.Client.DomainOperationException: Load operation failed for query ‘GetEmployees’. Unexpected end of file. Following elements are not closed: LastModifiedDate, Employee, RootResults, GetEmployeesResult, GetEmployeesResponse. —> System.Xml.XmlException: Unexpected end of file. Following elements are not closed: LastModifiedDate, Employee, RootResults, GetEmployeesResult, GetEmployeesResponse.
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 —

My domain service is basic and looks like this

[Query(IsDefault = true)] 
    public IQueryable<Employee> GetEmployees() 
    { 
        return this.ObjectContext.Employees.Where(e=>e.IsDeleted==false); 
    }

My xaml looks like this

  <riaControls:DomainDataSource  
        AutoLoad="True" 
        x:Name="dsEmployee"  
        LoadedData="dsEmployee_LoadedData" 
        SubmittedChanges="dsEmployee_SubmittedChanges" 
        QueryName="GetEmployees"> 
        <riaControls:DomainDataSource.DomainContext> 
            <my:MyDomainContext /> 
        </riaControls:DomainDataSource.DomainContext> 
    </riaControls:DomainDataSource>

         <ListBox  
                                x:Name="lstEmployees" 
                                ItemsSource="{Binding ElementName=dsEmployee, Path=Data}" 
                                Grid.Row="1"  
                                VerticalAlignment="Top" 

                                Height="360" MouseLeftButtonUp="lstEmployees_MouseLeftButtonUp"> 
                                        <ListBox.ItemTemplate> 
                                            <DataTemplate> 
                                                <StackPanel Orientation="Horizontal" 
                                                    x:Name="stackEmployees" 
                                                    MouseRightButtonDown="lstEmployees_MouseRightButtonDown"> 
                                                    <TextBlock Text="{Binding EmployeeName}"  
                                                               Style="{StaticResource RewardGridText}" 
                                                               Width="220"  
                                                               TextAlignment="Left"> 
                                                    <telerik:RadContextMenu.ContextMenu> 
                                                          <telerik:RadContextMenu x:Name="ContextMenu"  
                                                                                  ItemClick="ContextMenuClick" 
                                                                                  Opened="ContextMenuOpened"> 

                                                                <telerik:RadMenuItem Header="Edit" /> 
                                                              <telerik:RadMenuItem Header="Disable" /> 
                                                                <telerik:RadMenuItem Header="Delete" /> 
                                                          </telerik:RadContextMenu>    
                                                    </telerik:RadContextMenu.ContextMenu> 
                                                    </TextBlock> 
                                                    <TextBlock Text="{Binding Converter={StaticResource RoleConverter}}" Style="{StaticResource RewardGridText}"  Width="160" TextAlignment="Left"/> 
                                                    <TextBlock Text="{Binding Converter={StaticResource AccountStatusConverter}}" Style="{StaticResource RewardGridText}"  Width="160" TextAlignment="Center"/> 




                                                </StackPanel> 
                                            </DataTemplate> 
                                        </ListBox.ItemTemplate> 
                                    </ListBox>

My codebind is just handling the errors. Does anyone know what I have wired up wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:59:44+00:00Added an answer on May 17, 2026 at 9:59 pm

    I ran into the same issue when using the Telerik RadCompression and RadUploadModule HttpModules. I removed the two lines below from my web.config, and everything started working again.

    <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
    <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I don't know why, but it is generating the path with a . instead
I have a ViewModel class which I want to resolve via the unity ServiceLocator,
I'm trying to implement a discrete fourier transform, but it's not working. I'm probably
So this is what I have so far : public String[] findStudentInfo(String studentNumber) {
I am trying to figure out the best way to have a text field
Seems like everyone is moving towards IoC containers. I've tried to grok it for
{% for answer in AnswersQuery %} <div> <span>Choice:<input type=text name=answer id= value={{answer.answer}}> <input type=button
I am having some difficulty compiling a C++ program that I've written. This program
As I was writing up this question I managed to solve it so repeat
i've a problem. Serius problem. -.-'' I've an app ViewBased, with MainView and FlipsideView.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.