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 6796299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:27:02+00:00 2026-05-26T18:27:02+00:00

I have receive an Visual Studio Just-In-Time Debugger Error An Unhandled Exception(Unhandled Error in

  • 0

I have receive an Visual Studio Just-In-Time Debugger Error
An Unhandled Exception(“Unhandled Error in Silverlight Application
Code: 4004
Category: MangedRuntimeError
Message: System.ServiceMode.DomainServices.Client.DomainOperationException:

once i loaded a line of code as

Public Sub New()
InitializeComponent()
Dim context As New OrganizationContext()
context.Load(context.GetTimeTablesQuery(), AddressOf LoadMonday, Nothing)

End Sub

Private Sub LoadMonday(ByVal obj As LoadOperation(Of TimeTable))

Dim btnMonday(20) As Button
For a As Integer = 0 To 19
            btnMonday(a) = New Button()
            btnMonday(a).Height = 23
            btnMonday(a).Width = 107
            btnMonday(a).Content = timeslot(a)
            btnMonday(a).Background = New SolidColorBrush(Colors.Magenta)

            ' Sets dependency properties
            btnMonday(a).SetValue(Grid.ColumnProperty, 1)
            btnMonday(a).SetValue(Grid.RowProperty, a + 1)
            LayoutRoot.Children.Add(btnMonday(a))
        Next
End Sub

Any Idea ?

  • 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-26T18:27:03+00:00Added an answer on May 26, 2026 at 6:27 pm

    You can check that your obj has error or not by check it HasError property. If LoadOperation HasError is true you can call MarkErrorAsHandled

    Example code:

    ' if there is an error, mark is as handled.
    If (obj.HasError) Then
        obj.MarkErrorAsHandled()
    End If
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Visual Studio 2010 Windows Forms application in which I start a
I have a Visual Studio 2010 project done on MFC. I receive these errors:
I have some Visual C++ code that receives a pointer to a buffer with
I have an application that may receive data via various methods and in various
I have a WCF service that receive query from a silverlight client and send
I have an application where I receive each data 40.000 rows. I have 5
I have been in this situation quite a few times where visual studio does
I have the ActiveMQ-CPP 2.2.1 Visual Studio 2005 project compiling and running. In the
In visual studio, I have an asp.net 3.5 project that is using MS Enterprise
My windows forms application consists of one Visual Studio solution and several projects. The

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.