An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Install KB5003254 and reboot.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
Guys please help with ugly issue - app crash/close.
I start to observe crash while using System.Windows.DragDrop.DoDragDrop method in C#.
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error in the .NET Runtime at IP 74FE1BC9 (74FD0000) with exit code 80131506.
OS: Windows 10 Pro for Workstations, 20H2, 19042.867, Windows Feature Experience Pack 120.2212.551.0
On some machines 100 % reproduction, on some machines issue do not occur.
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Install KB5003254 and reboot.
Hi,
Thanks for response.
I have created new WPF project in Visual Studio.
When designer loads empty form than I am trying to add ellipse from toolbox. Visual Studio changed cursor to drag&drop action and hangs for 3-4 seconds then error message is displayed:
Error occures: "The operation could not be completed. The remote procedure call failed".
System.Runtime.Remoting.RemotingException
[16984] Designer process terminated unexpectedly!
Looks like the same issue as in my application but Visual Studio recovers after this.
Event viewer contains two entries:
First:
Application: XDesProc.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error in the .NET Runtime at IP 74FE1BC9 (74FD0000) with exit code 80131506.
Second:
Faulting application name: XDesProc.exe, version: 16.8.30804.86, time stamp: 0xa00922bc
Faulting module name: clr.dll, version: 4.8.4300.0, time stamp: 0x5f7e61bb
Exception code: 0xc0000005
Fault offset: 0x00011bc9
Faulting process id: 0x4258
Faulting application start time: 0x01d71ef0a542ec79
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\XDesProc.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: d1ba0d98-13d3-41ab-a36c-4acc3f88166b
Faulting package full name:
Faulting package-relative application ID:
After restarting Visual Studio - the same steps and the same result.
After this I created WPF app again and manually add ellipse into XAML + event handler for mouse move. No error in runtime.
Regards
Does the same error occur when you use the following simple code?
private void Ellipse_MouseMove(object sender, MouseEventArgs e)
{
Ellipse ellipse = sender as Ellipse;
if (ellipse != null && e.LeftButton == MouseButtonState.Pressed)
{
DragDrop.DoDragDrop(ellipse,
ellipse.Fill.ToString(),
DragDropEffects.Copy);
}
}
It seems that there are many possible causes of this problem, such as Windows version, too old assembly and some other reasons, please check if there is any suitable for your current situation.
Drag and Drop sometimes causing a crash
ExecutionEngineException (80131506) in mscorlib.dll when processing asp:ScriptManager
Citrix Virtual Memory Optimization Service can lead to .NET application corruption
If neither, please provide us with a simple project that can reproduce the problem so that we can try to solve it.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.