title: An error occurred creating the form when Debugging code
body: <p>Hy friends</p>
  
  <p>I had developing  a application to fetch data from a biometric fingerprint machine but when I run it in VS2010  its complete build sucessfully and then gives an error</p>
  
  <pre><code>System.InvalidOperationException was unhandled
    Message="An error occurred creating the form. See Exception.InnerException for details.  The error is: Retrieving the COM class factory for component with CLSID {00853A19-BD51-419B-9269-2DABE57EB61F} failed due to the following error: 80040154."
    Source="CardManagement"
    StackTrace:
         at Card.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
         at Card.My.MyProject.MyForms.get_Card()
         at Card.My.MyApplication.OnCreateMainForm() in C:\Documents and Settings\XPMUser\Desktop\card\Card Management\My Project\Application.Designer.vb:line 35
         at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
         at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
         at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
         at Card.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
         at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
         at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
         at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
         at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.ThreadHelper.ThreadStart()
  </code></pre>
  
  <p>CAn any one help I am running out of time.I spend 6 hrs reading related post</p>