There are no permission problems on the directory. I have lots of other mail programs that are written in PERL and are executed via browser. They execute just fine.
Also, I just tried what Ryan wanted me do. #! D:\Perl\bin\Perl.exe print "Content-type: text/html \n\n"; And it return a blank page.. Thanks, Hari. -----Original Message----- From: Gould, Kevin [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 04:26 PM To: Krishna, Hari; Thomas R Wyant_III; [EMAIL PROTECTED] Subject: RE: Win32::AdminMisc problems I'd check permissions on the directory. Likely you're not running the program as the same id interactively and through the webserver. Use www.sysinternals.com filemon to monitor inetsrv.exe to see if you're getting permission denied. -----Original Message----- From: Krishna, Hari [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 4:11 PM To: 'Thomas R Wyant_III'; [EMAIL PROTECTED] Subject: RE: Win32::AdminMisc problems Tom - I didnot understand "root around in the archieves"? Did you wanted me to search thru the archieves on the cpan and roth sites?? Its soo frustrating..I am too close to the solution and yet very far. -----Original Message----- From: Thomas R Wyant_III [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 03:28 PM To: [EMAIL PROTECTED] Subject: Re: Win32::AdminMisc problems Hari - You've got me. It seems to me if Win32::AdminMisc is installed on your server _and_ your browser has access to it, this shouldn't happen. But I've seen it come by on the mailing list. You might want to root around in the archives and see what comes up. Tom "Krishna, Hari" <[EMAIL PROTECTED]>@listserv.ActiveState.com on 10/10/2002 10:15:16 AM Sent by: [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Win32::AdminMisc problems Hi Guys, I get the following error when I execute my perl script from the browser. But when I execute the program by double clicking, it works fine. Any guesses?? I see the result in the test.txt file "Password is correct" Heres' the code.... #! D:\Perl\bin\Perl.exe use strict; use Win32::AdminMisc; open(OUT_EXT,">test.txt"); $domain = "abcdefg"; $user = "confidential"; $password = "confidential"; if( Win32::AdminMisc::UserCheckPassword($domain, $user, $password)) { print OUT_EXT "Password is correct.\n"; } else { print OUT_EXT "Password is not correct.\n"; } Here's the error ------------------------------------------------------------------------ ---- --------------------------------------------------- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Can't locate Win32/AdminMisc.pm in @INC (@INC contains: D:/Perl/lib D:/Perl/site/lib .) at D:\inetpub\wwwroot\Intranet\cgi-bin\xyz.pl line 2. BEGIN failed--compilation aborted at D:\inetpub\wwwroot\Intranet\cgi-bin\xyz.pl line 2. ------------------------------------------------------------------------ ---- ----------------------------------------------------- Tom Wyant --- Many thanks for your help. Thanks and Regards, Hari CONFIDENTIALITY NOTICE: This e-mail message, including all attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. You may NOT use, disclose, copy or disseminate this information. If you are not the intended recipient, please contact the sender by reply e-mail immediately. Please destroy all copies of the original message and all attachments. Your cooperation is greatly appreciated. Columbus Regional Hospital 2400 East 17th Street Columbus, Indiana 47201 _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs This communication is for use by the intended recipient and contains information that may be privileged, confidential or copyrighted under applicable law. If you are not the intended recipient, you are hereby formally notified that any use, copying or distribution of this e-mail, in whole or in part, is strictly prohibited. Please notify the sender by return e-mail and delete this e-mail from your system. Unless explicitly and conspicuously designated as "E-Contract Intended", this e-mail does not constitute a contract offer, a contract amendment, or an acceptance of a contract offer. This e-mail does not constitute a consent to the use of sender's contact information for direct marketing purposes or for transfers of data to third parties. Francais Deutsch Italiano Espanol Portuges Japanese Chinese Korean http://www.DuPont.com/corp/email_disclaimer.html _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs CONFIDENTIALITY NOTICE: This e-mail message, including all attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. You may NOT use, disclose, copy or disseminate this information. If you are not the intended recipient, please contact the sender by reply e-mail immediately. Please destroy all copies of the original message and all attachments. Your cooperation is greatly appreciated. Columbus Regional Hospital 2400 East 17th Street Columbus, Indiana 47201 _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs CONFIDENTIALITY NOTICE: This e-mail message, including all attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. You may NOT use, disclose, copy or disseminate this information. If you are not the intended recipient, please contact the sender by reply e-mail immediately. Please destroy all copies of the original message and all attachments. Your cooperation is greatly appreciated. Columbus Regional Hospital 2400 East 17th Street Columbus, Indiana 47201 _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs