msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VS2008 OL2007 add-in with ClickOnce : Does not load

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Programs Add-Ins
Author Message
Glenn



Joined: 15 Jan 2008
Posts: 3

PostPosted: Tue Jan 15, 2008 5:35 pm    Post subject: VS2008 OL2007 add-in with ClickOnce : Does not load Reply with quote

I have created a one-liner vanilla hello-world C# Outlook add-in using
VS2008 and published it using default settings. Copied everything in
\Publish folder to CD and installed on several machines (none with
VS2008).

In all cases, the setup downloads .Net 3.5 and Visual Studio Tools
runtime. I also manually install the Office 2007 PIA (why aren't
these available in the prerequisites???) manually.

In all cases (both XP and Vista boxes running Ol2007), Outlook starts
up and disables my add-in. Under tools/trust center/Add-ins/COM add-
ins it is unchecked with an error "Not loaded. A runtime error
ocurred during the loading of the COM add-in."

I have been doing research for a couple days now - but most
information seems to be related to establishing trust when using
VS2005/MSI. Not much on VS2008/ClickOnce.

So:

What else do I have to do (apparently undocumented) to get this to
work?
And why are the PIAs (and any other manual steps) not included in the
automatic prereq-checking?

Thanks for any help!

Archived from group: microsoft>public>outlook>program_addins
Back to top
View user's profile Send private message
Ken Slovak - [MVP - Outlo



Joined: 12 Aug 2007
Posts: 405

PostPosted: Tue Jan 15, 2008 9:17 pm    Post subject: Re: VS2008 OL2007 add-in with ClickOnce : Does not load Reply with quote

Is this a VSTO addin or a shared addin? If a VSTO addin did you review the
deployment guide/walkthrough for VSTO addins? The reference for it is at the
MSDN VSTO forum.

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


"Glenn" wrote in message @y5g2000hsf.googlegroups.com...
>I have created a one-liner vanilla hello-world C# Outlook add-in using
> VS2008 and published it using default settings. Copied everything in
> \Publish folder to CD and installed on several machines (none with
> VS2008).
>
> In all cases, the setup downloads .Net 3.5 and Visual Studio Tools
> runtime. I also manually install the Office 2007 PIA (why aren't
> these available in the prerequisites???) manually.
>
> In all cases (both XP and Vista boxes running Ol2007), Outlook starts
> up and disables my add-in. Under tools/trust center/Add-ins/COM add-
> ins it is unchecked with an error "Not loaded. A runtime error
> ocurred during the loading of the COM add-in."
>
> I have been doing research for a couple days now - but most
> information seems to be related to establishing trust when using
> VS2005/MSI. Not much on VS2008/ClickOnce.
>
> So:
>
> What else do I have to do (apparently undocumented) to get this to
> work?
> And why are the PIAs (and any other manual steps) not included in the
> automatic prereq-checking?
>
> Thanks for any help!
Back to top
View user's profile Send private message
Glenn



Joined: 15 Jan 2008
Posts: 3

PostPosted: Tue Jan 15, 2008 6:40 pm    Post subject: Re: VS2008 OL2007 add-in with ClickOnce : Does not load Reply with quote

On Jan 15, 3:17 pm, "Ken Slovak - [MVP - Outlook]"
wrote:
> Is this a VSTO addin or a shared addin? If a VSTO addin did you review the
> deployment guide/walkthrough for VSTO addins? The reference for it is at the
> MSDN VSTO forum.
>
> --
> Ken Slovak
> [MVP - Outlook]http://www.slovaktech.com
> Author: Professional Programming Outlook 2007
> Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm
>
> "Glenn" wrote in message
>
> @y5g2000hsf.googlegroups.com...
>
> >I have created a one-liner vanilla hello-world C# Outlook add-in using
> > VS2008 and published it using default settings. Copied everything in
> > \Publish folder to CD and installed on several machines (none with
> > VS2008).
>
> > In all cases, the setup downloads .Net 3.5 and Visual Studio Tools
> > runtime. I also manually install the Office 2007 PIA (why aren't
> > these available in the prerequisites???) manually.
>
> > In all cases (both XP and Vista boxes running Ol2007), Outlook starts
> > up and disables my add-in. Under tools/trust center/Add-ins/COM add-
> > ins it is unchecked with an error "Not loaded. A runtime error
> > ocurred during the loading of the COM add-in."
>
> > I have been doing research for a couple days now - but most
> > information seems to be related to establishing trust when using
> > VS2005/MSI. Not much on VS2008/ClickOnce.
>
> > So:
>
> > What else do I have to do (apparently undocumented) to get this to
> > work?
> > And why are the PIAs (and any other manual steps) not included in the
> > automatic prereq-checking?
>
> > Thanks for any help!

My understanding (nothing is obvious in documentation) is that the
"VSTO" is integrated into VS2008.

I selected "File / New / Project" , then "Other Languages / C# /
Outlook Add-in".

I didn't change anything except to put a messagebox in the
ThisAddIn_Startup().

So.. I believe this is a VSTO add-in, but who knows? That is not part
of the lingo, apparently, in VS2008.

I have looked at several walk-thrus. Most are targeted towards VS2005
users, who apparently have to jump through hoops for prerequisites and
security setup. Small notes in these pages indicate the VS2008
programmers don't have to do any of these things because ClickOnce
will take care of everything.

And... I have not found an answer as to why the PIA's are not
available as pre-requisites, as I'm sure they'll turn out to be.
Apparently they were in VS2005.

Thanks for the quick response. If you actually know of some solid
VS2008 documentation that would cover my problem, please provide a
link as I have not found any.

-glenn
Back to top
View user's profile Send private message
Ken Slovak - [MVP - Outlo



Joined: 12 Aug 2007
Posts: 405

PostPosted: Tue Jan 15, 2008 11:34 pm    Post subject: Re: VS2008 OL2007 add-in with ClickOnce : Does not load Reply with quote

I haven't gotten into the deployment wonders of VS 2008 yet. It is a VSTO
addin though.

I'd post this in the MSDN VSTO forum rather than here. The VSTO team answers
questions there so you're more likely to get a knowledgeable answer.

FWIW, the deployment guide and product ID's and all the other deployment
stuff you need wasn't released until about 4 or 5 months after the release
of Office 2007 and VSTO 2005 SE, so the VSTO team isn't known for timely
documentation or information that's easily available.

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


"Glenn" wrote in message @f47g2000hsd.googlegroups.com...
> On Jan 15, 3:17 pm, "Ken Slovak - [MVP - Outlook]"
> wrote:
>> Is this a VSTO addin or a shared addin? If a VSTO addin did you review
>> the
>> deployment guide/walkthrough for VSTO addins? The reference for it is at
>> the
>> MSDN VSTO forum.
>>
>> --
>> Ken Slovak
>> [MVP - Outlook]http://www.slovaktech.com
>> Author: Professional Programming Outlook 2007
>> Reminder Manager, Extended Reminders, Attachment
>> Optionshttp://www.slovaktech.com/products.htm
>>
>> "Glenn" wrote in message
>>
>> @y5g2000hsf.googlegroups.com...
>>
>> >I have created a one-liner vanilla hello-world C# Outlook add-in using
>> > VS2008 and published it using default settings. Copied everything in
>> > \Publish folder to CD and installed on several machines (none with
>> > VS2008).
>>
>> > In all cases, the setup downloads .Net 3.5 and Visual Studio Tools
>> > runtime. I also manually install the Office 2007 PIA (why aren't
>> > these available in the prerequisites???) manually.
>>
>> > In all cases (both XP and Vista boxes running Ol2007), Outlook starts
>> > up and disables my add-in. Under tools/trust center/Add-ins/COM add-
>> > ins it is unchecked with an error "Not loaded. A runtime error
>> > ocurred during the loading of the COM add-in."
>>
>> > I have been doing research for a couple days now - but most
>> > information seems to be related to establishing trust when using
>> > VS2005/MSI. Not much on VS2008/ClickOnce.
>>
>> > So:
>>
>> > What else do I have to do (apparently undocumented) to get this to
>> > work?
>> > And why are the PIAs (and any other manual steps) not included in the
>> > automatic prereq-checking?
>>
>> > Thanks for any help!
>
> My understanding (nothing is obvious in documentation) is that the
> "VSTO" is integrated into VS2008.
>
> I selected "File / New / Project" , then "Other Languages / C# /
> Outlook Add-in".
>
> I didn't change anything except to put a messagebox in the
> ThisAddIn_Startup().
>
> So.. I believe this is a VSTO add-in, but who knows? That is not part
> of the lingo, apparently, in VS2008.
>
> I have looked at several walk-thrus. Most are targeted towards VS2005
> users, who apparently have to jump through hoops for prerequisites and
> security setup. Small notes in these pages indicate the VS2008
> programmers don't have to do any of these things because ClickOnce
> will take care of everything.
>
> And... I have not found an answer as to why the PIA's are not
> available as pre-requisites, as I'm sure they'll turn out to be.
> Apparently they were in VS2005.
>
> Thanks for the quick response. If you actually know of some solid
> VS2008 documentation that would cover my problem, please provide a
> link as I have not found any.
>
> -glenn
Back to top
View user's profile Send private message
Glenn



Joined: 15 Jan 2008
Posts: 3

PostPosted: Wed Jan 16, 2008 1:58 am    Post subject: Re: VS2008 OL2007 add-in with ClickOnce : Does not load Reply with quote

On Jan 15, 5:34 pm, "Ken Slovak - [MVP - Outlook]"
wrote:
> I haven't gotten into the deployment wonders of VS 2008 yet. It is a VSTO
> addin though.
>
> I'd post this in the MSDN VSTO forum rather than here. The VSTO team answers
> questions there so you're more likely to get a knowledgeable answer.
>
> FWIW, the deployment guide and product ID's and all the other deployment
> stuff you need wasn't released until about 4 or 5 months after the release
> of Office 2007 and VSTO 2005 SE, so the VSTO team isn't known for timely
> documentation or information that's easily available.
>
> --
> Ken Slovak
> [MVP - Outlook]http://www.slovaktech.com
> Author: Professional Programming Outlook 2007
> Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm
>
> "Glenn" wrote in message
>
> @f47g2000hsd.googlegroups.com...
>
> > On Jan 15, 3:17 pm, "Ken Slovak - [MVP - Outlook]"
> > wrote:
> >> Is this a VSTO addin or a shared addin? If a VSTO addin did you review
> >> the
> >> deployment guide/walkthrough for VSTO addins? The reference for it is at
> >> the
> >> MSDN VSTO forum.
>
> >> --
> >> Ken Slovak
> >> [MVP - Outlook]http://www.slovaktech.com
> >> Author: Professional Programming Outlook 2007
> >> Reminder Manager, Extended Reminders, Attachment
> >> Optionshttp://www.slovaktech.com/products.htm
>
> >> "Glenn" wrote in message
>
> >>@y5g2000hsf.googlegroups.com...
>
> >> >I have created a one-liner vanilla hello-world C# Outlook add-in using
> >> > VS2008 and published it using default settings. Copied everything in
> >> > \Publish folder to CD and installed on several machines (none with
> >> > VS2008).
>
> >> > In all cases, the setup downloads .Net 3.5 and Visual Studio Tools
> >> > runtime. I also manually install the Office 2007 PIA (why aren't
> >> > these available in the prerequisites???) manually.
>
> >> > In all cases (both XP and Vista boxes running Ol2007), Outlook starts
> >> > up and disables my add-in. Under tools/trust center/Add-ins/COM add-
> >> > ins it is unchecked with an error "Not loaded. A runtime error
> >> > ocurred during the loading of the COM add-in."
>
> >> > I have been doing research for a couple days now - but most
> >> > information seems to be related to establishing trust when using
> >> > VS2005/MSI. Not much on VS2008/ClickOnce.
>
> >> > So:
>
> >> > What else do I have to do (apparently undocumented) to get this to
> >> > work?
> >> > And why are the PIAs (and any other manual steps) not included in the
> >> > automatic prereq-checking?
>
> >> > Thanks for any help!
>
> > My understanding (nothing is obvious in documentation) is that the
> > "VSTO" is integrated into VS2008.
>
> > I selected "File / New / Project" , then "Other Languages / C# /
> > Outlook Add-in".
>
> > I didn't change anything except to put a messagebox in the
> > ThisAddIn_Startup().
>
> > So.. I believe this is a VSTO add-in, but who knows? That is not part
> > of the lingo, apparently, in VS2008.
>
> > I have looked at several walk-thrus. Most are targeted towards VS2005
> > users, who apparently have to jump through hoops for prerequisites and
> > security setup. Small notes in these pages indicate the VS2008
> > programmers don't have to do any of these things because ClickOnce
> > will take care of everything.
>
> > And... I have not found an answer as to why the PIA's are not
> > available as pre-requisites, as I'm sure they'll turn out to be.
> > Apparently they were in VS2005.
>
> > Thanks for the quick response. If you actually know of some solid
> > VS2008 documentation that would cover my problem, please provide a
> > link as I have not found any.
>
> > -glenn

Ken,

Thanks again for your timely reply. I will move over to MSDN
forums.

-glenn

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Load add-in on Outlook 2003 startup Hi, I developed a com Add-in for Outlook 2003. I copied it at user folder. What do I need to do so this add in will load automatically when Outlook starts? Thanks, Goran

Addin will not load in Vista/Outlook 2007 Hello. I have an addin that works fine on XP/Outlook 2007, but once we install it on Vista, it won't load in Outlook 2007. Looking in the Tools --> Trust Center --> Addins, etc., I see the generic message "Not loaded. A runtime error occurred during th

Inbox wouldn't load... The last time i checked my e-mail, everything form my inbox were gone. All i have left are the new mail that just got down loaded. When i went in and check with inbox.dbx, it is still at 70mb, which means all my old mail is still there. Does anyone know i

HELP - my outlook won't load at all now... Hello - I have Office 97. I tried to use my "Receive Fax" the other day...I left it on for a few hours so it would receive a fax someone was sending me. When I came back later, the whole computer was frozen. Now the computer works, but when I try to open

form load failed When I click on either choose a form or design a form from the tools menu in outlook 2002 I get a message "form load failed" I am current with all updates!!! Any help??
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Programs Add-Ins All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group