

The component makers say that this has been fixed in the latest version of their component which we are using in-house, but this has not been given to the customer yet. This is often an indication that other memory is corrupt Another section of the same program uses a third party component which is effectively a dotnet wrapper around a native dll and this component does have a known issue where very occasionally, you get aĪttempted to read or write protected memory. There is one other piece of information that may or may not be relevant. It is running Vista Business, has 2GB of memory and according to Task Manager was only using about half of that with our application just about 200Mb. The computer in question did not seem to be stressed out. However it did not occur again after closing and restarting our application. If they opted to ignore the error, then the program continued working but the error re-occurred when this routine was next run. The error was 'caught' by an unhandled exception routine which normally will close down the program, but has an option to ignore and continue. Hence it may or may not have been this error.įrom the stack-trace, the actual error was when constructing a class which does not directly call any interop code, but perhaps complicated by the fact that the object may be part of a list that is databound to a DevExpress Grid. They were unable to give me more details and I could not find any logged errors. I have learnt from experience, not to take this description too literally, as it usually means that someone relating to the computer is not working as expected. They mentioned that in the last month, the computer has twice 'stopped working'. Whenever a user reports an error such as - External component has thrown an exception is there anything that. This may or may not have been a one off error. Scenario : One user (using a program my company wrote) has reported this error.

Is there anything that I as a programmer can do to determine the cause? SEHException - External component has thrown an exception? Fill(DataTable dataTable) +107įacematch.btn_submit_Click(Object sender, EventArgs e) +97

(It also connects with the corresponding SQLconnection to SQL Server without the problem below). It connects to an Access database with an oledbconnection and the 2013 Access Runtime.
EXTERNAL COMPONENT HAS THROWN AN EXCEPTION WINDOWS
This is a Windows Forms application using VB.Net and VS2012. Fill(DataTable dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) +162 I need some help diagnosing an SEHException: External component has thrown an exception. FillInternal(DataSet dataset, DataTable datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +221 Fill(DataTable dataTables, IDataReader dataReader, Int32 startRecord, Int32 maxRecords) +283 FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue) +153 FillLoadDataRow(SchemaMapping mapping) +137 ReadColumn(Int32 i, Boolean setTimeout) +223 ReadSqlValue(SqlBuffer value, SqlMetaDataPriv md, Int32 length, TdsParserStateObject stateObj) +725754 Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Please review the stack trace for more information about the error and where it originated in the code.Įxception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.Īn unhandled exception was generated during the execution of the current web request. Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746Įxception of type 'System.OutOfMemoryException' was thrown.ĭescription: An unhandled exception occurred during the execution of the current web request. Page.RaisePostBackEvent(NameValueCollection postData) +33 Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7 (String DataFilesPath) +0įacematch.btn_submit_Click(Object sender, EventArgs e) +218 With just a little usage, I get this error It connects to an SQL Server database on my virtual dedicated server. I have an aspx page that communicates with a webservice I have.
