| View previous topic :: View next topic |
| Author |
Message |
arthomas73
Joined: 28 Jan 2008 Posts: 2
|
Posted: Mon Jan 28, 2008 5:27 pm Post subject: exception instantiating Smpp object on 64 bit OS |
|
|
I get this error on my production environment is Windows Server 2003 Standard 64 bit Edition.
Unhandled Exception: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {A2CB1725-76AC-41FD-85F4-16066B3432AE} failed due to the following error: 80040154.
at SmppTest.Module1.getSmppConnection() in C:\Documents
y Documents\Visual Studio 2005\Projects\Module1.vb:line 46
this is line 46:
smppConnection = New ASmsCtrl.Smpp
I have installed the demo application on the 64 bit machine and it works.
Also when I run it on my 32 bit OS development machine. It makes it past this line.
I suspect the 64 bit os is the problem because when I googled I found these types of threads:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=454954&SiteID=1
I met a similiar error when I developed a web application which had a reference to a extra com on the windows server 2003 x64 platform using vb.net 2005. The web app runs smoothly in debug mode, but once I deploy it to the IIS default web site, a 80040154 error caused by that com is reported. I do the same thing on 32 bit platform, everything is ok. |
|
| Back to top |
|
 |
Leon
Joined: 11 Jul 2007 Posts: 405
|
Posted: Tue Jan 29, 2008 7:23 am Post subject: |
|
|
Hi,
Most probably this is caused by the .Net security. Please try to register the control in the same directory as the visual studio project.
Hope this helps,
Leon Steijger
ActiveXperts Software |
|
| Back to top |
|
 |
arthomas73
Joined: 28 Jan 2008 Posts: 2
|
Posted: Tue Jan 29, 2008 10:26 pm Post subject: |
|
|
| it runs in visual studio on 32 bit windows OS. i'm quite certain the problem is the 64 bit OS. do you guys have a version of the dll for 64 bit processor? |
|
| Back to top |
|
 |
Leon
Joined: 11 Jul 2007 Posts: 405
|
Posted: Wed Jan 30, 2008 8:05 am Post subject: |
|
|
Hi,
We do not have a 64bit version at this moment.
The 32 bit version should also work for 64bit, because i know some customers using the control on 64bit.
I can give it a try later this week.
Leon Steijger
ActiveXperts Software |
|
| Back to top |
|
 |
|