 |
|
|
|
| Author |
Message |
John
Joined: 12 Aug 2007 Posts: 8
|
Posted: Wed Feb 20, 2008 12:02 am Post subject: Error automating outlook from .net |
|
|
Hi
I created a setup file of my vb.net app and remotely installed it on a
client's machine. The app bombs at start-up with the error;
Error while initializing application: Retrieving the COM class factory for
component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to
the following error: 8007007e.
The application also gave a stack trace which is given below at the end.
What's more there is no JIT debugger on the target system. In OleView when I
try to expand the Microsoft Outlook 8.0 Object Library node by clicking on
the + sign I get the below error;
CoGetClassObject failed.
The specified module could not be found.
Severity: SEVERITY_ERROR, facility: FACILITY_WIN32 ($8007007E)
The machine has outlook 2003 installed. The app installs and run just fine
on other outlook 2003 machines at same client site.What is the problem and
how can I proceed from here specially when I have little or no way to debug
the app on the target system.
Thanks
Regards
Archived from group: microsoft>public>outlook>program_vba |
|
| Back to top |
|
 |
Ken Slovak - [MVP - Outlo
Joined: 12 Aug 2007 Posts: 405
|
Posted: Tue Feb 19, 2008 7:39 pm Post subject: Re: Error automating outlook from .net |
|
|
Do you mean the Outlook 9 library and not 8? 8 is for Outlook 97, which
didn't support COM addins.
Are you really trying to support Outlook 2000 with a reference to the
Outlook 9 library? What versions are you really supporting and what object
reference are you using?
Are you sure the appropriate PIA's and the Framework are installed on the
target machine, as well as dependencies such as stdole.dll and
extensibility.dll? Was the Framework installed before installing Office
2003? If not you will need to install KB 908002 in addition to any other
dependencies, requirements and pre-requisites.
--
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
"John" wrote in message %23znycIHA.4436@TK2MSFTNGP05.phx.gbl...
> Hi
>
> I created a setup file of my vb.net app and remotely installed it on a
> client's machine. The app bombs at start-up with the error;
>
> Error while initializing application: Retrieving the COM class factory for
> component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to
> the following error: 8007007e.
>
> The application also gave a stack trace which is given below at the end.
> What's more there is no JIT debugger on the target system. In OleView when
> I
> try to expand the Microsoft Outlook 8.0 Object Library node by clicking on
> the + sign I get the below error;
>
> CoGetClassObject failed.
> The specified module could not be found.
> Severity: SEVERITY_ERROR, facility: FACILITY_WIN32 ($8007007E)
>
> The machine has outlook 2003 installed. The app installs and run just fine
> on other outlook 2003 machines at same client site.What is the problem and
> how can I proceed from here specially when I have little or no way to
> debug
> the app on the target system.
>
> Thanks
>
> Regards
>
>
> |
|
| Back to top |
|
 |
John
Joined: 12 Aug 2007 Posts: 8
|
Posted: Wed Feb 20, 2008 1:58 am Post subject: Re: Error automating outlook from .net |
|
|
Hi Ken
That is what I saw there i.e. 8 even though the machine has outlook 2003 for
sure. No I am not going craze.
Thanks
Regards
"Ken Slovak - [MVP - Outlook]" wrote in message %23ycIHA.5348@TK2MSFTNGP03.phx.gbl...
> Do you mean the Outlook 9 library and not 8? 8 is for Outlook 97, which
> didn't support COM addins.
>
> Are you really trying to support Outlook 2000 with a reference to the
> Outlook 9 library? What versions are you really supporting and what object
> reference are you using?
>
> Are you sure the appropriate PIA's and the Framework are installed on the
> target machine, as well as dependencies such as stdole.dll and
> extensibility.dll? Was the Framework installed before installing Office
> 2003? If not you will need to install KB 908002 in addition to any other
> dependencies, requirements and pre-requisites.
>
> --
> 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
>
>
> "John" wrote in message
> %23znycIHA.4436@TK2MSFTNGP05.phx.gbl...
>> Hi
>>
>> I created a setup file of my vb.net app and remotely installed it on a
>> client's machine. The app bombs at start-up with the error;
>>
>> Error while initializing application: Retrieving the COM class factory
>> for
>> component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to
>> the following error: 8007007e.
>>
>> The application also gave a stack trace which is given below at the end.
>> What's more there is no JIT debugger on the target system. In OleView
>> when I
>> try to expand the Microsoft Outlook 8.0 Object Library node by clicking
>> on
>> the + sign I get the below error;
>>
>> CoGetClassObject failed.
>> The specified module could not be found.
>> Severity: SEVERITY_ERROR, facility: FACILITY_WIN32 ($8007007E)
>>
>> The machine has outlook 2003 installed. The app installs and run just
>> fine
>> on other outlook 2003 machines at same client site.What is the problem
>> and
>> how can I proceed from here specially when I have little or no way to
>> debug
>> the app on the target system.
>>
>> Thanks
>>
>> Regards
>>
>>
>>
> |
|
| Back to top |
|
 |
John
Joined: 12 Aug 2007 Posts: 8
|
Posted: Wed Feb 20, 2008 2:01 am Post subject: Re: Error automating outlook from .net |
|
|
Ken, I think all dlls are installed as two other pcs with outlook 2003 at
same client had no problem with same setup file. Setup file demands .net 3.5
installation so there is no way round not installing 3.5 fw.
Thanks
Regards
"Ken Slovak - [MVP - Outlook]" wrote in message %23ycIHA.5348@TK2MSFTNGP03.phx.gbl...
> Do you mean the Outlook 9 library and not 8? 8 is for Outlook 97, which
> didn't support COM addins.
>
> Are you really trying to support Outlook 2000 with a reference to the
> Outlook 9 library? What versions are you really supporting and what object
> reference are you using?
>
> Are you sure the appropriate PIA's and the Framework are installed on the
> target machine, as well as dependencies such as stdole.dll and
> extensibility.dll? Was the Framework installed before installing Office
> 2003? If not you will need to install KB 908002 in addition to any other
> dependencies, requirements and pre-requisites.
>
> --
> 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
>
>
> "John" wrote in message
> %23znycIHA.4436@TK2MSFTNGP05.phx.gbl...
>> Hi
>>
>> I created a setup file of my vb.net app and remotely installed it on a
>> client's machine. The app bombs at start-up with the error;
>>
>> Error while initializing application: Retrieving the COM class factory
>> for
>> component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to
>> the following error: 8007007e.
>>
>> The application also gave a stack trace which is given below at the end.
>> What's more there is no JIT debugger on the target system. In OleView
>> when I
>> try to expand the Microsoft Outlook 8.0 Object Library node by clicking
>> on
>> the + sign I get the below error;
>>
>> CoGetClassObject failed.
>> The specified module could not be found.
>> Severity: SEVERITY_ERROR, facility: FACILITY_WIN32 ($8007007E)
>>
>> The machine has outlook 2003 installed. The app installs and run just
>> fine
>> on other outlook 2003 machines at same client site.What is the problem
>> and
>> how can I proceed from here specially when I have little or no way to
>> debug
>> the app on the target system.
>>
>> Thanks
>>
>> Regards
>>
>>
>>
> |
|
| Back to top |
|
 |
John
Joined: 12 Aug 2007 Posts: 8
|
Posted: Wed Feb 20, 2008 1:54 pm Post subject: Re: Error automating outlook from .net |
|
|
I have uninstalled and reinstalled office 2003 and its working fine now.
Thanks
Regards
"Ken Slovak - [MVP - Outlook]" wrote in message %23ycIHA.5348@TK2MSFTNGP03.phx.gbl...
> Do you mean the Outlook 9 library and not 8? 8 is for Outlook 97, which
> didn't support COM addins.
>
> Are you really trying to support Outlook 2000 with a reference to the
> Outlook 9 library? What versions are you really supporting and what object
> reference are you using?
>
> Are you sure the appropriate PIA's and the Framework are installed on the
> target machine, as well as dependencies such as stdole.dll and
> extensibility.dll? Was the Framework installed before installing Office
> 2003? If not you will need to install KB 908002 in addition to any other
> dependencies, requirements and pre-requisites.
>
> --
> 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
>
>
> "John" wrote in message
> %23znycIHA.4436@TK2MSFTNGP05.phx.gbl...
>> Hi
>>
>> I created a setup file of my vb.net app and remotely installed it on a
>> client's machine. The app bombs at start-up with the error;
>>
>> Error while initializing application: Retrieving the COM class factory
>> for
>> component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to
>> the following error: 8007007e.
>>
>> The application also gave a stack trace which is given below at the end.
>> What's more there is no JIT debugger on the target system. In OleView
>> when I
>> try to expand the Microsoft Outlook 8.0 Object Library node by clicking
>> on
>> the + sign I get the below error;
>>
>> CoGetClassObject failed.
>> The specified module could not be found.
>> Severity: SEVERITY_ERROR, facility: FACILITY_WIN32 ($8007007E)
>>
>> The machine has outlook 2003 installed. The app installs and run just
>> fine
>> on other outlook 2003 machines at same client site.What is the problem
>> and
>> how can I proceed from here specially when I have little or no way to
>> debug
>> the app on the target system.
>>
>> Thanks
>>
>> Regards
>>
>>
>>
> |
|
| Back to top |
|
 |
Ken Slovak - [MVP - Outlo
Joined: 12 Aug 2007 Posts: 405
|
Posted: Wed Feb 20, 2008 2:50 pm Post subject: Re: Error automating outlook from .net |
|
|
That was the next recommendation, based on that Outlook 8 snafu.
For future reference, it really doesn't matter if your code requires
Framework 3.0 or 3.5 or 2.0 or whatever. If the Framework is installed after
Office is installed then you still need to install KB 908002, and to make
sure the PIA's are installed. Those requirements may not be met in all
cases.
--
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
"John" wrote in message @TK2MSFTNGP03.phx.gbl...
>I have uninstalled and reinstalled office 2003 and its working fine now.
>
> Thanks
>
> Regards
|
|
| Back to top |
|
 |
|
|
| Related Topics: | automating e-mailfrom vb6 KEEP the HTML format hi, it is not difficult to send an email in VB using the outlook model. Especially when you just sent plain text However what I want is the following: I'want to use the VB to add or insert some text in the template default style of the newmailitem. This i
Error when creating 247 appointments in exchange mailbox Hello, I try to create hundreds of appointments in the calendar with a link to a contact. This works without problems on pst stores. With exchange mailboxes it works too in OL 2003 but in 2002 on the 247th item the following error occurs: run time error -
Resize Issue in outlook My custom compose form have Message control on the left side & my activex control on the right side (alongwith To, CC on the upper part). I have set "Resize with layout" property of Message control to unchecked. I want to resize my activex control to the
Problem in outlook addin Hi , I have one outlook-addin and it was working fine with 2003 , it is not working in 2007 . once i click on the add in button outlook is crashing .. and it is crashing in pOuter, dwClsContext,
Synchronize Outlook Appointment Hi, I'm trying to perform between my application and outlook default calendar (which mimic the behavior like ActiveSync) I have face the difficultly on update the appointment with recurrence pattern. let said, I have a appointment with |
|
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
|