Error: Error 2 opening registry Key

From: Celia Brouillette (celiab_at_jetc.org)
Date: 07/15/04


Date: Thu, 15 Jul 2004 11:01:44 -0400

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



Relevant Pages

  • Re: Whats wrong with IGS?
    ... IGS also had a java server which is getting broken due to ... from a webpage on account of its concept from original conception. ... no doubt to keep Internet Players hopping. ...
    (rec.games.go)
  • Re: Hosting a RDP via webpage
    ... Using their 'default.html webpage this contains the typical RDP login ... > Small Business Server 2003 this feature gets installed automatically but I ... >> all active x controls necessary for the user to login with. ...
    (microsoft.public.windowsxp.work_remotely)
  • RE: Passing Data Between Servers
    ... Then your server code is run by placing '|myperlcode -w' into ... >> then just send out to another perl script that would be ... >> Then based on the contents of input lunch another perl ... > something just waiting ...
    (perl.beginners)
  • Re: connect to a remote Postgresql server using DBI
    ... else) to execute queries on the remote database. ... perl script to execute queries on the remote server? ... > See the bottom of this page for client installation ...
    (perl.dbi.users)
  • Re: LDAP in SBS 2003?
    ... With that perl script, I can add any formatting the program requires or whatever. ... The point is the script generates the list and the connection to update the necessary server is OUTGOING, ... I either maintain a separate list of email addresses on the outside server, or I set up the outside server to perform LDAP queries on the SBS box. ...
    (microsoft.public.windows.server.sbs)