FrontPage Server Extensions for Windows - Error: Error 2 opening registry Key

This is Interesting: Free IT Magazines  
Home > Archive > FrontPage Server Extensions for Windows > July 2004 > Error: Error 2 opening registry Key





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 Error: Error 2 opening registry Key
Celia Brouillette

2004-07-15, 5: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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com