By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,971 Members | 540 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,971 IT Pros & Developers. It's quick & easy.

Failed due to the following error: 80040154

P: 60
(VB.NET) I've been searching for 3 days trying to figure out why this is happening, but I'm out of luck and out of my mind! Anyone have any idea why this is happening? I get this error as soon as I open the application. It works fine on my machine, but when we installed it on a test machine, we get this error.

Expand|Select|Wrap|Line Numbers
  1. 3:46 PM -- An error occurred creating the form. See Exception.InnerException for details.  The error is: Retrieving the COM class factory for component with CLSID {857C49E7-ADC6-11D1-98C1-0060948CAA0A} failed due to the following error: 80040154.
  2.    at SLSClaimantWorkbook.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
  3.    at SLSClaimantWorkbook.My.MyProject.MyForms.get_SLSClaimantWorkbook()
  4.    at SLSClaimantWorkbook.My.MyApplication.OnCreateMainForm() in C:\Documents and Settings\C15919\My Documents\Visual Studio 2005\Claimant Workbook\Claimant Workbook\My Project\Application.Designer.vb:line 35
  5.    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
  6.    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
And the line 35 is this:
Expand|Select|Wrap|Line Numbers
  1.         <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _
  2.         Protected Overrides Sub OnCreateMainForm()
  3.             Me.MainForm = Global.SLSClaimantWorkbook.SLSClaimantWorkbook ' line 35
  4.         End Sub
Oct 18 '10 #1
Share this Question
Share on Google+
1 Reply

P: 60
Oct 20 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Browse more Visual Basic .NET Questions on Bytes