Add-in Load Fails When Disconnected

B

Berkley

Hello all,

I have been working on an Outlook Add-in (VSTO 2005, running in Outlook
2003). I publish my updates to our web server, and upon startup the add-in
checks manifest files there to determine if there is a newer version. This
all works wonderfully when my test PC is connected to our network, but when
no network connection is available the following error occurs upon startup
and the add-in fails to load. Could anyone offer any advice on how I can
handle this error or configure my addin to not even try to update if no
network connection is available? Thanks in advance for your assistance.


Error Details are as follows---

Log entry added at 9:33:30 PM:
-----------Caption----------------
Office document customization is not available
-----------Message----------------
An add-in could not be found or could not be loaded.
-----------Details----------------
The customization is not available online, but a local copy is available
offline. To switch to offline mode, start Internet Explorer. On the File
menu, click Work Offline. This will set all running programs to offline mode.


************** Exception Text **************
Microsoft.VisualStudio.Tools.Applications.Runtime.NotAvailableOnlineException:
The customization is not available online, but a local copy is available
offline. To switch to offline mode, start Internet Explorer. On the File
menu, click Work Offline. This will set all running programs to offline mode.
---> System.IO.FileNotFoundException: Could not load file or assembly
'ContactPlus, Version=1.0.0.0, Culture=neutral' or one of its dependencies.
The system cannot find the file specified.
File name: 'ContactPlus, Version=1.0.0.0, Culture=neutral' --->
System.IO.FileNotFoundException: The server or proxy was not found for
'ContactPlus, Version=1.0.0.0, Culture=neutral'.
File name: 'ContactPlus, Version=1.0.0.0, Culture=neutral'
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top