ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl.net
perl.net
IIS, ASP.Net, PerlScript not supported?
by vikasumit other posts by this author
Dec 21 2006 3:20AM messages near this date
view in the new Beta List Site
IIS, ASP.Net, PerlScript not supported? | Embedding Perl in .NET
FRAMEWORK Hi,

Try using Perl Dev, found here
http://www.activestate.com/Products/Perl_Dev_Kit/ It will help you in
creating your .NET pages using PERL as scripting language. Please read its
document for proper syntax, me too has to learn this :)

I know perl and ASP.NET using VB, but its good to learn it with perl :)

Sumit Gupta

On 12/21/06, Powel Crosley <pcrosley at crosley.co.nz>  wrote:
> 
>   Hi Sumit,
> 
> 
> 
>  Thanks for your reply.
> 
> 
> 
>  I had it as a .aspx filename.
> 
> 
> 
>  Are you saying ASP.Net 2.0 does not support Perlscript at all?
> 
> 
> 
>  Using the ISAPI approach is unfortunately not an option.  My client is
>  very bureaucratic and I was hoping to use Perlscript within ASP.Net rather
>  than shift everything over to VBScript.
> 
> 
> 
>  Thanks again.
> 
> 
> 
>  Regards,
> 
>  Powel Crosley
> 
> 
>   ------------------------------
> 
>  *From:* Vikasumit [mailto:vikasumit at gmail.com]
>  *Sent:* Wednesday, 20 December 2006 8:52 p.m.
>  *To:* Powel Crosley
>  *Subject:* Re: IIS, ASP.Net, PerlScript not supported?
> 
> 
> 
>  Hi,
> 
> 
> 
>  Can you let me know what extension did you give to your page...
> 
>  As far as I know default installation of ASP.NET <http://asp.net/> 2.0 and
>  Active perl will not run your page like this.
> 
> 
> 
>  Perl will run as .pl file and you don't need to have <% tags. Running perl
>  on IIS is simpler to running it on apache. just you don't need to name them
>  as cgi.
> 
> 
> 
>  simply make a perl script that runs through command line or on apache ..
> 
> 
> 
>  than put it in your wwwroot folder and make a call to it like
>  http://localhost/mytestperl.pl
> 
> 
> 
>  it might give you source code or might execute it as intention. If it
>  gives Source code that means you need to configure IIS to run .pl file with
>  Perl exe.
> 
> 
> 
>  Let me know so I can guide you further.
> 
> 
> 
>  Sumit Gupta
> 
>  http://www.vikasumit.com
> 
> 
> 
>  On 12/20/06, *Powel Crosley* <pcrosley at crosley.co.nz> wrote:
> 
>  Hi,
> 
> 
> 
>  I am new to IIS, ASP, and Perlscript having come from an Apache-Perl
>  environment.
> 
> 
> 
>  I have XP Professional, IIS 5.1, ActivePerl 5.8.8 Build 819, and ASP.NetFramework
>  2.0.50727.
> 
> 
> 
>  Now when I take a very simple .asp file:
> 
>  <%@ LANGUAGE="PerlScript" %>
> 
>  <HTML >
> 
>  <BODY >
> 
>  Test
> 
>  </BODY >
> 
>  </HTML >
> 
> 
> 
>  And try to load it in a browser (IE 7.0) I get the error message:
> 
>  *Parser Error Message: *'PerlScript' is not a supported language
> 
> 
> 
>  Now I've been looking around for help on installation issues but can't
>  seem to find how I load PerlScript as a known language for ASP.Net.
> 
> 
> 
>  I know that when I installed ActivePerl I specified PerlScript to be
>  loaded.
> 
> 
> 
>  I realise this is a simple problem, but I haven't worked under this yoke
>  before and my client is determined that this is the infrastructure they want
>  to use!
> 
> 
> 
>  Thanks for any advice!
> 
> 
> 
>  Warmest regards,
> 
>  Powel Crosley
> 
> 
> 
> 
>  _______________________________________________
>  Perl.NET mailing list
>  Perl.NET at listserv.ActiveState.com
>  To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>  <http://listserv.activestate.com/mailman/mysubs>
> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/perl.net/attachments/20061221/577
72cdf/attachment.html 
Thread:
pcrosley
vikasumit

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved