Win32::OLE can"t create object
Win32::OLE can"t create object
am 21.01.2010 19:12:01 von eroode
This is a multi-part message in MIME format.
--===============1934093100==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01CA9AC5.3AC18773"
This is a multi-part message in MIME format.
------_=_NextPart_001_01CA9AC5.3AC18773
Content-Type: text/plain; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
The documentation for this module says,
"The new() class method starts a new instance of an OLE Automation
object. It returns a reference to this object or undef if the creation
failed."
=20
undef is not particularly useful. Is there any way to get further
information on why the object could not be created? I am trying to
track down a problem here and am getting stuck at this point.
Thanks.
------_=_NextPart_001_01CA9AC5.3AC18773
Content-Type: text/html; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
The doc=
umentation=20
for this module says,
&=
nbsp; =20
"The new() class method start=
s a new=20
instance of an OLE Automation object. It returns a reference to this object=
or=20
undef
if the creation=20
failed."
undef i=
s not=20
particularly useful. Is there any way to get further information on w=
hy=20
the object could not be created? I am trying to track down a problem =
here=20
and am getting stuck at this point.
size=3D2>
Thanks.
------_=_NextPart_001_01CA9AC5.3AC18773--
--===============1934093100==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============1934093100==--
RE: Win32::OLE can"t create object
am 21.01.2010 19:33:37 von Jan Dubois
This is a multipart message in MIME format.
--===============0167404816==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_01D0_01CA9A85.314D2E30"
Content-Language: en-us
This is a multipart message in MIME format.
------=_NextPart_000_01D0_01CA9A85.314D2E30
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Win32::OLE->LastError()
You can also call Win32::OLE->Option(Warn => 2) at the beginning of your script to display all OLE errors as they are encountered.
Cheers,
-Jan
From: activeperl-bounces@listserv.ActiveState.com [mailto:activeperl-bounces@listserv.ActiveState.com] On Behalf Of Roode, Eric
Sent: Thursday, January 21, 2010 10:12 AM
To: activeperl@listserv.ActiveState.com
Subject: Win32::OLE can't create object
The documentation for this module says,
"The new() class method starts a new instance of an OLE Automation object. It returns a reference to this object or undef if the
creation failed."
undef is not particularly useful. Is there any way to get further information on why the object could not be created? I am trying
to track down a problem here and am getting stuck at this point.
Thanks.
------=_NextPart_000_01D0_01CA9A85.314D2E30
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
(filtered medium)">
vlink=3Dpurple>
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>Win32::OLE->LastError()
class=3DMsoNormal>
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>You can also call Win32::OLE->Option(Warn =3D> 2) at the =
beginning of your script to display all OLE errors as they are =
encountered.
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>Cheers,
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>-Jan
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'>
1.0pt;padding:3.0pt 0in 0in 0in'>
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"' >From:=
=
activeperl-bounces@listserv.ActiveState.com =
[mailto:activeperl-bounces@listserv.ActiveState.com] On Behalf Of =
Roode, Eric
Sent: Thursday, January 21, 2010 10:12 =
AM
To: activeperl@listserv.ActiveState.com
Subject: =
Win32::OLE can't create object
class=3DMsoNormal>
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif" '>The =
documentation for this module says,
class=3DMsoNormal>
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif" '>  =
; "The new() class method starts a new instance of an =
OLE Automation object. It returns a reference to this object or =
undef
if the =
creation failed."
class=3DMsoNormal>
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif" '>undef is =
not particularly useful. Is there any way to get further =
information on why the object could not be created? I am trying to =
track down a problem here and am getting stuck at this =
point.
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif" '>
Thanks.=
------=_NextPart_000_01D0_01CA9A85.314D2E30--
--===============0167404816==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============0167404816==--
RE: Win32::OLE can"t create object
am 21.01.2010 20:42:51 von eroode
This is a multi-part message in MIME format.
--===============0815299741==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01CA9AD1.EAD9D3C3"
This is a multi-part message in MIME format.
------_=_NextPart_001_01CA9AD1.EAD9D3C3
Content-Type: text/plain; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
Thanks, Jan -- that showed me that the error is=20
Win32::OLE(0.1709) error 0x80070005: "Access is denied"
Now I just have to figure out what permission is needed.
=20
________________________________
From: Jan Dubois [mailto:jand@activestate.com]=20
Sent: Thursday, January 21, 2010 1:34 PM
To: Roode, Eric; activeperl@listserv.ActiveState.com
Subject: RE: Win32::OLE can't create object
Win32::OLE->LastError()
=20
You can also call Win32::OLE->Option(Warn =3D> 2) at the beginning of your
script to display all OLE errors as they are encountered.
=20
Cheers,
-Jan
=20
From: activeperl-bounces@listserv.ActiveState.com
[mailto:activeperl-bounces@listserv.ActiveState.com] On Behalf Of Roode,
Eric
Sent: Thursday, January 21, 2010 10:12 AM
To: activeperl@listserv.ActiveState.com
Subject: Win32::OLE can't create object
=20
The documentation for this module says,
"The new() class method starts a new instance of an OLE Automation
object. It returns a reference to this object or undef if the creation
failed."
=20
undef is not particularly useful. Is there any way to get further
information on why the object could not be created? I am trying to
track down a problem here and am getting stuck at this point.
Thanks.
------_=_NextPart_001_01CA9AD1.EAD9D3C3
Content-Type: text/html; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml">
class=3D168574019-21012010>Thanks, Jan -- that showed me that the error is =
PAN>
face=3DVerdana>
size=3D2>Now I just have to figure out <=
SPAN=20
class=3D168574019-21012010>what permission is=20
needed.
class=3D168574019-21012010>
=20
color=3D#800000 size=3D2>
style=3D"FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-seri=
f'">Win32::OLE->LastError()
style=3D"FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-seri=
f'">
style=3D"FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-seri=
f'">You=20
can also call Win32::OLE->Option(Warn =3D> 2) at the beginning of you=
r=20
script to display all OLE errors as they are encountered.=
style=3D"FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-seri=
f'">
style=3D"FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-seri=
f'">Cheers,
style=3D"FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-seri=
f'">-Jan
style=3D"FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-seri=
f'">
style=3D"BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium =
none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: blue 1.5pt solid=
; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
style=3D"BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df=
1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium non=
e; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:<=
/B>
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">=20
activeperl-bounces@listserv.ActiveState.com=20
[mailto:activeperl-bounces@listserv.ActiveState.com] On Behalf Of Ro=
ode,=20
Eric
Sent: Thursday, January 21, 2010 10:12 AM
To:=20
activeperl@listserv.ActiveState.com
Subject: Win32::OLE can't cre=
ate=20
object
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">The document=
ation=20
for this module says,
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'"> =
=20
"The new() class method starts a new instance of an OLE Automation=
=20
object. It returns a reference to this object or
style=3D"FONT-SIZE: 10pt">undef
if the creation=20
failed."
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">undef is not=
=20
particularly useful. Is there any way to get further information on w=
hy=20
the object could not be created? I am trying to track down a problem =
here=20
and am getting stuck at this point.
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">
Thanks.<=
/SPAN>
------_=_NextPart_001_01CA9AD1.EAD9D3C3--
--===============0815299741==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============0815299741==--
RE: Win32::OLE can"t create object
am 21.01.2010 22:37:33 von Jan Dubois
This is a multipart message in MIME format.
--===============1195370073==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_01F2_01CA9A9E.E3B4D5F0"
Content-Language: en-us
This is a multipart message in MIME format.
------=_NextPart_000_01F2_01CA9A9E.E3B4D5F0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Running `dcomcnfg` may be the tool to figure it out:
Select "Component Services|Computers|My Computer|DCOM Config". Right-click on the class you try to instantiate and look on the
"Security" tab, which will show Launch/Access/Configuration permission settings.
Cheers,
-Jan
From: activeperl-bounces@listserv.ActiveState.com [mailto:activeperl-bounces@listserv.ActiveState.com] On Behalf Of Roode, Eric
Sent: Thursday, January 21, 2010 11:43 AM
To: activeperl@listserv.ActiveState.com
Subject: RE: Win32::OLE can't create object
Thanks, Jan -- that showed me that the error is
Win32::OLE(0.1709) error 0x80070005: "Access is denied"
Now I just have to figure out what permission is needed.
_____
From: Jan Dubois [mailto:jand@activestate.com]
Sent: Thursday, January 21, 2010 1:34 PM
To: Roode, Eric; activeperl@listserv.ActiveState.com
Subject: RE: Win32::OLE can't create object
Win32::OLE->LastError()
You can also call Win32::OLE->Option(Warn => 2) at the beginning of your script to display all OLE errors as they are encountered.
Cheers,
-Jan
From: activeperl-bounces@listserv.ActiveState.com [mailto:activeperl-bounces@listserv.ActiveState.com] On Behalf Of Roode, Eric
Sent: Thursday, January 21, 2010 10:12 AM
To: activeperl@listserv.ActiveState.com
Subject: Win32::OLE can't create object
The documentation for this module says,
"The new() class method starts a new instance of an OLE Automation object. It returns a reference to this object or undef if the
creation failed."
undef is not particularly useful. Is there any way to get further information on why the object could not be created? I am trying
to track down a problem here and am getting stuck at this point.
Thanks.
------=_NextPart_000_01F2_01CA9A9E.E3B4D5F0
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
(filtered medium)">
vlink=3Dpurple>
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>Running `dcomcnfg` may be the tool to figure it =
out:
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>Select “Component Services|Computers|My Computer|DCOM =
Config”. Right-click on the class you try to instantiate and look =
on the “Security” tab, which will show =
Launch/Access/Configuration permission settings.
class=3DMsoNormal>
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>Cheers,
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>-Jan
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'>
1.0pt;padding:3.0pt 0in 0in 0in'>
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"' >From:=
=
activeperl-bounces@listserv.ActiveState.com =
[mailto:activeperl-bounces@listserv.ActiveState.com] On Behalf Of =
Roode, Eric
Sent: Thursday, January 21, 2010 11:43 =
AM
To: activeperl@listserv.ActiveState.com
Subject: =
RE: Win32::OLE can't create object
class=3DMsoNormal>
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif" ;color:maroon=
'>Thanks, Jan -- that showed me that the error is =
style=3D'color:maroon'>
class=3DMsoNormal>
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif" ;color:maroon=
'>Now I just have to figure out what =
permission is needed.
align=3Dcenter style=3D'text-align:center'>
align=3Dcenter>
style=3D'margin-bottom:12.0pt'>
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"' >From:=
=
Jan Dubois [mailto:jand@activestate.com]
Sent: Thursday, =
January 21, 2010 1:34 PM
To: Roode, Eric; =
activeperl@listserv.ActiveState.com
Subject: RE: Win32::OLE =
can't create object
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>Win32::OLE->LastError()
class=3DMsoNormal>
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>You can also call Win32::OLE->Option(Warn =3D> 2) at the =
beginning of your script to display all OLE errors as they are =
encountered.
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>Cheers,
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>-Jan
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;color:#1F497=
D'>
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'>
1.0pt;padding:3.0pt 0in 0in 0in'>
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"' >From:=
=
activeperl-bounces@listserv.ActiveState.com =
[mailto:activeperl-bounces@listserv.ActiveState.com] On Behalf Of =
Roode, Eric
Sent: Thursday, January 21, 2010 10:12 =
AM
To: activeperl@listserv.ActiveState.com
Subject: =
Win32::OLE can't create object
class=3DMsoNormal>
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif" '>The =
documentation for this module says,
class=3DMsoNormal>
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif" '>  =
; "The new() class method starts a new instance of an =
OLE Automation object. It returns a reference to this object or =
undef
if the =
creation failed."
class=3DMsoNormal>
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif" '>undef is =
not particularly useful. Is there any way to get further =
information on why the object could not be created? I am trying to =
track down a problem here and am getting stuck at this =
point.
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif" '>
Thanks.=
------=_NextPart_000_01F2_01CA9A9E.E3B4D5F0--
--===============1195370073==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============1195370073==--