Skip Menu |

This queue is for tickets about the Win32-Word-Writer CPAN distribution.

Report information
The Basics
Id: 49393
Status: open
Priority: 0/
Queue: Win32-Word-Writer

People
Owner: Nobody in particular
Requestors: krapkovski [...] mail.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [rt.cpan.org #49393]
Date: Thu, 3 Sep 2009 11:36:30 +0300
To: "bug-Win32-Word-Writer [...] rt.cpan.org" <bug-Win32-Word-Writer [...] rt.cpan.org>
From: "Krapkovski, Rouslan" <Rouslan.Krapkovski [...] safenet-inc.com>
I have some problem with my server in Windows Vista and higher. Server runs as Win Service. When I try to save some report as Word Document I get some exception from Microsoft Word. OLE exception from "Microsoft Word": Command failed Win32::OLE(0.1709) error 0x800a1066 in METHOD/PROPERTYGET "SaveAs" at C:\Program Files\Aladdin\HASP SRM Server\Modules\CSF/CPAN/Win32/Word/Writer.pm line 314 But if I run same code from CMD as Administrator it works fine! If I try to open and write to file directly from Perl from same process it is working fine also. I played with permissions of executable files, folders, services and etc .... It still doesn't work! It is clear that it can to work but something restricts our server's process... Maybe it is reason: http://support.microsoft.com/default.aspx/kb/257757 "...Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment...". P.S. In WinXP same server works fine. Any ideas, comments? Thanks& Best Regards, Rouslan Krapkovski The information contained in this electronic mail transmission may be privileged and confidential, and therefore, protected from disclosure. If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer without copying or disclosing it.