Windows error 0x80131502, -2146233086

Detailed Error Information

COR_E_ARGUMENTOUTOFRANGE[1]

Message"An argument was out of its legal range."
Comment An argument was out of its legal range.

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode19 (0x013)
NameFACILITY_URT[2][3]
DescriptionThe source of the error code is .NET CLR.[2][3]
Error Code5378 (0x1502)

Questions

2votes
2answers

Livecharts Geared throws unhandled ArgumentOutOfRangeException when zoomed to specific position

I have modified the scrollable example to use Rachel Lim's VMMV navigation example and to fetch data from our database. I have also moved some code-behind logic to VM. Everything works fine with LiveCharts.ChartValues, but when using LiveCharts.Geared.GearedValues the library crashes when zoomed in/out to specific point. The data has [...] read more
c#
wpf
livecharts
2votes
1answer

.NET - SelectedRow not returning any value

I am new with .net! I have two gridviews connected to a large database. The first one is returning a list of issues searched by ID while the other is returning the issues searched by subject. I am trying to get the ID from the gridview returning issues from a [...] read more
asp.net
.net
gridview
1vote
0answers

Scalar instead of vector type for bitmap input with ml.net and TensorFlow model

I started to get familiar with ml.Net, especially in context of image classification with a pretrained TensorFlow model. The existing example (https://github.com/dotnet/machinelearning-samples/tree/master/samples/csharp/getting-started/DeepLearning_ImageClassification_TensorFlow) for that task is working fine. I also managed to adapt it to use an image from memory instead of loading it in pipeline. The next step is [...] read more
c#
tensorflow
ml.net
1vote
0answers

Exception when setting OracleParameter to DbType.DateTimeOffset

I have the following code: Oracle.ManagedDataAccess.Client.OracleParameter p; // create p p.DbType = DbType.DateTimeOffset This is throwing: > System.ArgumentOutOfRangeException HResult=0x80131502 > Message=Specified argument was out of the range of valid values. > Source=Oracle.ManagedDataAccess StackTrace: at > Oracle.ManagedDataAccess.Client.OracleParameter.set_DbType(DbType value) at > WindwardReportsDrivers.net.windward.datasource.ado.AdoQueryHelper.setParameter(IDbCommand > cmd, Int32 varNum, Object item) in > C:\git\Jen_2\engine\DotNetEngine\WindwardReportsDrivers\net\windward\datasource\ado\AdoQueryHelper.cs:line > [...] read more
oracle
ado.net
1vote
2answers

Error while connect to RFID reader: The maximum baud rate for the device is 8190

Hi I have a USB RFID Reader/Writer with name "Silicon labs CP210x", I develop a windows app with C# in Visual studio 2015 that could Read/Write on RFID Card, its worked fine... I change my Windows on my notebook (prev Windows and new Windows are Windows 10) and install Visual [...] read more
c#
windows-applications
rfid
baud-rate
1vote
0answers

Visual Studio C# index errors

When I'm running this code: for(int i=0; i<list.Count; i++) { if (list[i].Text.Equals(pid)) { //.... } } I get an error 'index out of bounds', but when using the debugger I can see that: list.Count = 56 i=55 What's causing this error? it seems illogical. Edit: As requested, a more detailed [...] read more
c#
visual-studio
1vote
2answers

Issues with COM DLL calling WCF Service

I have a WCF Service which has a contract like this: (the operation contract is OneWay) [ServiceContract()] public interface IEmpUpdate { [OperationContract(IsOneWay = true)] void SendEmpUpdate(int _empid); } I have to call this SendEmpUpdate method from a COM DLL. I searched in the web and found some examples but that [...] read more
c#
wcf
com
0votes
1answer

MatchCollection Result Not Consistent

I'm getting inconsistent/error results for a Regex MatchCollection using C#; In my first example, the MatchCollection works. Here is the code that works. string temp1 = "<td nowrap CLASS=\"sportPicksBorderL2\" style=\"width: 150px;\">&nbsp;\n<B>deGrom, J</B>&nbsp;\n</td>"; Match inputa = Regex.Match(temp1, @"<B>(.*?)</B>", RegexOptions.IgnoreCase); MatchCollection inputb = Regex.Matches(temp1, @"<B>(.*?)</B>", RegexOptions.IgnoreCase); string result1 = inputb[0].Groups[1].Value.ToString(); // Value="deGrom, [...] read more
regex
pattern-matching
match
0votes
1answer

Does For Each reference objects itself or their values?

Here is my problem : i'm working with some ComboBox in my WPF app, and I want to fill them with ComboBoxItemPlus, which are basicly ComboBoxItem with a few more properties in order to link them with data more easily. My problem is that I want to fill these ComboBox [...] read more
vb.net
foreach
combobox
0votes
1answer

How to use SODA.net and App Token in asp.net-core MVC

As per Socradata.com suggest, I have created both and an Application Token and an Application Key. When I query using a Soda.net Click using the App Token and username and password like this: var client = new SodaClient(sodaHost, sodaAppToken, user, pwd); var soql = new SoqlQuery().Select("draw_date", "winning_numbers", "mega_ball", "multiplier").Where("draw_date > [...] read more
asp.net-mvc
asp.net-core
socrata
soda
0votes
2answers

Index ArgumentOutOfRangeException when DataGrid refreshes itself after an item is added

I'm using DataGrid to display a custom collection PersonCollection : List<Person>, INotifyCollectionChanged (just learning WPF with painful examples from a book). The program works if I add items to an initially empty collection, and also when I remove items from a collection created with several items. In those cases the [...] read more
wpf
datagrid
0votes
0answers

How to create a new DataGridViewRow and specify values using column names, not indices?

I have a DataGridView. I try to add rows to it by cloning the add-new-row row. When I add a row, I set some of the values of its cells. I try to access the DataGridViewCell instances by the Name of their column. Before the UI is shown, I do [...] read more
c#
winforms
datagridview
datagridviewcolumn
0votes
1answer

DrawingsPart not being added to the WorksheetPart. Specified argument was out of the range of valid values

Using the Open Xml SDK, I added a DrawingsPart to a WorksheetPart and then later I tried referencing the DrawingsPart from within the WorksheetPart but I receive an ArgumentOutOfRangeException. Here is the relevant snippet of code: // Add a new drawings part to the worksheet var drawingsPart = worksheetPart.AddNewPart<DrawingsPart>(); // [...] read more
c#
openxml
openxml-sdk
-1votes
2answers

I cannot change the header in "dataGridView"

This is my code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace DuyuTekStokApp { public partial class StockCard : Form { //SqlConnection connect = new SqlConnection("Data Source = (localdb)\\MSSQLLocalDB; AttachDbFilename=|DataDirectory|StockControl.mdf; Integrated Security = True"); SqlConnection [...] read more
c#
sql-server
visual-studio
-1votes
1answer

How do I make this name generator completely random

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace RNG { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { Adjective f1 = new Adjective(); textBox1.Text = f1.RandomString(); } private [...] read more
c#
visual-studio
-1votes
1answer

ServiceProvider must have at least one public constructor to be plugged in by StructureMap

I am trying to use an internal plugin (organisation specific) for some task implementation, in order to call the methods through plugin I need to pass the dependencies. I am done with the initial part but when I try to register in PreAppStart using: config.For<IServiceProvider>().Use<ServiceProvider>() I get below error: System.ArgumentOutOfRangeException [...] read more
c#
.net
dependency-injection
structuremap
service-provider
-1votes
1answer

reliably parsing data from string

I've got a string of data that I am trying to parse so that they can be stored into a database. A sample of the data is shown below: > Finish@Store@000019411:02:48.499 1 0C 138D71802103D@000080211:03:16.530 1 0F > 138D81802102B@000088211:04:10.546 1 0D 138D918021034@000023011:04:45.809 1 0F > 138DA1802103B@000019411:04:47.202 1 08 238DB1802102D@000025111:05:51.550 1 0F [...] read more
c#
string

Comments

Leave a comment

(plain text only)

Sources

  1. https://github.com/dotnet/coreclr/blob/v1.1.0/src/inc/corerror.xml
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  3. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0