Kobz46
asked on
VB.net Outlook 2003 Add-in not loading - Not Loaded. A Runtime error occurred... How can i fix this????
Hi Experts,
I've written a vb.net outlook 2003 add-in in vs2008, but after i installed it on the client machine, it fails to load.
I can see the Add-in in outlook under COM Add-Ins, but it's not active and the error message that goes with it is:
Not loaded. A runtime error occurred during the loading of the COM Add-In.
I've read up SO much on articles suggesting that it's a CAS security problem, but i don't really know where or how to fix this?
Can anyone PLEASE assist me in this??? It's extremely urgent....
Thanx!
K
I've written a vb.net outlook 2003 add-in in vs2008, but after i installed it on the client machine, it fails to load.
I can see the Add-in in outlook under COM Add-Ins, but it's not active and the error message that goes with it is:
Not loaded. A runtime error occurred during the loading of the COM Add-In.
I've read up SO much on articles suggesting that it's a CAS security problem, but i don't really know where or how to fix this?
Can anyone PLEASE assist me in this??? It's extremely urgent....
Thanx!
K
Well, first, you need to establish exactly what runtime error is occuring during the load. Do you have try-catch logic in the add-in intialization (probably an event called OnLoad or OnInitialize) that will send reports of errors to the application error log? That would be my first step.
ASKER
Have you by any chance got sample code (vb.net) of a VERY basic outlook add-in that only displays a menu, and does something stupid like msgbox "hello" when you click on it?
No, I do not.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
see above comment for solution