Method not found: 'Void System.Diagnostics.Tracing.FrameworkEventSource.BeginGetResponse (System.Object, System.String)'

Today I upgraded to Windows 8.1. After the upgrade, I experience the following exception in one of my WPF windows:

XAML Exception: Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception .

 Inner Exception: Method not found: 'Void System.Diagnostics.Tracing.FrameworkEventSource.BeginGetResponse(System.Object, System.String)'. 

I did not receive this exception before updating my windows. Please note that when I Icon="/MyProgram;component/Resources/language.png" icon from the window, an exception does not occur - Icon="/MyProgram;component/Resources/language.png"

The raw stack trace is as follows:

  Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Windows.Markup.XamlParseException Stack: at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunDispatcher(System.Object) at System.Windows.Application.RunInternal(System.Windows.Window) at System.Windows.Application.Run(System.Windows.Window) at System.Windows.Application.Run() at MaxCut.App.Main() 

Another issue that I think of is related to the above: when I try to create a new project in Visual Studio 2013 with Update 4, I get the following error

"Failed to create 'ImageSource' from text '.. \ Images \ Medium.png'

I already tried the following solutions http://blogs.msdn.com/b/vsnetsetup/archive/2013/03/19/visual-studio-2012-ide-shows-failed-to-create-a-imagesource-from -The -text images mid-Purneftegas-while-access-file new open file dialog boxes.aspx

https://connect.microsoft.com/VisualStudio/feedback/details/830040/failed-to-create-a-imagesource-from-the-text-images-medium-png

Visual Studio 2012 failed to create a project

Error trying to start a new project in Visual Studio

+9
source share
4 answers

NET Framework 4.6 helped, hope this works for you too!

http://www.microsoft.com/en-us/download/confirmation.aspx?id=44928

+5
source

Those who are faced with this problem. Please note that after installation after two updates the problem was resolved:

Update to Windows 8.1 for x64-based Systems (KB3063843)

Update to Windows 8.1 for x64-based Systems (KB3068708)

+4
source

I am using the new .NET WebApi site (.Net version 4.5.2), which is locally created on my work-driven Windows 7 PC and deployed to Windows Server 2012, where I do not have update permissions.

I was able to solve this problem and deploy my site by removing nuget packages for:

  • Microsoft.AspNet.TelemtryCorrelation
  • System.Diagnostics.DiagnosticSource
+2
source

I uninstalled all Insights application packages and the Diagnostics package.

0
source

All Articles