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

runtime error occurred during the loading...blah blah blah



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 22nd 06, 12:31 AM posted to microsoft.public.outlook.program_addins
got2bmvp
external usenet poster
 
Posts: 4
Default runtime error occurred during the loading...blah blah blah

OK, so I have looked through this listserv. I have read Randy Byrne's
article. I have tried using a shim. I have contacted Microsoft (have
a nice weekend, they tell me...sheesh!). I cannot find the answer to
save my life.

I am getting the runtime error message when I try to load a .NET
add-in. I modeled my add-in after Randy's (thanks for that, Randy)
odc_oladdin. I can get the addin to run when I install it by right
clicking on the setup file in VB.NET and then pressing F5 to debug the
code...everything works fabulously that way.

The problem happens if I DON'T press F5 and just open Outlook. The
registry key turns from a 3 to a 2 and i get the load error. Funny
thing is that the same thing happens with Randy's original addin too...

Any help would be appreciated!

Mike

Ads
  #2  
Old July 24th 06, 03:01 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default runtime error occurred during the loading...blah blah blah

Is your assembly (and Randy's) set to be trusted?

--
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


"got2bmvp" wrote in message
ps.com...
OK, so I have looked through this listserv. I have read Randy Byrne's
article. I have tried using a shim. I have contacted Microsoft (have
a nice weekend, they tell me...sheesh!). I cannot find the answer to
save my life.

I am getting the runtime error message when I try to load a .NET
add-in. I modeled my add-in after Randy's (thanks for that, Randy)
odc_oladdin. I can get the addin to run when I install it by right
clicking on the setup file in VB.NET and then pressing F5 to debug the
code...everything works fabulously that way.

The problem happens if I DON'T press F5 and just open Outlook. The
registry key turns from a 3 to a 2 and i get the load error. Funny
thing is that the same thing happens with Randy's original addin too...

Any help would be appreciated!

Mike


  #3  
Old July 24th 06, 05:39 PM posted to microsoft.public.outlook.program_addins
got2bmvp
external usenet poster
 
Posts: 4
Default runtime error occurred during the loading...blah blah blah

Sure is. Everything on the second tab is wide open.


Ken Slovak - [MVP - Outlook] wrote:
Is your assembly (and Randy's) set to be trusted?

--
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


"got2bmvp" wrote in message
ps.com...
OK, so I have looked through this listserv. I have read Randy Byrne's
article. I have tried using a shim. I have contacted Microsoft (have
a nice weekend, they tell me...sheesh!). I cannot find the answer to
save my life.

I am getting the runtime error message when I try to load a .NET
add-in. I modeled my add-in after Randy's (thanks for that, Randy)
odc_oladdin. I can get the addin to run when I install it by right
clicking on the setup file in VB.NET and then pressing F5 to debug the
code...everything works fabulously that way.

The problem happens if I DON'T press F5 and just open Outlook. The
registry key turns from a 3 to a 2 and i get the load error. Funny
thing is that the same thing happens with Randy's original addin too...

Any help would be appreciated!

Mike


  #4  
Old July 25th 06, 04:03 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default runtime error occurred during the loading...blah blah blah

No, I mean CAS security for the assembly.

--
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


"got2bmvp" wrote in message
ups.com...
Sure is. Everything on the second tab is wide open.


  #5  
Old July 25th 06, 04:45 PM posted to microsoft.public.outlook.program_addins
got2bmvp
external usenet poster
 
Posts: 4
Default runtime error occurred during the loading...blah blah blah

Not sure what you mean by CAS security.

Ken Slovak - [MVP - Outlook] wrote:
No, I mean CAS security for the assembly.

--
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


"got2bmvp" wrote in message
ups.com...
Sure is. Everything on the second tab is wide open.


  #6  
Old July 26th 06, 10:35 AM posted to microsoft.public.outlook.program_addins
Peter Hegelund
external usenet poster
 
Posts: 6
Default runtime error occurred during the loading...blah blah blah

I think that Ken means that you should convince yourself that the add-in has
been given proper permissions.

So start the .NET Framework 2.0 Configuration applet which incidentially is
*not* bundled with the 2.0 redist!
Get it by downloading the SDK.

Open My Computer|Runtime Security Policy|User|Code Groups|All_Code

You should now the add-in two levels below All_Code and see this

"Assemblies matching the membership condition are granted this permission
set at the current policy level: FullTrust.

Permission Set Description:
Allows full access to all resources"

Mind you, my add-in has been deployed to three PC's and it still doesn't
work on all three so something besides CAS is in play.

Regards
Peter
--
C - C++ - C# (sigh of relief)


"got2bmvp" wrote:

Not sure what you mean by CAS security.

Ken Slovak - [MVP - Outlook] wrote:
No, I mean CAS security for the assembly.

--
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


"got2bmvp" wrote in message
ups.com...
Sure is. Everything on the second tab is wide open.



  #7  
Old July 26th 06, 02:47 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 1
Default runtime error occurred during the loading...blah blah blah

Hi there, i got the same problem with a word add-in... did u use VSTO
for your outlook add-in?

  #8  
Old July 26th 06, 06:04 PM posted to microsoft.public.outlook.program_addins
got2bmvp
external usenet poster
 
Posts: 4
Default runtime error occurred during the loading...blah blah blah

I'm actually using VS 2003 and Outlook 2002 (so no VSTO)

wrote:
Hi there, i got the same problem with a word add-in... did u use VSTO
for your outlook add-in?


 




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
An OLE registration error occurred arndtwc Outlook - Installation 2 August 13th 06 02:59 PM
OL2003: This item contains active content blah [email protected] Outlook - Using Forms 5 June 16th 06 08:41 PM
Outlook does not recognize name, '=smtp:[email protected]' [email protected] Outlook - Using Contacts 5 June 1st 06 12:14 AM
OUTLOOK error occurred while checking spelling Theodore Outlook - Installation 0 February 21st 06 06:28 PM
an error occurred in the automatic phone dialer inadmissible3 Outlook - Using Contacts 0 January 13th 06 05:59 PM


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