Group:  Microsoft Word ยป microsoft.public.word.oleinterop
Thread: Com Exception

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Com Exception
hari 13.08.2006 21:43:02
Hi.
One of our customers are having problems trying to launch word
programatically

"Exception from HRESULT: 0x8007013D"

We already tried uninstalling and reinstalling office 11 but it didnt help.
Any ideas?

Thanks,
Hari
Re: Com Exception
Cindy M. <C.Meister-C[ at ]hispeed.ch> 14.08.2006 07:23:37
Hi =?Utf-8?B?aGFyaQ==?=,

[Quoted Text]
> One of our customers are having problems trying to launch word
> programatically
>
> "Exception from HRESULT: 0x8007013D"
>
> We already tried uninstalling and reinstalling office 11 but it didnt help.
>
Sounds like they're trying to automate using .NET? They should put their code
in try...catch blocks to get the full Exception information and then use a
Debug mode to determine what line of their code is causing the problem.

There's no documentation for these kinds of errors that one can just look up
and then fix it.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

Re: Com Exception
hari 14.08.2006 18:14:02
Thanks Cindy for your reply. It is just a sample app in .Net that was created
by me to narrow down other App whichy launches word programatically using 11
interop.

Microsoft.Office.Interop.Word.Application wordApp = new
Microsoft.Office.Interop.Word.Application();
wordApp.Visible = true;

Any help regarding narrowing down this issue would be helpful.

Thanks,
Hari



"Cindy M." wrote:

[Quoted Text]
> Hi =?Utf-8?B?aGFyaQ==?=,
>
> > One of our customers are having problems trying to launch word
> > programatically
> >
> > "Exception from HRESULT: 0x8007013D"
> >
> > We already tried uninstalling and reinstalling office 11 but it didnt help.
> >
> Sounds like they're trying to automate using .NET? They should put their code
> in try...catch blocks to get the full Exception information and then use a
> Debug mode to determine what line of their code is causing the problem.
>
> There's no documentation for these kinds of errors that one can just look up
> and then fix it.
>
> Cindy Meister
> INTER-Solutions, Switzerland
> http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
> http://www.word.mvps.org
>
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
>
>
Re: Com Exception
Cindy M. <C.Meister-C[ at ]hispeed.ch> 15.08.2006 09:14:08
Hi =?Utf-8?B?aGFyaQ==?=,

[Quoted Text]
> It is just a sample app in .Net that was created
> by me to narrow down other App whichy launches word programatically using 11
> interop.
>
> Microsoft.Office.Interop.Word.Application wordApp = new
> Microsoft.Office.Interop.Word.Application();
> wordApp.Visible = true;
>
> Any help regarding narrowing down this issue would be helpful.
>
Where's the try...catch block?

You may also want to try asking this in the dotnet.framework.interop newsgroup,
as you'll find more people there who are conversant with general COM errors.
This doesn't appear to be anything directly concerned with Word (unless you
can get some kind of error message information out of it).

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net