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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Add-in Load Fails When Disconnected



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 23rd 07, 07:34 PM posted to microsoft.public.outlook.program_addins
Berkley[_2_]
external usenet poster
 
Posts: 6
Default Add-in Load Fails When Disconnected

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'
Ads
  #2  
Old November 24th 07, 10:14 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Add-in Load Fails When Disconnected

Publish locally.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Berkley" wrote in message
...
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'


 




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
Office 2007, Vista, COM Add-in fails to load if UAC is turned off [email protected] Add-ins for Outlook 2 August 8th 07 11:21 PM
Why my Outlook appears disconnected? Emilio Outlook - General Queries 2 February 2nd 07 04:38 AM
Connected/Disconnected Andrew Outlook - General Queries 0 May 31st 06 05:32 PM
Outlook fails to load Cocajola Outlook - Using Forms 0 March 15th 06 10:27 AM
Outlook is disconnected littlejohn Outlook - Installation 2 March 1st 06 10:15 PM


All times are GMT +1. The time now is 08:58 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.