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 December 17th 08, 08:03 AM posted to microsoft.public.outlook.program_vba
willy
external usenet poster
 
Posts: 6
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 have an error handler but it doesn't log error report)

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 2007, Win XP SP3. + All Updates for Office & Windows.
The same behaviour was on Outlook 2003, Win XP SP2
Settings:
Junk e-mail options: high; Cached Exchange Mode: On

Many Thanks!
  #2  
Old January 23rd 09, 07:13 PM posted to microsoft.public.outlook.program_vba
James Cox
external usenet poster
 
Posts: 1
Default Rules In Error: The Operation Failed.

About all I can say is that I feel your pain - I'm seeing the same thing -
albeit less often - with Outlook 2007 and Vista.

Please post back here if you ever do find out anything!

James

"Willy" wrote:

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 have an error handler but it doesn't log error report)

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 2007, Win XP SP3. + All Updates for Office & Windows.
The same behaviour was on Outlook 2003, Win XP SP2
Settings:
Junk e-mail options: high; Cached Exchange Mode: On

Many Thanks!

 




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 Error Message Tony Outlook and VBA 0 April 29th 08 04:35 AM
Rules: The Operation Failed Boppy Outlook - General Queries 3 December 6th 07 04:10 PM
Rules In Error: The Operation Failed. [email protected] Outlook and VBA 0 July 30th 07 08:46 PM
The Operation Failed - Mail Preview Error [email protected] Outlook - Calandaring 0 January 24th 07 03:56 AM
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 11:21 AM.


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.