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 keep getting this error and I really dont know why. I have tried
I don't know if I have done anything wrong, but when I try to
I have done inserting a record into database but I don't know how to
im trying to achieve something but i dont really know how I have set
Alright, i dont know how to explain it well.. but i have a switch
I have an array with a size that I dont know(mostly a size of
I have some html stored in database . I dont know that html stored
I'm newbie to PHP and I dont know much about database. I have one
I have read some different responses for this same question, so I dont know
i have a question, been stuck for a while, i dont know how can

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.