problem migrating from vb to vb.net

Mar 2 2010 1:18 AM
hi experts,i need yr help guys,
I am converting vb application to vb.net 2005,

It generates lots of error,
i fixed the all error,
but still i am getting the problem,
at the time of form loading it gives the error,

ie
The type initializer for 'TimeandAttendanceSystem.Module1' threw an exception.

when i click on "View Detail"
{"The type initializer for 'TimeandAttendanceSystem.Module1' threw an exception."} - {"The type initializer for 'TimeandAttendanceSystem.Module1' threw an exception."}

Inner exception - {"Retrieving the COM class factory for component with CLSID {C58A8F87-CAA0-11D8-8486-0050BA8CA867} failed due to the following error: 80040154."}

Answers (2)