A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Rules In Error: The Operation Failed.



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 30th 07, 08:46 PM posted to microsoft.public.outlook.program_vba,microsoft.public.outlook.general
[email protected]
external usenet poster
 
Posts: 1
Default Rules In Error: The Operation Failed.

Hi 2 All!

I've faced with very strange problem:

I have rule fires after arrival of the letter and execute VBA script
("run a script" option) located in the ThisOutlookSession Module.

It looks like:
------
Sub FailTest(Item As MailItem)
'Log ("FailTest")
End Sub
------

Yes, it does nothing In the original there was a useful logic, but
I've simplified code to localize a place of raising of exception.

So, in general this code works fine. BUT sometimes after arrival of
the message it spontaneously fails with message: "Rules In Error",
"The Operation Failed". And then my rule turns off.
It occurs on the average 3-5 times day.
I can't determine what exactly causes error

I suppose that exception is raised in the Rules Manager (or Wizard)
while it tries to call my VBA script & pass there arrived mail as
parameter.

I tried to find solution of the problem or work around, but I've found
nothing

Anyone have any ideas on how to solve this problem?

System:
Outlook 2003, Win XP SP2. + All Updates for Office & Windows.
Settings:
Junk e-mail options: high; Cached Exchange Mode: On

Many Thanks!

Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Operation Failed - Mail Preview Error [email protected] Outlook - Calandaring 0 January 24th 07 03:56 AM
SHARED CALENDAR - OPERATION FAILED ERROR [email protected] Outlook - General Queries 3 August 31st 06 04:25 PM
Outlook error message, Operation Failed keith Outlook - Installation 0 August 25th 06 02:06 PM
Operation failed error when opening attachment Paul Tugwell Outlook - General Queries 1 May 5th 06 08:01 PM
Error message0x8004010f Operation Failed Jay Thomas Outlook - General Queries 4 January 11th 06 08:11 PM


All times are GMT +1. The time now is 08:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.