07-15-04 10:51 PM
Hello,
I have a PERL script that used to use fpsrvadm to create Frontpage
2000 extentions from a webpage instead of having to go on the server
to install it. But now with FP2002, I'm suppose to use owsadm.exe
which gives me an error but only when I run it from my webpage.
When I run the owsadm.exe directly on the server in a dos prompt
window, it will work but as soon as I use the owsadm.exe in my perl
script I get the following error:
Starting install, port: /LM/W3SVC/2.
Error: Error 2 opening registry key "SOFTWARE\Microsoft\Shared
Tools\Web Server Extensions\Ports\Port ".
The webpage I use is requests a username and password before being
able to access it. I've even checked the event viewer security log and
when I execute the command from my webpage, I see an event starting
owsadm.exe using my username and password.
I'm administrator on the machine and actually I've put everyone full
access on the web extentions registry.
I just don't know why it would fail like that when it works on the
server directly.
Here's the command being used by the PERL script:
system ( "\"C:\\Program Files\\Common Files\\Microsoft Shared\\Web
Server Extensions\\50\\bin\\owsadm.exe\" -o install -m /LM/W3SVC/2 -u
administrators " );
I would appreciate any help at this point because I'm just about to go
crazy here.
Thank you!
Célia
[ Post a follow-up to this message ]
|