Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

System.Runtime.InteropServices.COMException (0x80040154):


  • Please log in to reply
1 reply to this topic

#1 subhankarruj

subhankarruj

  • Members
  • 1 posts
  • OFFLINE
  •  
  • Local time:11:09 PM

Posted 19 June 2015 - 03:59 AM

Hi,

I have created an windows application using C# and MySql, it is an 32 bit application. where we are using POPUP.DLL file to display the existing data from the database in a tabular format, where from the end user can select the particular record for further use. till date it was working fine, but as soon as we are trying to install the same application on Windows7 professional 64 bit, the popup is not working....coming up with below errot....

 

System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {8D1D371A-E22F-44A7-8677-2C016BCA5F60} failed due to the following error: 80040154.

 

I have registered the popup.dll file with regsvr32, it is registering perfectly. I have checked the registry entry is there perfectly. I have registered the vbscript.dll, it got registered perfectly.

 

Can anyone help me to solve this issue....

 

the detail error is as follows....

 

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {8D1D371A-E22F-44A7-8677-2C016BCA5F60} failed due to the following error: 80040154.

   at jmd_Payroll.Forms.General.viewPopup(String strQuery) in G:\e\ascent Circuit\2015\Working-Recent\JMDPayroll\mallarPL\Forms\General.cs:line 760

   at jmd_Payroll.Forms.ShiftAllotment.cmdView_Click(Object sender, EventArgs e) in G:\e\ascent Circuit\2015\Working-Recent\JMDPayroll\mallarPL\Forms\shiftallotment.cs:line 385

   at System.Windows.Forms.Control.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

 

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

----------------------------------------

jmd_Payroll

    Assembly Version: 1.0.5646.16315

    Win32 Version: 1.0.5646.16315

    CodeBase: file:///C:/Program%20Files%20(x86)/jmdpayroll/jmd_Payroll.exe

----------------------------------------

System.Windows.Forms

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Data

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

----------------------------------------

System.Xml

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

TextBoxValadations

    Assembly Version: 1.0.2827.21495

    Win32 Version: 1.0.2827.21495

    CodeBase: file:///C:/Program%20Files%20(x86)/jmdpayroll/TextBoxValadations.DLL

----------------------------------------

jmdBL

    Assembly Version: 1.0.5646.16307

    Win32 Version: 1.0.5646.16307

    CodeBase: file:///C:/Program%20Files%20(x86)/jmdpayroll/jmdBL.DLL

----------------------------------------

jmdDAL

    Assembly Version: 1.0.5646.16305

    Win32 Version: 1.0.5646.16305

    CodeBase: file:///C:/Program%20Files%20(x86)/jmdpayroll/jmdDAL.DLL

----------------------------------------

System.Configuration

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

MySql.Data

    Assembly Version: 1.0.7.30072

    Win32 Version: 1.0.7.30072

    CodeBase: file:///C:/Program%20Files%20(x86)/jmdpayroll/MySql.Data.DLL

----------------------------------------

Interop.Popup

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///C:/Program%20Files%20(x86)/jmdpayroll/Interop.Popup.DLL

----------------------------------------

CrystalDecisions.CrystalReports.Engine

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/10.5.3700.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll

----------------------------------------

CrystalDecisions.Shared

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Shared/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Shared.dll

----------------------------------------

CrystalDecisions.Windows.Forms

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll

----------------------------------------

CrystalDecisions.ReportAppServer.CommLayer

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CommLayer/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll

----------------------------------------

CrystalDecisions.ReportAppServer.DataSetConversion

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion.dll

----------------------------------------

CrystalDecisions.ReportAppServer.ClientDoc

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ClientDoc/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll

----------------------------------------

CrystalDecisions.ReportAppServer.DataDefModel

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataDefModel/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll

----------------------------------------

CrystalDecisions.ReportAppServer.Controllers

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.Controllers/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll

----------------------------------------

CrystalDecisions.ReportAppServer.ReportDefModel

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ReportDefModel/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.dll

----------------------------------------

CrystalDecisions.KeyCode

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.KeyCode/10.5.3700.0__692fbea5521e1304/CrystalDecisions.KeyCode.dll

----------------------------------------

System.Web

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_64/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll

----------------------------------------

CrystalDecisions.ReportSource

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportSource/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll

----------------------------------------

crdb_adoplus

    Assembly Version: 10.0.3300.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Program%20Files/Business%20Objects/Common/2.8/bin/crdb_adoplus.dll

----------------------------------------

msvcm90

    Assembly Version: 9.0.30729.4940

    Win32 Version: 9.00.30729.4940

    CodeBase: file:///C:/Windows/WinSxS/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c/msvcm90.dll

----------------------------------------

CustomMarshalers

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_64/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll

----------------------------------------

CrystalDecisions.Enterprise.InfoStore

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.268

    CodeBase: file:///C:/Windows/assembly/GAC/CrystalDecisions.Enterprise.InfoStore/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Enterprise.InfoStore.dll

----------------------------------------

System.Web.Services

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

----------------------------------------

CrystalDecisions.Enterprise.Framework

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.268

    CodeBase: file:///C:/Windows/assembly/GAC/CrystalDecisions.Enterprise.Framework/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Enterprise.Framework.dll

----------------------------------------

CrystalDecisions.Web

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Web/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Web.dll

----------------------------------------

CrystalDecisions.ReportAppServer.XmlSerialize

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.XmlSerialize/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.XmlSerialize.dll

----------------------------------------

 

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

 

For example:

 

<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>

 

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.


Edited by hamluis, 19 June 2015 - 10:04 AM.
Moved from Win 7 to Programming - Hamluis.


BC AdBot (Login to Remove)

 


#2 Slurppa

Slurppa

  • Malware Study Hall Senior
  • 682 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:07:39 PM

Posted 05 August 2015 - 12:01 AM

Have you specified that you are building to 32bit platform? For example in visual studio if your mode is set to Any CPU and you are building it on 64bit platform then it might build it as 64bit.

As far as I know Popup.dll is 32bit so you can't use it with 64bit application.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users