login about faq

Anyone else seen this error:

set mailman = Server.CreateObject("ChilkatMail2.ChilkatMailMan2")

mailman.ConnectTimeout = 10

mailman.MailHost = popserver

--> set bundle = mailman.CopyMail() <-- this returns nothing and sets LastError

The error is:

ChilkatLog: CopyMail: DllDate: Dec 12 2012 UnlockPrefix: xyz Username: xyz$ Architecture: Little Endian; 64-bit Language: ActiveX / x64 VerboseLogging: 0 CoCreateInstance (ChilkatEmailBundle2) 1st try failed. A specified class is not registered in the registration database. Also can indicate that the type of server you requested in the CLSCTX enumeration is not registered or the values for the server types in the registry are corrupt.CoCreateInstance (ChilkatEmailBundle2) 2nd try failed. A specified class is not registered in the registration database. Also can indicate that the type of server you requested in the CLSCTX enumeration is not registered or the values for the server types in the registry are corrupt.Failed. --CopyMail –ChilkatLog

I tested this code and it worked fine:

set x = Server.CreateObject("ChilkatMail2.ChilkatEmailBundle2")

set x = nothing

Any specific features need to be installed on Win2008?

asked Mar 22 '13 at 21:43

swimgt's gravatar image

swimgt
1112

edited Apr 05 '13 at 14:16


Bump ... anyone?

link

answered Apr 05 '13 at 14:15

swimgt's gravatar image

swimgt
1112

The LastErrorText indicates that you are using the 64-bit ActiveX:

Language: ActiveX / x64

I suspect your test with the VBScript is creating the 32-bit ActiveX instance:

set x = Server.CreateObject("ChilkatMail2.ChilkatEmailBundle2")

On a 64-bit computer, there are entirely separate registries for 32-bit and 64-bit. My guess is that the 32-bit ChilkatMail2.ChilkatEmailBundle2 is correctly registered in the 32-bit registry, but the 64-bit ChilkatMail2.ChilkatEmailBundle2 is NOT correctly registered in the 64-bit registry.

Re-register the 64-bit ChilkatMail2_x64.dll in the 64-bit registry, and I suspect the problem will be solved. See this for more information about registering a 64-bit ActiveX correctly: http://www.cknotes.com/?p=361

link

answered Apr 05 '13 at 15:35

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

All the DLLs are registered in a stand-alone COM+ app (64 bit only). This is what I see in COM+ when I run the first set of code:

alt text

Here's what I see when I create the bundle object by itself:

alt text

So I think I'm creating the 64 bit version both times. Yes, just verified by trying to install a 32 bit component in that COM+ app and it would not allow it so this is definitely all 64 bit.

link

answered Apr 05 '13 at 16:06

swimgt's gravatar image

swimgt
1112

edited Apr 05 '13 at 16:16

Bump ... anybody have any thoughts?

link

answered Apr 16 '13 at 18:02

swimgt's gravatar image

swimgt
1112

Just tried this on Win2003 (32 bit) with the 32 bit Chilkat components, v9.4. Looks like there is a problem running these components from COM+.

I tried giving the COM+ application admin rights but no change - same error as above. It appears to be a problem with the components. Haven't had this problem with any other vendor.

ChilkatLog: CopyMail: DllDate: Dec 12 2012 UnlockPrefix: xyz Username: WWW:NETWORK SERVICE Architecture: Little Endian; 32-bit Language: ActiveX VerboseLogging: 0

CoCreateInstance (ChilkatEmailBundle2) 1st try failed. A specified class is not registered in the registration database. Also can indicate that the type of server you requested in the CLSCTX enumeration is not registered or the values for the server types in the registry are corrupt.CoCreateInstance (ChilkatEmailBundle2) 2nd try failed.

A specified class is not registered in the registration database. Also can indicate that the type of server you requested in the CLSCTX enumeration is not registered or the values for the server types in the registry are corrupt.Failed. --CopyMail --ChilkatLog

link

answered May 31 '13 at 13:59

swimgt's gravatar image

swimgt
1112

Just checking in if anyone is using the new 9.4 components in COM+?

link

answered Jun 11 '13 at 16:29

swimgt's gravatar image

swimgt
1112

bump, anyone using COM+?

link

answered Jun 28 '13 at 17:37

swimgt's gravatar image

swimgt
1112

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4
×1

Asked: Mar 22 '13 at 21:43

Seen: 1,406 times

Last updated: Jun 28 '13 at 17:37

powered by OSQA