Search The ForumSearch   RegisterRegister  LoginLogin

General Issues

 AfterLogic Forum : General Issues
Subject Topic: can’t create serverobject! Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Markus
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 26 October 2004 at 8:19am | IP Logged Quote Markus

I installed Mailbee on the microsoft 2000 server and then registered the dll.

I have tried to restart the server and close my development programs. I have also tried to reinstall the Mailbee, but all i get is this error message:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/helpdesk/cron/pop3todb.asp, line 16

Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp

The code generating this is taken from the Mailbee documentation...

Grateful for solutions...

Markus Sweden
Back to Top View Markus's Profile Search for other posts by Markus
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 26 October 2004 at 9:59am | IP Logged Quote Alex

This error is "Class name is invalid" -- CreateObject failed to find the class due the following reasons:

- No regsvr32 was run or there was error with registering. Seems not to be your case.

- Incorrect ProgID name. Not your case too.

- Security of the registry was modified so Windows can't read registry information related to MailBee.

- File/directory permission is too restrictive

To determine whether it's registry permission related problem:
- add IIS anonymous user (usually IUSR_YOUR_SERVER_NAME) to the Administrators group. it's better to restart IIS now with 'iisreset' command
- if your ASP page works now, this proves there was registry permission problem.

If test page still doesn't work, file permission problem can be also a case. Go to the folder where MailBee is installed and check file/directory permissions to allow IUSR_YOUR_SERVER_NAME to read from this folder. Or, you can jsut move MailBee.dll to the place where IUSR_YOUR_SERVER_NAME can certainly read files, and reregister MailBee there.

Please let us know whether it helped you.

BTW, if you do not want to have IUSR_YOUR_SERVER_NAME in Admininstrators group, and the problem was registry-related, you can remove IUSR_YOUR_SERVER_NAME from Admininstrators group and then manully set registry permissions for MailBee.dll using Regedt32 (not regedit!) utility. However, this is complicated enough and requires good understanding of Windows registry.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
Markus
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 27 October 2004 at 10:06am | IP Logged Quote Markus

I am very sorry, I installed Mailbee on the wrong server :-) Looks to work fine now. Will be trying it out to see if we buy it...

Thank you for very professional support!

Greetings
Markus
Back to Top View Markus's Profile Search for other posts by Markus
 
kssoftware
Newbie
Newbie


Joined: 11 November 2004
Online Status: Offline
Posts: 3
Posted: 11 November 2004 at 1:49am | IP Logged Quote kssoftware

Hi Alex
I am trialling the software and the only way we can get it to work with ASP is by making the IUSR_... a member of the Administrators group, which is not ideal. We tried using regedt32 and giving complete control to all registry keys for the MailBee.IMAP4 class but it did not work. Any suggestions would be welcome as I have purchased the product (awaiting licence key) it looks great.
Back to Top View kssoftware's Profile Search for other posts by kssoftware
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 11 November 2004 at 8:01am | IP Logged Quote Alex

Have you tried file permissions (read access on MailBee.dll for IUSR..) as well?

Sometimes, the problem can be solved by unregistering component DLL (MailBee.dll in our case), moving it into windows\system32 directory and re-registering it there.

Hope this will help.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
kssoftware
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 11 November 2004 at 9:25am | IP Logged Quote kssoftware

Hi Alex
Yep - tried all of that - nothing worked except making the IUSR_... an Administrator. The platform is Windows 2003. Stopped and started the web server after each and every permissions change, too. Reinstalled, regsvr32.exe /U'ed it, also.
I still bought the component, though - it's fantastic. Would love to know how to solve the issue.
Back to Top View kssoftware's Profile Search for other posts by kssoftware
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 11 November 2004 at 9:33am | IP Logged Quote Alex

What error message and error code is displayed when Server.CreateObject fails?

The same as at the top of this topic or something different?
Back to Top View Alex's Profile Search for other posts by Alex
 
kssoftware
Newbie
Newbie


Joined: 11 November 2004
Online Status: Offline
Posts: 3
Posted: 11 November 2004 at 4:02pm | IP Logged Quote kssoftware

Hi Alex
The error is "Server object error 'ASP 0177 : 8002801d' Server.CreateObject Failed
Back to Top View kssoftware's Profile Search for other posts by kssoftware
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 12 November 2004 at 6:55am | IP Logged Quote Alex

This error means there is a registry problem, and IUSR_.. still has no rights to read MailBee-related registry entries.

If you're sure you have "Everyone" group in permission list of MailBee registry entries, and this permission is at least "Read", you can try to figure out which attempts to read the registry are failing (using RegMon utility), and make required fixes. This techique is described in the following article:
http://support.microsoft.com/default.aspx?scid=kb;en-us;2740 38

Please let us know the outcome.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
kssoftware
Newbie
Newbie


Joined: 11 November 2004
Online Status: Offline
Posts: 3
Posted: 12 November 2004 at 7:21pm | IP Logged Quote kssoftware

Alex
Thanks for the pointer. The problem was the pemissions for the Mailbee Objects 5.2 Type Library (searched for that in the registry using regedt32) and then gave the iusr_ read permisions; after removing the IUSR_ from the Administrators Group, I reset the iis server (iisreset) and all worked wonderfully. Thanks for your help and for a great product
Back to Top View kssoftware's Profile Search for other posts by kssoftware
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide