Unspecified error

Add-in Express™ Support Service
That's what is more important than anything else

Unspecified error
Send Mail Demo project error 
Doru Tanasila




Posts: 1
Joined: 2005-07-06
Hi,

I tried the Demo project for Outlook Security Manager Component (ActiveX version 1.3.0.38), and after 2-3 times when the email was sent without errors, every time the code is executed an error is thrown on the following line:
OutlookSecurityManager1.DisableOOMWarnings = True

These are the error details:

err.Description - Unspecified error
err.HelpContext - 1000440
err.HelpFile - C:\WINNT\Help\VBENLR98.CHM
err.LastDllError - 0
err.Number: -2147467259
err.Source - AddInExpress.OutlookSecurityManager

There's no instance of Outlook running before executing the code, but I tried both ways and the same error occurs.
I use Outlook 2003 SP1 (11.6359.6360) with Microsoft Exchange Server 2003.

Thank you

Doru
Posted 06 Jul, 2005 09:19:06 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Doru,

As far as I understand by Demo project you mean our SendMail demo project written in VB6. I have just tested the code many times with Outlook 2003 SP1 (11.6359.6408) connected to MS Exchange Server 2003 and don't see any exceptions. I have tried this with and without the Outlook running. Did you change the code of the example? Did you run the exe file or execute the code from VB6 IDE? Do you have any add-ins installed in your Outlook?

Posted 06 Jul, 2005 09:59:12 Top
Doru Tanasila


Guest


Hi Dmitri,

I run from VB IDE, and I suppose it's not the code because I have another DLL that I developed using Outlook Security Manager, and I have the same problem after running the code many times.
If I wait a couple of minutes, the error dissapear, and I can run with success the code again many times, until when the exception is thrown again on the same line:
OutlookSecurityManager1.DisableOOMWarnings = True

It's annoying, I will try the code from another computer, and I will let you know.

The Outlook Add-ins that are running are:
LDVP
Delegate Access
Deleted Item Recovery
Exchange Extensions commands
Exchange Extensions property pages



Thanks for your fast response,

Doru
Posted 06 Jul, 2005 12:26:15 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Doru,

Strange situation. Ok, let's wait for the results from another PC. Also you can try to compile our SendMail demo project and test it several times on both PCs.

Posted 07 Jul, 2005 04:28:55 Top
Doru Tanasila


Guest


Hi Dmitri,
I have the same error on another computer.
I wil tell you how I caught it:

1. Outlook is open
2. Run Send Mail Demo project
3. Press Send 4-5 times
4. Close Outlook
5. Press Send again - the first time is working
6. Press Send a cople of times - I get the error

Maybe it's something with our Outlook configuration, I will let you know if I find the answer.


Thanks again,

Doru

Posted 07 Jul, 2005 10:21:46 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Doru,

Thank you for the detailed description. After step 6 (after you got the error) please close the SendMail demo project and check out if you have hanging Outlook processes in the Task Manager.
Posted 07 Jul, 2005 10:36:57 Top
Guest


Guest


Dmitri,

There's no Outlook process in the Task Manager and if I change the value DisableOOMWarnings to False it's working.
Somehow, when you set to True, it gets angry!

Doru
Posted 07 Jul, 2005 11:07:52 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Doru,

Could you please try the test project below on your PCs. The project is similar to VB6 project but it is written in Delphi and doesn't use the ActiveX component. Please let me know about the results.

http://www.add-in-express.com/projects/sendmail.zip
Posted 08 Jul, 2005 07:20:02 Top
Doru Tanasila


Guest


Hi Dmitri,

It's the same behavior with the project in Delphi,
after closing Outlook, only the first time I got the success message, after that it's Unspecified error.


Thanks,

Doru
Posted 08 Jul, 2005 10:03:10 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Doru,

Aha! "After closing Outlook" turned out to be the key phrase! I've got the exception, I will overhaul the situation and will let you know about the results as soon as possible.
Posted 08 Jul, 2005 10:15:41 Top