PERL/PWS DOS window popup problem ... 
Author Message
 PERL/PWS DOS window popup problem ...

I have PWS and ActiveState Perl installed and running on my Windows 98 box.

However, whenever I execute a Perl script through the browser, a DOS console
box appears, then dissappears. The script runs correctly, but obviously,
this is very annoying. I've found many references to this problem in this
group, but no one seems to have a solution for it.

I've gone through the registry settings and file associations routine, and
all seems OK, yet the problem persists.

Has anyone heard of a solution for this?

JeffM



Wed, 18 Jun 1902 08:00:00 GMT  
 PERL/PWS DOS window popup problem ...
you need to add your DNS settings..

double click on your nertwork icon then double click on your TCP/IP and you will
see the DNS Configuration tab

Quote:

> I have PWS and ActiveState Perl installed and running on my Windows 98 box.

> However, whenever I execute a Perl script through the browser, a DOS console
> box appears, then dissappears. The script runs correctly, but obviously,
> this is very annoying. I've found many references to this problem in this
> group, but no one seems to have a solution for it.

> I've gone through the registry settings and file associations routine, and
> all seems OK, yet the problem persists.

> Has anyone heard of a solution for this?

> JeffM



Wed, 18 Jun 1902 08:00:00 GMT  
 PERL/PWS DOS window popup problem ...

Quote:

> you need to add your DNS settings..

> double click on your nertwork icon then double click on your TCP/IP and you will
> see the DNS Configuration tab

Hmmm?  How is this jeopardy-style advice going to help the poster?

His problem is trivial, really.  When others browse his website, *they*
won't see that DOS box.

[Jeff's post snipped since Cure put it in the wrong place]

David
--

Senior Computing Specialist
mathematical statistician



Wed, 18 Jun 1902 08:00:00 GMT  
 PERL/PWS DOS window popup problem ...

Quote:
> I have PWS and ActiveState Perl installed and running on my Windows 98
box.

> However, whenever I execute a Perl script through the browser, a DOS
console
> box appears, then dissappears. The script runs correctly, but obviously,
> this is very annoying. I've found many references to this problem in this
> group, but no one seems to have a solution for it.

> I've gone through the registry settings and file associations routine, and
> all seems OK, yet the problem persists.

> Has anyone heard of a solution for this?

Start regedit and open

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\Script
Map

Click Add Value from the Edit menu.
The Value Name is .pl
The Data type is REG_SZ.
The String value is

<the full path to perl.exe>\perl.exe %s %s

Restart the WWW service.

 - Eric Jain



Wed, 18 Jun 1902 08:00:00 GMT  
 PERL/PWS DOS window popup problem ...
Thanks, but this doesn't work for me. I've tried it more than once on the
advice of others in this group.

Thanks anyway,

JeffM

Quote:

> > I have PWS and ActiveState Perl installed and running on my Windows 98
> box.

> > However, whenever I execute a Perl script through the browser, a DOS
> console
> > box appears, then dissappears. The script runs correctly, but obviously,
> > this is very annoying. I've found many references to this problem in
this
> > group, but no one seems to have a solution for it.

> > I've gone through the registry settings and file associations routine,
and
> > all seems OK, yet the problem persists.

> > Has anyone heard of a solution for this?

> Start regedit and open

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\Script

- Show quoted text -

Quote:
> Map

> Click Add Value from the Edit menu.
> The Value Name is .pl
> The Data type is REG_SZ.
> The String value is

> <the full path to perl.exe>\perl.exe %s %s

> Restart the WWW service.

>  - Eric Jain



Wed, 18 Jun 1902 08:00:00 GMT  
 PERL/PWS DOS window popup problem ...
The only problem is, I'm giving a demo to a customer running the application
and PWS on my laptop, so I need this to be resolved.

Thanks anyway,

JeffM

=================


Quote:

> > you need to add your DNS settings..

> > double click on your nertwork icon then double click on your TCP/IP and
you will
> > see the DNS Configuration tab

> Hmmm?  How is this jeopardy-style advice going to help the poster?

> His problem is trivial, really.  When others browse his website, *they*
> won't see that DOS box.


> [Jeff's post snipped since Cure put it in the wrong place]

> David
> --

> Senior Computing Specialist
> mathematical statistician



Wed, 18 Jun 1902 08:00:00 GMT  
 PERL/PWS DOS window popup problem ...

Quote:

> I have PWS and ActiveState Perl installed and running on my Windows 98 box.

> However, whenever I execute a Perl script through the browser, a DOS console
> box appears, then dissappears. The script runs correctly, but obviously,
> this is very annoying. I've found many references to this problem in this
> group, but no one seems to have a solution for it.

> I've gone through the registry settings and file associations routine, and
> all seems OK, yet the problem persists.

> Has anyone heard of a solution for this?

> JeffM

Yes,
a part of your setup is wrong, its just a matter of which bit! the fact
that the dos window appears would suggest that your machine is
associating .pl with perl and running it and the server is not in
control or on?

Does your script reside in a directory of PWS? and not in a non-PWS
directory?
Is your cgi-bin executable?
Is the registry entry in the right place and of the right value?
Are you calling the script through the browser with a url ie
http://127.0.0.1/cgi-bin/wibble.pl
Is PWS on and running?
sorry if these are basic but it may be one of them or more?

I had to reinstall PWS before I could get it up and running, then the
same actions resulted in a working PWS, then I got sick of it and
installed Apache anyway, far better,

HTH

Richard H



Wed, 18 Jun 1902 08:00:00 GMT  
 PERL/PWS DOS window popup problem ...
Try to rename the script to *.plx
Quote:


> > I have PWS and ActiveState Perl installed and running on my Windows 98 box.

> > However, whenever I execute a Perl script through the browser, a DOS console
> > box appears, then dissappears. The script runs correctly, but obviously,
> > this is very annoying. I've found many references to this problem in this
> > group, but no one seems to have a solution for it.

> > I've gone through the registry settings and file associations routine, and
> > all seems OK, yet the problem persists.

> > Has anyone heard of a solution for this?

> > JeffM

> Yes,
> a part of your setup is wrong, its just a matter of which bit! the fact
> that the dos window appears would suggest that your machine is
> associating .pl with perl and running it and the server is not in
> control or on?

> Does your script reside in a directory of PWS? and not in a non-PWS
> directory?
> Is your cgi-bin executable?
> Is the registry entry in the right place and of the right value?
> Are you calling the script through the browser with a url ie
> http://127.0.0.1/cgi-bin/wibble.pl
> Is PWS on and running?
> sorry if these are basic but it may be one of them or more?

> I had to reinstall PWS before I could get it up and running, then the
> same actions resulted in a working PWS, then I got sick of it and
> installed Apache anyway, far better,

> HTH

> Richard H



Wed, 18 Jun 1902 08:00:00 GMT  
 PERL/PWS DOS window popup problem ...

Quote:
> I have PWS and ActiveState Perl installed and running on my Windows 98 box.

> However, whenever I execute a Perl script through the browser, a DOS console
> box appears, then dissappears. The script runs correctly, but obviously,
> this is very annoying. I've found many references to this problem in this
> group, but no one seems to have a solution for it.

> I've gone through the registry settings and file associations routine, and
> all seems OK, yet the problem persists.

> Has anyone heard of a solution for this?

You will want to ask in the group comp.infosystems.www.servers.ms-windows
about this.  There is a 'knowledge base' article on the microsoft site
that describes this but if you ask in that group  someone is bound to know.

/J\
--

<http://www.gellyfish.com>
** Uri Guttman - Have You CPANed Backward.pm Yet ? **



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 9 post ] 

 Relevant Pages 

1. PERL/PWS DOS Window popup problem SOLVED !!!

2. Perl Batch Job without DOS window popup

3. Can perl make popup window like Javascript

4. ssi in popup window, please help!!!

5. popup windows...

6. Popup Window in Tk

7. Help - popup window option

8. CGI.pm on NT: assigning labels to popup via hash changes popup values

9. pTk 8.4.24 patch - document Popup(), make dialogs use Popup()

10. Popup Window in Tk

11. Popup Windows

12. Dismissed popup leaves application unresponsive to events on Windows NT (or 95)

 

 
Powered by phpBB® Forum Software