Re: using PIA'S at the time of deployment



PIA's do not contain any code, they are simply .NET metadata representing
the COM interfaces exposed by the native COM servers (here Office XP). This
metadata is used by the COM interop layer to manufacture a RCW, but the code
that is called through this wrapper is actually native code in the Office
application (Word.exe or any other office app.)
So when you deploy a solution, you need the PIA's and the Office package
corresponding to the PIA, without the latter your application cannot work.
Another remarks is that Office automation from services like web
applications are not supported by MSFT , it's hard to set-up correctly, they
don't scale, they are memory hungry, you need to take care you aren't
launching multiple instances of the Office application, and there is a
serious licensing issue associated with this.

Willy.



<kunallalwani@xxxxxxxxx> wrote in message
news:1128941660.764230.273350@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi Friends, I have a strange problem, I am using Office XP PIA's to
> extract the text from any office file. I downloaded the office XP PIA,
> and developed a module which extracted text from any file that is
> uploaded to the server using Visual Studio.NET 2003 and .NET Framework
> 1.1. During development the code runs well and gives the proper output.
>
>
> 1)But now i Have to deploy this application on the client side where
> OFFICE XP or Office 2003 might not be installed, in that case where
> will i have to keep those office xp pia's that i have used during my
> development in the bin folder of my web application or the global
> assembly cache?
>
> I experimented a little bit by first running the application on the
> client side where office xp is installed, it ran perfectly and gave me
> the output. But the problem arised when i uninstalled the office xp
> suite and then manually added the files in the global assembly cache
> and registered them in the registry also. At that time it gave me an
> error that CLSID[0029--......] is either not valid or registered
> component but when i checked the assembly folder the
> Microsoft.Interop.Word.dll was present and it was also had an entry in
> the registry. Please help me ....
>
> Thanks in advance
> Kunal Ramesh Lalwani
> Software Developer
> Fahm Softwares
> India
>


.



Relevant Pages

  • Re: Server registration lost after domain password change
    ... Servers in SQL Enterprise Manager. ... the fix in XP service pack 1 only works if the registry key "MasterKeyLegacyNt4Domain" is ...
    (microsoft.public.sqlserver.tools)
  • RE: User rights on Terminal Services
    ... For actually using COM servers and ActiveX controls, ... User rights on Terminal Services ... I am not sure if there is any registry tomfoolery in it - what is the best ...
    (Focus-Microsoft)
  • Re: TS 2003 and Event ID 333
    ... eventid.net and most relevent info I can find online. ... version of certain system dlls as recommended in different posts online. ... The registry and and boot.ini settings were all fine prior to April so I ... I have 3 Windows 2003 servers running TS for remote desktop use. ...
    (microsoft.public.windows.terminal_services)
  • Re: Question on event log errors
    ... other then your regular windows updates and the live update from symantec. ... Registry failed unrecoverably. ... The hardware of these 2 servers are identical. ...
    (microsoft.public.windows.server.general)