For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > April 2007 > Re: automation "Object reference not set to an instance of an obje









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: automation "Object reference not set to an instance of an obje
Badis

2007-04-30, 4:16 am

But, why it runs OK when I run it in local machine in the debug mode!?

"Alvin Bruney [MVP]" wrote:

> Do you actually have a valid object? meaning is wrdApp non-null? If this is
> true, the particular property or method may not exist on the object.
>
> --
> Regards,
> Alvin Bruney
> ------------------------------------------------------
> Shameless author plug
> Excel Services for .NET is coming...
> OWC Black book on Amazon and
> www.lulu.com/owc
> Professional VSTO 2005 - Wrox/Wiley
>
>
> "Badis" <Badis@discussions.microsoft.com> wrote in message
> news:8D6CF56C-9560-4C43-94E3-441AC171E314@microsoft.com...
>
>
>

Alvin Bruney [MVP]

2007-04-30, 10:07 pm

The probable explanation for this is that you have two different word
objects installed on these different machines. You can go trouble-shooting
to find out, but it's really an exercise in futility. Just make sure that
the app that is failing contains the appropriate word version registered.
That may clear it up.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley


"Badis" <Badis@discussions.microsoft.com> wrote in message
news:FA2A5D2F-3CB3-4F93-8DD7-C3C99AFF4C93@microsoft.com...[color=darkred]
> But, why it runs OK when I run it in local machine in the debug mode!?
>
> "Alvin Bruney [MVP]" wrote:
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com