I’d suggest checking for an inner exception. If there isn’t one, check your logs for the exception that occurred immediately prior to this one.
This isn’t a web-specific exception, I’ve also encountered it in desktop-app development. In short, what’s happening is that the thread receiving this exception is running some asynchronous code (via Invoke(), e.g.) and that code that’s being run asynchronously is exploding with an exception. This target invocation exception is the aftermath of that failure.
If you haven’t already, place some sort of exception logging wrapper around the asynchronous callbacks that are being invoked when you trigger this error. Event handlers, for instance. That ought to help you track down the problem.
Good luck!
Related Posts:
- HTTP Error 503, the service is unavailable
- How to resolve “Server Error in ‘/’ Application” error?
- Chrome returns “Bad Request – Request Too Long” when navigating to local IIS Express
- What does ‘IISReset’ do?
- What does ‘IISReset’ do?
- ORA-12154 could not resolve the connect identifier specified
- What are .ashx files in an ASP.NET application?
- Does PHP supports MVP pattern?
- Server.Transfer Vs. Response.Redirect
- W3WP.EXE using 100% CPU – where to start?
- HTTP Error 403.14 – Forbidden – The Web server is configured to not list the contents of this directory
- Error :The remote server returned an error: (401) Unauthorized
- Exception of type ‘System.OutOfMemoryException’ was thrown.
- Cannot read configuration file due to insufficient permissions
- A potentially dangerous Request.Form value was detected from the client
- Could not load file or assembly ‘Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’
- How to Determine IUSR Password
- ASP.NET Why are sessions timing out, sessionstate timeout set
- What does aspnet_regiis.exe do
- drop down list value in asp.net
- Cannot read configuration file due to insufficient permissions
- Can you recommend a .net template engine?
- How do I resolve “HTTP Error 500.19 – Internal Server Error” on IIS7.0
- Asp.net Hyperlink control equivalent to
- Error ‘2035’ (‘MQRC_NOT_AUTHORIZED’) While Connecting to MQ
- debug=true in web.config = BAD thing?
- Url.Action parameters?
- What is the difference between ASP.NET and ASP.NET MVC?
- Failed to load resource: the server responded with a status of 401 (Unauthorized) /App/AngularJS/angular.min.js
- The following sections have been defined but have not been rendered for the layout page “~/Views/Shared/_Layout.cshtml”: “Scripts”
- The following sections have been defined but have not been rendered for the layout page “~/Views/Shared/_Layout.cshtml”: “Scripts”
- ASP.NET DateTime Picker
- Could not load file or assembly ‘Microsoft.CodeDom.Providers.DotNetCompilerPlatform
- a page can have only one server-side form tag
- “This operation requires IIS integrated pipeline mode.”
- Could not load file or assembly ‘Microsoft.ReportViewer.WebForms’
- Maximum request length exceeded.
- Could not load file or assembly Exception from HRESULT: 0x80131040
- The localhost page isn’t working. localhost redirected you too many times
- Response Content type as CSV
- Unrecognized attribute ‘targetFramework’. Note that attribute names are case-sensitive
- IIS error, Unable to start debugging on the webserver
- How to move div vertically down using CSS
- How to troubleshoot “System.Web.HttpException (0x80004005): File does not exist”?
- jquery $(this).id return Undefined
- How handle Application Error Exception code: 0xc00000fd
- C# function to return array
- “The transaction log for database is full due to ‘LOG_BACKUP'” in a shared host
- jQuery UI ” $(“#datepicker”).datepicker is not a function”
- Manually raising (throwing) an exception in Python
- C# HttpClient An existing connection was forcibly closed by the remote host
- Exception in thread “main” java.util.NoSuchElementException
- Floating point exception (core dumped)
- Different between ./ , ../ , ../../ , ~/ on file path(URL) in asp.net
- How can I safely create a nested directory in Python?
- What could cause java.lang.reflect.InvocationTargetException?
- What does “Fatal error: Unexpectedly found nil while unwrapping an Optional value” mean?
- JavaFX – Exception in Application start method? [duplicate]
- How to resolve “Input string was not in a correct format.” error?
- ASP.NET 5 MVC: unable to connect to web server ‘IIS Express’
- Why is this code throwing an InvalidOperationException?
- How to add a default Default.aspx to a ASP.NET Web Application Project?
- The request was aborted: Could not create SSL/TLS secure channel
- Net 2.0 Framework Service Pack 2 Issue
- wntdll.pdb not loaded – Can’t see the exception
- Exception in thread “main” java.util.NoSuchElementException: No line found
- java.net.MalformedURLException: no protocol
- “NoClassDefFoundError: Could not initialize class” error
- Invalid length for a Base-64 char array
- Why am I getting a “Could not find a part of the path” exception?
- limitations of using @Html.EditorForModel
- WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for ‘jquery’. Please add a ScriptResourceMapping named jquery(case-sensitive)
- Why do I get “Exception; must be caught or declared to be thrown” when I try to compile my Java code?
- Catch multiple exceptions in one line (except block)
- How to properly ignore exceptions
- What is difference between Errors and Exceptions?
- django MultiValueDictKeyError error, how do I deal with it
- What is the difference between “@Scripts.Render” and “
Recommended Hostings
Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.
FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.