Environment:WIN 10 Pro IDE:Visual Studio 2015 Community When I tried to create a project or open projects,the VS would warn that"Object reference not set to an instance of an object".Andreading the System Log,I found this recording: Faulting application name: devenv.exe, version: 14.0.23107.0, timestamp: 0x559b7ead Faulting Module Name: unknown, Version: 0.0.0.0, [...] read more
I get the below exception when I try to add/insert/remove to a collection (or any operation that changes the collection). The collection is initialized and the item inserted is not null and of the same type as the collection T. Can any one give me a clue as to why [...] read more
I am using: enter image description here [https://i.stack.imgur.com/ZjV3O.jpg] And everything works fine, I can even see reports performance: enter image description here [https://i.stack.imgur.com/GWiWM.jpg] But when I hit 'new query', I get this, and SSMS restarts automatically: enter image description here [https://i.stack.imgur.com/SUOjS.jpg] Most of what I have to do is on [...] read more
I'm developing a Service Fabric Stateless App and there´s some strange behaviour when I try to create a service bus queue client. In the Servie.cs class: public class ServiceBusQueueService : IQueueService<SbMessage> { private readonly QueueClient _client; public ServiceBusQueueService(string queueName) { var connectionString = ConfigurationManager.AppSettings.Get("ServiceBus.ConnectionString"); // When executes this line, it [...] read more
AFAIK, try and finally block are used execute a piece of code that might throw some exception, we also add catch block if we are prepared to handle some type of exception and/or are excepting them, like FileIOException, AccessRight or something. But when I ran this.. private void button1_Click(object sender, [...] read more
I'm getting the following error on starting up NServicebus.Host.exe > The runtime has encountered a fatal error. The address of the error was at > 0x9124e4c7, on thread 0x2094. The error code is 0x80131623. This error may be > a bug in the CLR or in the unsafe or non-verifiable [...] read more
> The runtime has encountered a fatal error. The address of the error 0x6a0a7c6d > on thread 0x1f70. The error code is 0x80131623. This may be a bug in the CLR > or in the unsafe or non-verifiable portions of user code. Often the source of > this error formed [...] read more
We're having a problem that NServiceBus crashes after about 4-5 minutes after connection lost to RabbitMQ Server. To reproduce, I started my app, saw that RabbitMQ sees the connections, disconnected my network cable, and waited. After about 5 minutes NServiceBus host crashed. When running in Debug, I got the following [...] read more
I am trying to create a TextBlock control that formats the text it is bound to in some way. To achieve that, I tried to use the CoerceValueCallback of a class deriving from TextBlock to add the neccesary inlines, and then ignore the text. Something like: public class BuggyTextBlock : [...] read more
I've encountered a strange problem. When an item from the Windows start menu is dragged over the application, it crashes. However, if I drag a file from Explorer over it, it is handled correctly (the dragged item displays a red circle with a line through it when it is over [...] read more
In my application project in Visual stuido, I am trying to reference a DLL confused with ConfuserEx (from another project). Even if I use the "none" preset, at runtime, when the DLL is loaded, my application crashes with the following message: Managed Debugging Assistant 'FatalExecutionEngineError' : 'The runtime has encountered [...] read more
I have some text I'm trying to display in xaml, but it looks like it's getting cut off in the middle, but the next word appears. Here's the xaml I have. <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> <Grid.ColumnDefinitions> <ColumnDefinition Width="115" /> </Grid.ColumnDefinitions> <TextBlock TextWrapping="Wrap" HorizontalAlignment="Center" FontFamily="Arial" FontSize="13.33333333">ABCDE IAATA Corp.</TextBlock> </Grid> Which results in this. [...] read more
I'm trying to add automated deletions to expired reliable dictionary objects and it looks like I have to implement my own way according to this: https://stackoverflow.com/a/36466890/7293543 My approach was to use the "RunAsync" task and have it constantly running a while loop. It worked for the first few times but [...] read more
I'm having an issue with WPF's WebBrowser control. It's crashing with the titular error when I'm changing tabs - I think I know why (explained below), but I can't think of a way around it. I'm looking for either ideas on how I might reorganize the code to work correctly, [...] read more
I'm trying (for fun) to redefine String.Empty to be a single space "". Why does this break the CLR framework? Message: > The runtime has encountered a fatal error. The address of the error was at > 0x5814b976, on thread 0xf40. The error code is 0x80131623. This error may be [...] read more
I keep having this error sometimes in a particular case. It happens precisely when I am switching from a visual state to another. I assume it comes from a bad property animation but I wonder what are the conditions in which this exception occurs. Here is the error message: > [...] read more
Following code OpenFileDialog openFileDialog = new OpenFileDialog(); if (openFileDialog.ShowDialog() == true) { } works fine in a WPF project on .NET Framework but i cannot show a dialog in .NET Core. The dialog flickers open for a split second then the program exits with: has exited with code -2146232797 (0x80131623). [...] read more
EDIT: I think the underlying issue is that First() was throwing in the middle of a constructor. From the end of this question: > this code is being called in a constructor for an object created in > RunAsync(), mostly because it's an easy way to get it to run [...] read more
I have StreamInsight client: var quoteStreamable = application.GetStreamable<IntradayQuote>(symbol); var matchQuery = from quote in quoteStreamable.ToObservable() where quote.Symbol == symbol select new MatchPairs { Quote = quote, Order = order }; var sink = application.GetObserver<MatchPairs>(StreamInsightConfiguration.Default.StreamInsightServerSinkName); var clientProcessName = WindowsServiceUtility.InitClientProcessName(order.Id, symbol); if (!application.Entities.ContainsKey(clientProcessName)) { using (matchQuery.Bind(sink).Run(clientProcessName)) { ..... } } I have [...] read more
I have the following basic XAML: <Window x:Class="SomeControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Grid> <WebBrowser x:Name="webBrowser"></WebBrowser> </Grid> </Window> When I'm trying to close the tab that contains the user control I'm getting the following error: > Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem > in 'Some.vshost.exe'. > > Additional information: The runtime [...] read more
My visual studio 2015 is hanging/freezing all the time lately, started recently out of nowhere. It does come back into play usually but sometimes I get a System.OutOfMemoryException error even though it doesn't appear to be going anywhere near my limit! In my windows event logs I can see errors [...] read more
Once enter the Korean-English Convert Key in WPF text box, System.Enviroment.FailFast Exception occurred and Framework crashed. It occurred just once and error message was logged like below. (just 2 logs) * .NET Runtime Error * Application: MainFrame.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: [...] read more
I collected NodeIds (22,000 of them) to List and passed them to tree.SelectSingleNode(NodeID) // Kentico API7 Whether I use tree.SelectSingleNode(NodeID) or its equivalent for NodeAliasPath tree.SelectSingleNode(CMSContext.CurrentSiteName, aliaspath, culture) with both returning a node that allows manipulation of Node data, I get a out of memory error on either line: tree.SelectSingleNode(NodeID) [...] read more
I'm trying to find the vendor id and the product id of a USB card. For this purpose, I use setupapi.dll. When I closed my program I have 0x80131623 (2146232797) appears. I don't know how I can fix it. My code is : result = HidD_GetHidGuid(ref HidGuid); DeviceInfoSet = SetupDiGetClassDevs(ref [...] read more
I have this project dealing with RichTextBox. Current issue I am having is with the response of the algorithm reformatting the RichTextBox contents in real time when user types. It's slower than I expected so I decided to separate out the algorithm in another thread and update the UI asynchronously. [...] read more
I've added a dependency property to my view base class, that is supposed to allow the child UserControls to set some properties on the parent window, one being SizeToContent. When my OnSizeToContent method runs, when it tries to change the main windows's SizeToContent from WidthAndHeight to Manual, I get this [...] read more
I have a radGridView to which I can drop files from the Windows Explorer, and from which I can also drag files to Explorer. However, I need to forbid dragging into itself (duplicating the entries and also generating exceptions). WPF: <telerik:RadGridView Name="radGridView" Drop="OnDrop" DragLeave="radGridView_DragLeave"> <telerik:RadGridView.RowStyle> <Style TargetType="telerik:GridViewRow"> <Setter Property="telerik:DragDropManager.AllowDrag" Value="True" [...] read more
In my complex program TextBox.Text is interconnected with Grid.Width. When I clear TextBox, .NET is crashed. The problem is that inside TextBox.TextChanged I set Grid.Width and inside Grid.SizeChanged I set TextBox.Text. Thus, TextBox.Text is set inside two nested event handlers. Could anyone help to fix this bug without Timer or [...] read more