Application lost Outlook connectivity?
am 09.01.2008 10:57:45 von pheasantHi there,
Not sure if this is the correct ng and I am not a programmer so excuse me
but here goes...:-)
We have a custom application that has a hook or calls either the Outlook
calendar or looks in the Inbox
for a specific email and acts upon it if found.
This has worked great for over a year but when I updated using the usual
Microsoft Update site around the beginning of December we have since lost
connectivity to Outlook altogether.
This means we are unable to import/export our work from/to Outlook from
within our application.
I cannot be sure if this is related to any specific .NET Framework update or
not as out of 7 TabletPC's I have updated only 3 exhibit this lost
connectivity with Outlook - mine and the programmers included :-(
I have listed the error message below my sig if that is of any help in
diagnosing what has gone wrong and more importantly finding a solution.
The programmer has suggested uninstalling and then re-installing Office 2003
suggesting that the fault may be caused by the GAC that should reside in
Windows\Assembly having been removed by a recent .NET Framework update from
Microsoft.
I can see where he gets the idea from looking at the error log below but I
am not convinced because when I looked on a couple of the updated TabletPC's
this directory was not present but the application worked as it has always
worked...
He also suggested re-installing the Primary Interop Assemblies but this did
not cure the problem on my own TabletPC...:-(
Does anyone know what the answer might be please?
Uninstalling/re-installing Office is a last chance option - I wonder if
uninstalling .NET entirely and then re-installing it might solve it.
Can some kind soul help or point me to a resource that might help please?
--
Thanks & regards,
-pp-
Error message from within our custom application;
An unhandled exception has occurred in your application. If you click
Continue, the application will ignore this error and attempt to continue. If
you click Quit, the application will be shut down immediately.
The specified module could not be found.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileNotFoundException: The specified module could not be found.
at WinTestAPP.Main_Screen.PictureBox1_Click(Object sender, EventArgs e)
in E:\nukmost\Tablet PC Application\Main_Screen.vb:line 190
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2407
CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorli b.dll
----------------------------------------
CCC_Data_1
Assembly Version: 1.0.2901.27638
Win32 Version: 1.0.2901.27638
CodeBase: file:///C:/Program%20Files/Hemini%20Plc/UKMOST/CCC_Data_1.ex e
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.windows.forms/1.0.500 0.0__b77a5c56193
4e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2407
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561 934e089/system.d
ll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a 5c561934e089/sys
tem.data.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5 c561934e089/syst
em.xml.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b 03f5f7f11d50a3a/
system.drawing.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b0 3f5f7f11d50a3a/a
ccessibility.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.6001.4
CodeBase:
file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.50 00.0__b03f5f7f11
d50a3a/microsoft.visualbasic.dll
----------------------------------------
Microsoft.Office.Interop.Outlook
Assembly Version: 11.0.0.0
Win32 Version: 11.0.8161
CodeBase:
file:///c:/windows/assembly/gac/microsoft.office.interop.out look/11.0.0.0__7
1e9bce111e9429c/microsoft.office.interop.outlook.dll
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.