List Info

Thread: IIS, ASP.Net, PerlScript not supported?




IIS, ASP.Net, PerlScript not supported?
user name
2006-12-21 11:20:38

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 < pcrosleycrosley.co.nz">pcrosleycrosley.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.&nbsp; 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:gmail.com" target="_blank">vikasumitgmail.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 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

On 12/20/06, Powel Crosley <crosley.co.nz" target="_blank"> pcrosleycrosley.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.Net Framework 2.0.50727.

 

Now when I take a very simple .asp file:

<% LANGUAGE="PerlScript&quot; %>

< 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
listserv.ActiveState.com" target="_blank"> Perl.NETlistserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

 


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )