> I have a problem calling a perl WSC thru ASP - My ASP page 
> calls the WSC
> fine, the WSC then calls Crypt::PGPSimple which then calls 
> PGP through the
> command line.
> 
> The WSC runs, but the encryption fails and I get an error 
> message that the
> file is not found - Oddly identical code produces the 
> encrypted text just
> fine. I assume this is a permissions problem but the 
> directory containing
> PGP is fully accessable to everybody.

It's common with IIS to have perl executing with a current directory
different from what you'd expect.  In fact, it will be usually be running in
c:\winnt\system32.  If you are expected to be able to use relative paths
when accessing files, it probably won't work.  So you might try making all
your paths absolute, such as c:/inetpub/wwwroot/myapp/file.txt  rather than
just "file.txt".  This may have nothing to do with your problem, but you
provided no code or detailed information, so I can't offer much more than
that.
 
> This probably more of an IIS / w2k problem than WSC but it is 
> very unclear
> how WSC's called by ASP access the file system, 

Is anything to do with Microsoft technology ever clear? ;-)

> google 
> doesn't have anything
> useful when searching and as usual the messageboards and stuff like
> 4guysfromrolla fawn over the stuff that works and overlook that which
> doesn't.

That's because providing truly useful troubleshooting information takes time
and effort, something most of the Micro-droid web sites can't be bothered to
expend.  They're too busy selling banner ads and closed-source ActiveX
controls.

I often find that even groups.google.com fails to provide answers to the
really sticky MS-tech problems.  I do a search and find a dozen poor folks
all screaming "What the heck?"  then 3 or 4 saying "Me, too!" and yet
nobody's offering a "Here's the answer!" reply.  But then again, for me,
groups.google.com is THE ONLY place I find most of my answers.  And that's
including support.microsoft.com.

It seems I rarely get such cluelessness with Perl or Linux issues, but that
may just be my perception of it.

jpt
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to