Error 80040154 Retrieving COM Class Factory

Sep 26, 2006

I have a VB.NET application that references a 3rd party Com component. The file is Interop.WINTSRRLIB.dll. My VB.NET application has a project reference to the COM comonent which lives in the directory: C:WaveTracker. The application runs fine. When I sent it to my customer, he installed in on his desktop machine. It runs fine. Then he copied all of the application files (which live in C:WaveTracker) to his laptop. However, on his laptop, he gets the error:

"System.Runtime.InteropServices.COMException (0x80040154). Retrieving the COM class factory for component xxxx failed due to the following error: 80040154" The customer swears he has the .NET 2.0 Framework installed properly on his laptop. Any ideas on how I can get over this problem???

View 1 Replies


ADVERTISEMENT

80040154: Retrieving The COM Class Factory For Component With CLSID Error In .NET?

Aug 31, 2009

I am getting the below error while i am using Microsfot excel interop. In my server there no excel installation. With out excel installation i want to export data to excel. So i used excel interop. But i am getting the below error.

Error: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154.

I am using the below code. It is working, if the machine have excel installation, But i dont have excel installation in my server.

Dim lobjExcelApp As Excel.Application
Dim lobjExcelWrkBk As Excel.Workbook
Dim lobjExcelWrkshtFee As Excel.Worksheet
Dim lobjsht As Excel.Worksheet

[code]....

View 6 Replies

Retrieving The Com Class Factory For Component With Clsid Failed Error: 80040154 ADOX/?

Dec 18, 2009

I have a line of code that is producing the error: Retrieving the com class factory for component with clsid failed error: 80040154 ADOX The line of code is:

Dim
ADOXTable As New ADOX.Table

This error only occurs on one computer.

View 3 Replies

Getting Error "Retrieving COM Class Factory For Component With CLSID?

Feb 1, 2010

I have created a small SMS apllication with Windows application.Ihave used two dll called "lcgsmsms" and "Interop.excel".But even after adding all those dll ,while building my aplication

(1)it shows ambiguous column name and after debugging ,
(2)It shows SQL server could not connect remote connections and
(3)getting error "Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154."

View 1 Replies

Retrieving The COM Class Factory For Component With CLSID , Class Not Registered

Apr 3, 2012

Getting error like :

Retrieving the COM class factory for component with CLSID , class not registered at RichTechSTK1.SIMToolkit, etc

having put MSCOMM32.OCX in windows/system32, and added relevant .dlls.

View 3 Replies

Retrieving The COM Class Factory For Component

Feb 22, 2011

I have integrated the innovative gateway (third party payment gateway) into our asp.net ( language vb.net) web application. while doing transation we are getting the following error in server.

Server Error in '/' Application.

Retrieving the COM class factory for component with CLSID {7A1284E2-7E00-46B5-8440-FC28305E6A27} failed due to the following error: 80040154.

But in my localhost am getting the failure transaction without getting any error.

View 11 Replies

Retrieving COM Class Factory For Component With CLSID. 8000401a

Aug 26, 2011

I created a VB.NET application that takes in parameters from a javascript file, uses those parameters to then retrieve info from a database, then send back to the javascript. When I locally test the webservice however, this is the error message I get:Retrieving the COM class factory for component with CLSID {C2C0AFBE-102A-4A8D-A792-06B4063E863F} failed due to the following error: 8000401a.Everything I've googled on the error says it has something to do with the either a word or excel file... which the process has nothing to do with neither. [code]

View 7 Replies

Htmlelement - COM Registration Error (80040154 Class Not Registered) Using HTMLTextAreaElement?

Dec 27, 2011

I am trying to insert text into a text area in a webpage using the following code:

Dim webTextArea As New HTMLTextAreaElement
WebTextArea = Main.WebBrowser1.Document.GetElementById("name of web text area").DomElement
WebTextArea.value = "text to be inserted"

[code].....

View 1 Replies

80040154 Error - Interop.outlook.namespace Class Not Registered - CLSID={0006308B-0000-0000-C000-000000000046}

Dec 15, 2010

Am using visual studio 2010 vb. Using .net have added a reference to microsoft.office.interop.outlook type=.net version 12.0.0.0 copy local = false path = ...microsoft visual studio 10.0/../pia/office12 Using regasm.exe microsoft.office.interop.outlook.dll I have registered this assembly. Using the /regfile option I have viewed the contents. The clsID that it can't find ( CLSID={0006308B-0000-0000-C000-000000000046}) is not in this regfile. I would think that it should be.This classID on the MSDN site brings me to the Office 2010 Outlook.Namespace Class. For Office 2007 no clSID is listed.In the GAC there is microsoft.office.interop.outlook.dll version 12.0.0.0 is registered.When I run my application I get the above runtime exception.

View 3 Replies

Have A Error: 80040154?

Jan 5, 2010

I'm trying to get this COM DLL's to work in VB.NET that allow to display a mapand when i try to run the project in Visual Studio 2008 i get the following error: Retrieving the COM class factory for component with CLSID {345E03ED-2BB8-11D1-9397-0060973831CD} failed due to the following error: 80040154.I've tried to use processmonitor to find something, but i can't even find the CLSID.The error is found right in the beginning at: "Dim objDisplayRule As New MAPSRVLib.GWMDisplayRule"

View 2 Replies

Failed Due To The Following Error: 80040154

Oct 18, 2010

(VB.NET) 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.

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.
at SLSClaimantWorkbook.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-

[code]....

View 1 Replies

VB Failed Error: 80040154

Apr 14, 2009

I am getting this error. An error occurred creating the form. See Exception.InnerException for details. The error is: Retrieving the COM class factory for component with CLSID {662A2901-FF10-11D1-BE10-00A0C9204FDC} failed due to the following error: 80040154. i tried many thing such as register dll , modfing CPU to 32 and i still see it.

View 2 Replies

Interop.Excel Failed Due To The Following Error: 80040154?

Sep 11, 2009

I get this exception message when I run my web site in my development pc. I've found many links that say that what I have to do is to register the dll, modify the COM properties and other when I pass my project to the server.Now, the curious thing: in the same computer I created a user control that create an excel document and It works fine, but, I took the control and I put it inside the other Web Site project with all the same references and it throws me this exception. I did not change

View 1 Replies

Find A Good Database (factory) Class With Connectionpooling?

Aug 12, 2009

I found a lot of information about how to make a database factory or how to deal with connection pooling but i nowhere found a complete solution.I have always used my own solutions, but they're not complete i think or could be improved.Are there some good designed classes any of you use that i can find on the net?

View 1 Replies

C# - Calling A Method In A FACTORY Class When Application Is Closed / Disposed Without Using Application's Dispose() Method

Mar 28, 2012

I am indifferent if you are a VB.NET or C# or other .NET developer. I have a FACTORY class like the following:

[Code]...

View 2 Replies

VS 2010 Label Retrieving Data From Another Class?

Sep 3, 2010

I have this class:

Public Class Pizza
Public Sub New(ByVal name As String, ByVal cost As Decimal)
Me.Name = name

[Code]....

But I want the Cost property to be displayed in a label as I add each item into a ListBox. In context, I add an item from a listbox into another and when I do the Cost of each item will be added into the label. Like a checkout system and that's the running total.

View 10 Replies

Error In Retrieving Data?

Dec 1, 2011

I have MSaccess database.I have 2 tables 1) CUSTOMER TABLE=----CUSTOMER ID-Primary --AUTO NUMBER2) ORDER TABLE =----(CUSTOMER ID--Foreign KEY) Now From the front end using VB.net I have an page in which if i enter Customer details and press button add .I have to INSERT into values into CUSTOMER TABLE and I Also at the same time INSERT into ORDER TABLE with this CUSTOMER ID which i generated now.How is it possibl

View 13 Replies

Error When Retrieving Value From Database?

May 14, 2012

Dim NewOutwarsDeliveryNoteNumber As Integer
Dim iSql As String = "SELECT MAX(OutwardsRefNumber) FROM NewOutwards"
Dim da As OleDbDataAdapter = New OleDbDataAdapter(iSql, LoginForm1.Conn)

[code]....

when I try and run this code it gives me the error that says "Column 'OutwardsRefNumber' does not belong to table ."BUt I am 100% sure this column is in my table. what can I do to correct it?

View 1 Replies

Error While Retrieving Data

Dec 4, 2011

I have a code here which is to insert values in both the tables which has Relationship.[code]...

View 4 Replies

Error While Retrieving Image From Database?

Nov 18, 2011

I am running into a problem while attempting to to retrieve data from a database. One of the items is an iage and it's throwing an error when I try to convert the byte array to a bitmap.Here is what I have. The exception "Parameter is not valid." is being thrown when on the line bmpImage = New Bitmap(stream)

Private Sub GetCatList()
Dim strSelect As String
strSelect = "Select CategoryID, CategoryName, Description, Picture"

[code]....

View 6 Replies

Error While Retrieving Records From MS Access?

Jun 18, 2009

when this button is click, it will retrieve all the records in different fields in MS Access 2007 and display onto the RichTextBox. But when i run the code and press the retrieve button, an error occurs. (NullReferenceException was unhandled. Object reference not set to an instance of an object.) Plus im sure my code to display records on richtextbox is wrong as i created another project purely with a button and a richtextbox, only the last field in access is displayed.

Imports System.Data.OleDb
Public Class Form1
Inherits System.Windows.Forms.Form

[code]......

View 1 Replies

Error Coming Up Retrieving Messages From Outlook

Apr 22, 2010

I keep having this error coming up. Im retrieving messages from outlook. But it bring up this error.

View 4 Replies

Load Balancing - Error When Retrieving Computer Name Or IP

Mar 14, 2012

My client is having 2 application servers (111.222.333.111 & 111.222.333.222) for load balancing. The main link is [URL]. My clients are saying sometimes they can log in and sometimes they cannot log in. This is what I found out:

[Code]...

View 4 Replies

Retrieving Data From A String Giving Error

Jun 29, 2009

Trying to run the following code but am receiving an string to integer error. Basically, I am running a report through code and trying to retrieve a number from a line of code by removing the line description and spaces. Having problems trying to figure out how to do that.

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim strURL As String

[Code].....

View 3 Replies

IDE :: Error - The Class Tellerform Can Be Designed, But Is Not The First Class In The File

Jan 18, 2010

I'm having a problem with a class issue in VB 2005. The error message reads "The class Tellerform can be designed, but is not the first class in the file. Visual Studio requires that you use the first class in the file. Move the class code so that it is the first class in the file and try reloading the designer again."

Imports
System.IO
Imports

[code]....

View 2 Replies

Asp.net - When Should The Factory Pattern Be Used

Jun 22, 2009

when should a trigger in your head go off signifying "Aha! I should use the factory pattern here!"? I find these moments will occur with many other design patterns, but never do I stop myself and think about this pattern.

View 6 Replies

.net - Implement A Formula Factory?

Jul 3, 2009

First the requirements: By management requirements, I can't use open source code. I need the users to define their own formulas for a project. My users don't know how to code. The formulas need to be saved somehow, and being read later. I need to debug the formulas written, so I need to be able to see and understand them. The formulas used are quite specialized and specific (actuarial formulas). Adding new formulas (functionality) must be done in fast and maintainable way.

[Code].....

View 2 Replies

C# - WCF, Channel Factory, And Exceptions?

Feb 2, 2010

Using vs2008, vb.net, C#, fw 3.5

I am consuming my service in my client

Service is hosted in IIS

Client(winforms MDI) is generated using svcutil using /l, /r, /ct, & /n switches

Service and client both use a MyEntities.dll

I am using nettcp with TransportWithMessageCredential. I cache the proxy in the main form

if Membership.ValidateUser(UsernameTextBox.Text, PasswordTextBox.Text)
_proxy = new MyServiceClient
_proxy.ClientCredentials.UserName.UserName = "username"[code].....

Could I subscribe to the _proxy.InnerChannel.Faulted and do that clean up there?

View 2 Replies

Get The Factory Or Unique Id Or Serial No Of The Scanner?

Sep 20, 2011

In Motorola MC55, I'd like to get the factory or unique id or serial no of the scanner. How to code it in vb.net?

View 1 Replies

Handling Task Factory Exceptions?

Apr 18, 2011

I have set up a process to create new tasks to handle file processing. A problem arised where I received and unhandled exception error and just clicking on the continue button, the main process continued to run. Now I also found that within the child task I was having a file conflict error and as the tasks run as separate .exe i was under the impression that everything would have been thread safe. So for the first issue here is the task creation in the main process..GProcess is a complete project on its own consisting of 6 classes. This is added as a class library reference to the main process class form1

Public Class Form1
..Private parser as GProcess.module = new GProcess.module()
dim factory as new taskfactory

[code].....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved