I get this error while attempting to run a visual basic.net program on a customer's pc.
This is the list of references I'm using:
I've researched this error and it seems this is either a .Net Framework issue or a missing or unregistered dll. I beleive this error is happening before my form load even attempt to run.
I found the below subroutine while researching this error so I've added this but would like further thoughts on how to isolate what the cause is as this error seems generic and has many causes.
Private Sub WorkerThreadHandler(ByVal sender As Object, ByVal args As UnhandledExceptionEventArgs)
If Not TypeOf args.ExceptionObject Is Threading.ThreadAbortException Then
Dim exc As Exception = args.ExceptionObject
Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
AddHandler AppDomain.CurrentDomain.UnhandledException, AddressOf Me.WorkerThreadHandler
Your assistance would be much appreciated.