Alas, I got work with the beautiful Entity Framework. As I'm trying to copy the exception details
System.ObjectDisposedException was unhandled
HResult=-2146232798
Message=Die ObjectContext-Instanz wurde verworfen und kann nicht mehr für Vorgänge verwendet werden, für die eine Verbindung erforderlich ist.
ObjectName=""
Source=EntityFramework
StackTrace:
bei System.Data.Entity.Core.Objects.ObjectContext.get_Connection()
bei System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
bei System.Data.Entity.Core.Objects.DataClasses.EntityCollection`1.Load(List`1 collection, MergeOption mergeOption)
bei System.Data.Entity.Core.Objects.DataClasses.RelatedEnd.DeferredLoad()
bei System.Data.Entity.Core.Objects.Internal.LazyLoadBehavior.LoadProperty[TItem](TItem propertyValue, String relationshipName, String targetRoleName, Boolean mustBeNull, Object wrapperObject)
bei System.Data.Entity.Core.Objects.Internal.LazyLoadBehavior.<>c__DisplayClass7`2.<GetInterceptorDelegate>b__1(TProxy proxy, TItem item)
bei System.Data.Entity.DynamicProxies.Abstimmungungswochen_4B2170BEEFBCB0E3760C0A28F933A214FEE1AF613CEA6B3CD7752FA43966F7F3.get_Stimmzettel()
bei SuisseVote.Business.DomainModel.Urnengang..ctor(Abstimmungungswochenende a) in C:\Workspaces\SuisseVote\SwissVote\SuisseVote-2_1_Update_3_Happy Feet\SuisseVote.Business.DomainModel\Urnengang.cs:Zeile 57.
bei SuisseVote.Business.Shared.Repository.UrnengangRepository.<>c.<GetListAll>b__6_0(Abstimmungungswochenende c) in C:\Workspaces\SuisseVote\SwissVote\SuisseVote-2_1_Update_3_Happy Feet\SuisseVote.Business.Shared\Repository\UrnengangRepository.cs:Zeile 35.
bei System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
bei System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
bei System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
bei SuisseVote.Business.Shared.Repository.UrnengangRepository.GetListAll() in C:\Workspaces\SuisseVote\SwissVote\SuisseVote-2_1_Update_3_Happy Feet\SuisseVote.Business.Shared\Repository\UrnengangRepository.cs:Zeile 35.
bei SuisseVote.Business.Center.Repository.UrnengangRepository.GetListAll() in C:\Workspaces\SuisseVote\SwissVote\SuisseVote-2_1_Update_3_Happy Feet\SuisseVote.Business.BusinessLayer\Repository\UrnengangRepository.cs:Zeile 86.
bei SuisseVote.Ui.Center.OpenUrnengangControl.UserControl_Loaded(Object sender, RoutedEventArgs e) in C:\Workspaces\SuisseVote\SwissVote\SuisseVote-2_1_Update_3_Happy Feet\SwissVote\Urnengang\OpenUrnengangControl.xaml.cs:Zeile 40.
bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
bei System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
bei System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
bei MS.Internal.LoadedOrUnloadedOperation.DoWork()
bei System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
bei System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
bei System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
bei System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
bei System.Windows.Interop.HwndTarget.OnResize()
bei System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
bei System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
InnerException:
to the Google, they inform me of performing an illegal request.
Why is MS now also breaking other company's stuff?
|