![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I have developed the add-in using Visual studio 2005 in C#.
Outlook add-in is failing to load when Outlook starts on some machines. It works absolutely fine on some other machine. On problematic machines, some times the LoadBehavior is changing from 3 to 2 when oulook starts. I can't even find my Addin either in the Disabled list (Help_About) or Tools-Options-Others-AdvancedOptions. Could anyone please help me or point to any tutorial which will help in developing the installer for this add-in using the Wise Installer. (I want know what all files to be added to target machine(other than add-in dll) and shall I have to set the registry entries explicitly or the add-in register will add automatically). Thanks in advance, Regards, VIsh |
#2
|
|||
|
|||
![]()
I have the same problem so let me describe it in a little more detail.
Two systems have the the Outlook Add-in installed. One PC works fine, the other fails to load the Add-in with this text "Load error. A runtime error occurred during loading of the COM Add-in" Where may I find more information about the runtime error? The systems have similar SW baselines XP Pro SP2 ..NET 2.0 Outlook 2003 SP2 VSTO 2005 runtime Office 2003 PIA's Another post suggested that I disabled CAS but this doesn't help. Registry looks fine excpet of course the Add-in's Loadbehaviour is changed from 3 to 2. I do not have vish's problem locating the Add-in thru Advanced options|COM Add-ins but it is unchecked. Regards Peter -- C - C++ - C# (sigh of relief) "vish" wrote: I have developed the add-in using Visual studio 2005 in C#. Outlook add-in is failing to load when Outlook starts on some machines. It works absolutely fine on some other machine. On problematic machines, some times the LoadBehavior is changing from 3 to 2 when oulook starts. I can't even find my Addin either in the Disabled list (Help_About) or Tools-Options-Others-AdvancedOptions. |
#3
|
|||
|
|||
![]()
Usually that happens if the addin is not fully trusted on the target
machine, something that's required and usually requires a custom installer action. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Peter Hegelund" wrote in message ... I have the same problem so let me describe it in a little more detail. Two systems have the the Outlook Add-in installed. One PC works fine, the other fails to load the Add-in with this text "Load error. A runtime error occurred during loading of the COM Add-in" Where may I find more information about the runtime error? The systems have similar SW baselines XP Pro SP2 .NET 2.0 Outlook 2003 SP2 VSTO 2005 runtime Office 2003 PIA's Another post suggested that I disabled CAS but this doesn't help. Registry looks fine excpet of course the Add-in's Loadbehaviour is changed from 3 to 2. I do not have vish's problem locating the Add-in thru Advanced options|COM Add-ins but it is unchecked. Regards Peter -- C - C++ - C# (sigh of relief) "vish" wrote: I have developed the add-in using Visual studio 2005 in C#. Outlook add-in is failing to load when Outlook starts on some machines. It works absolutely fine on some other machine. On problematic machines, some times the LoadBehavior is changing from 3 to 2 when oulook starts. I can't even find my Addin either in the Disabled list (Help_About) or Tools-Options-Others-AdvancedOptions. |
#4
|
|||
|
|||
![]()
I found that add-in works on all the machines with visual studio
2003/2005 installed. Am i missing any dlls on which outlook add-in dependens. (My test addin is simple one line application, it pops up the Hello World message box on startup). Regards, Vish Ken Slovak - [MVP - Outlook] wrote: Usually that happens if the addin is not fully trusted on the target machine, something that's required and usually requires a custom installer action. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Peter Hegelund" wrote in message ... I have the same problem so let me describe it in a little more detail. Two systems have the the Outlook Add-in installed. One PC works fine, the other fails to load the Add-in with this text "Load error. A runtime error occurred during loading of the COM Add-in" Where may I find more information about the runtime error? The systems have similar SW baselines XP Pro SP2 .NET 2.0 Outlook 2003 SP2 VSTO 2005 runtime Office 2003 PIA's Another post suggested that I disabled CAS but this doesn't help. Registry looks fine excpet of course the Add-in's Loadbehaviour is changed from 3 to 2. I do not have vish's problem locating the Add-in thru Advanced options|COM Add-ins but it is unchecked. Regards Peter -- C - C++ - C# (sigh of relief) "vish" wrote: I have developed the add-in using Visual studio 2005 in C#. Outlook add-in is failing to load when Outlook starts on some machines. It works absolutely fine on some other machine. On problematic machines, some times the LoadBehavior is changing from 3 to 2 when oulook starts. I can't even find my Addin either in the Disabled list (Help_About) or Tools-Options-Others-AdvancedOptions. |
#5
|
|||
|
|||
![]()
Now I found that the add-in developed in visual studio 2003 works on
all the machine, but the add-in developed with visual studio 2005 works only onsystems which have either visual studio 2003/2005 installed. So, is there any specifi dependency for 2005 Add-in? ("other than the .net 2 framework requirement.") Regards, VIsh Sorry for multiple posts!!! vish wrote: I found that add-in works on all the machines with visual studio 2003/2005 installed. Am i missing any dlls on which outlook add-in dependens. (My test addin is simple one line application, it pops up the Hello World message box on startup). Regards, Vish Ken Slovak - [MVP - Outlook] wrote: Usually that happens if the addin is not fully trusted on the target machine, something that's required and usually requires a custom installer action. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Peter Hegelund" wrote in message ... I have the same problem so let me describe it in a little more detail. Two systems have the the Outlook Add-in installed. One PC works fine, the other fails to load the Add-in with this text "Load error. A runtime error occurred during loading of the COM Add-in" Where may I find more information about the runtime error? The systems have similar SW baselines XP Pro SP2 .NET 2.0 Outlook 2003 SP2 VSTO 2005 runtime Office 2003 PIA's Another post suggested that I disabled CAS but this doesn't help. Registry looks fine excpet of course the Add-in's Loadbehaviour is changed from 3 to 2. I do not have vish's problem locating the Add-in thru Advanced options|COM Add-ins but it is unchecked. Regards Peter -- C - C++ - C# (sigh of relief) "vish" wrote: I have developed the add-in using Visual studio 2005 in C#. Outlook add-in is failing to load when Outlook starts on some machines. It works absolutely fine on some other machine. On problematic machines, some times the LoadBehavior is changing from 3 to 2 when oulook starts. I can't even find my Addin either in the Disabled list (Help_About) or Tools-Options-Others-AdvancedOptions. |
#6
|
|||
|
|||
![]()
I concur with your observation.
The add-in works on two machines both of which have VS 2005. The add-in fails to load on a third machine which has a similar baseline but no Visual Studio. This machine of course has been equipped with the 2003 Primary Interop Assembiles and the VSTO runtime. So what is the missing ingredient? Regards Peter -- C - C++ - C# (sigh of relief) "vish" wrote: Now I found that the add-in developed in visual studio 2003 works on all the machine, but the add-in developed with visual studio 2005 works only onsystems which have either visual studio 2003/2005 installed. So, is there any specifi dependency for 2005 Add-in? ("other than the .net 2 framework requirement.") Regards, VIsh Sorry for multiple posts!!! vish wrote: I found that add-in works on all the machines with visual studio 2003/2005 installed. Am i missing any dlls on which outlook add-in dependens. (My test addin is simple one line application, it pops up the Hello World message box on startup). Regards, Vish Ken Slovak - [MVP - Outlook] wrote: Usually that happens if the addin is not fully trusted on the target machine, something that's required and usually requires a custom installer action. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Peter Hegelund" wrote in message ... I have the same problem so let me describe it in a little more detail. Two systems have the the Outlook Add-in installed. One PC works fine, the other fails to load the Add-in with this text "Load error. A runtime error occurred during loading of the COM Add-in" Where may I find more information about the runtime error? The systems have similar SW baselines XP Pro SP2 .NET 2.0 Outlook 2003 SP2 VSTO 2005 runtime Office 2003 PIA's Another post suggested that I disabled CAS but this doesn't help. Registry looks fine excpet of course the Add-in's Loadbehaviour is changed from 3 to 2. I do not have vish's problem locating the Add-in thru Advanced options|COM Add-ins but it is unchecked. Regards Peter -- |
#7
|
|||
|
|||
![]()
I am using a custom installer action. Code found on a Microsoft site and used
as is. Without the customer install the add-in loads on neither mahcine A nor B. CasPol.exe -s off When you disable CAS as described above shouldn't it take care of trust issues? So, Ken, I hope that somewhere in the system there is more info to be had Regards -- C - C++ - C# (sigh of relief) "Ken Slovak - [MVP - Outlook]" wrote: Usually that happens if the addin is not fully trusted on the target machine, something that's required and usually requires a custom installer action. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Peter Hegelund" wrote in message ... I have the same problem so let me describe it in a little more detail. Two systems have the the Outlook Add-in installed. One PC works fine, the other fails to load the Add-in with this text "Load error. A runtime error occurred during loading of the COM Add-in" -- C - C++ - C# (sigh of relief) "vish" wrote: I have developed the add-in using Visual studio 2005 in C#. Outlook add-in is failing to load when Outlook starts on some machines. It works absolutely fine on some other machine. On problematic machines, some times the LoadBehavior is changing from 3 to 2 when oulook starts. I can't even find my Addin either in the Disabled list (Help_About) or Tools-Options-Others-AdvancedOptions. |
#8
|
|||
|
|||
![]()
I'm not enough of a .NET expert to be sure of that. I believe you need a
fully trusted assembly and that disabling the CAS security won't do the trick, but I'm not positive. The lack of an automated solution you don't have to hack around for is one of the reasons I don't do many .NET addins. I'd review all the information about distributing .NET addins on www.outlookcode.com and see what turns up. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Peter Hegelund" wrote in message ... I am using a custom installer action. Code found on a Microsoft site and used as is. Without the customer install the add-in loads on neither mahcine A nor B. CasPol.exe -s off When you disable CAS as described above shouldn't it take care of trust issues? So, Ken, I hope that somewhere in the system there is more info to be had Regards -- C - C++ - C# (sigh of relief) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem in deploying Outlook 2003 Add-in | vish | Outlook - General Queries | 0 | July 4th 06 01:38 AM |
Deploying Outlook 2003 using PRF-files. | morten | Outlook - Installation | 1 | June 2nd 06 02:31 AM |
How to add dynamically add controls in Outlook 2003 | Rahul | Outlook and VBA | 5 | May 8th 06 03:38 PM |
How to add dynamically add controls in Outlook 2003 | Sue Mosher [MVP-Outlook] | Outlook - Using Forms | 4 | May 8th 06 03:38 PM |
Deploying Redemption.ll in a Windows Installer correct way | Jeff | Outlook and VBA | 6 | January 29th 06 09:35 PM |