WatchEngine.Execute: "Not supported version"
"Not supported version" exception is thrown all the time
|
Oleh Petrov
Guest
|
Hi
Our application (outlook addin) is catching all the exceptions and logs them into our logfile to ease up client issues resolution. And a few days ago one of our clients reported that his log file grew to 500 mb in two days, after inspecting it appeared that WatchEngine is throwing "Not supported version" exception all the time. How can we prevent addin from performing faulty operation all the time?
We are using Addin express 2010 premium, clients PC is Win7/Office 2007
Stack trace
WatchEngine.Execute: Not supported version: at AddinExpress.OL.SharingInspectorFinder.FindIn2007(IntPtr HostHandle, FindWindowCondition conditio
n)
at AddinExpress.Extensions.FindWindowObject.Find(IntPtr HostHandle, FindWindowCondition condition)
at AddinExpress.Extensions.Utils.GetAppWindowHandle(Int32 FHostVersion, AdxItemType FItemType, IntPtr FHostHandle)
at AddinExpress.OL.OutlookHandleFinder.GetAppWindowHandle(Int32 hostVersion, Int32 itemType, IntPtr hostHandle)
at AddinExpress.OL.ShowChildWindowWatchObject.DoExecute(Int32 Message)
at AddinExpress.OL.WatchObject.Execute()
at AddinExpress.OL.WatchEngine.Execute(Object stateInfo) |
|
Posted 11 Nov, 2010 06:46:20
|
|
Top
|
|
Eugene Astafiev
Guest
|
Hi Oleh,
What version and build number of Add-in Express do you use? Could you please show me the adxloader.log and adxregistrator.log files?
Please make sure that you installed the latest service packs for Office and updates for OS. |
|
Posted 11 Nov, 2010 07:18:48
|
|
Top
|
|
Oleh Petrov
Guest
|
Hi
We use Addin express 2010 Premium, version 6.2.3051.
Unfortunately we have only adxloader -
http://rghost.net/3220707
I dont think that this issue depends on some patches or updates, because after using Reflector.exe I've discovered following code
protected override IntPtr FindIn2007(IntPtr HostHandle, FindWindowCondition condition)
{
throw new Exception("Not supported version");
}
So it seeme to me that some process is executed in a loop, though should not be started.
Thanks |
|
Posted 11 Nov, 2010 08:56:55
|
|
Top
|
|
Eugene Astafiev
Guest
|
Hi Oleh,
Thank you for providing me with a log file. When the log was opened I noticed the following line:
Loader version: 6.0.3043
It states that you use an old build of the adxloader.dll file. Please replace the adxloader[64].dll in the Loader folder of your project with a new one (see the Redistributables folder).
This is a bug. It is filed in our bug-tracking system under #2045. Thank for pointing this to us! |
|
Posted 11 Nov, 2010 09:31:29
|
|
Top
|
|
Oleh Petrov
Guest
|
Hi
We've released several versions of the addin, also with previous versions of adxloader, I did not check which version this client has... Appears its the previous one, in this case will we be able to release some kind of a patch for the users with previous version of the loader? When can we expect a resolution? |
|
Posted 11 Nov, 2010 10:41:08
|
|
Top
|
|
Eugene Astafiev
Guest
|
Hi Oleh,
We have fixed that issue and are going to publish a new public build of Add-in Express in the end of November. Currently you can use the following workaround:
1. You can handle the OnError event of the AddinExpress.OL.ADXOlFormsManager class.
2. In the event handler you can set the Handled property of the AddinExpress.OL.ErrorEventArgs class to true.
For example:
private void adxOlFormsManager1_OnError(object sender, AddinExpress.OL.ErrorEventArgs args)
{
args.Handled = true;
} |
|
Posted 11 Nov, 2010 12:04:11
|
|
Top
|
|
Oleh Petrov
Guest
|
Hi Eugene
Is it fixed already? |
|
Posted 03 Dec, 2010 08:05:13
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 19138
Joined: 2006-05-11
|
Hi Oleh,
Yes, it is.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 03 Dec, 2010 08:45:03
|
|
Top
|
|