CGI.NET Beta

 
Post new topic   Reply to topic    Aprelium Forum Index -> Classic ASP
View previous topic :: View next topic  
Author Message
b0b
-


Joined: 01 Jun 2004
Posts: 24

PostPosted: Tue Apr 05, 2005 12:02 am    Post subject: CGI.NET Beta Reply with quote

I decided to release the beta. Treat it like a Perl CGI. Extract into htdocs folder so you have /htdocs/CGI.NET.exe and /htdocs/bin/CGI.NET.exe, and don't rename them otherwise you will get errors. Associate the .aspx with it and do some simple scripts to start off, and work your way up. Report any bugs in this thread!

Please make lots of tests
For example, make a page with an ASP.NET button and see if it works and etc..

Download CGI.NET
Download .NET Framework 1.1


Last edited by b0b on Thu Apr 07, 2005 2:19 am; edited 3 times in total
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Apr 05, 2005 1:23 pm    Post subject: Re: CGI.NET Beta Reply with quote

b0b,

Thank you for making the beta available. It works for simple "Hello World" pages. We'll try more complex examples :-)
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
richardyork
-


Joined: 22 Jun 2004
Posts: 410
Location: United Kingdom

PostPosted: Tue Apr 05, 2005 5:44 pm    Post subject: Reply with quote

I've tried it and it just asks if I want to debug :-(

Just thought I'd let you know!
_________________
Please SEARCH the forums BEFORE asking questions!
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Tue Apr 05, 2005 8:19 pm    Post subject: Reply with quote

Edit: Abyss Web Server v2.3 Beta 1 supports ASP.NET! Get It now!

Last edited by TRUSTAbyss on Sun Jan 15, 2006 8:10 pm; edited 2 times in total
Back to top View user's profile Send private message Visit poster's website
b0b
-


Joined: 01 Jun 2004
Posts: 24

PostPosted: Tue Apr 05, 2005 10:03 pm    Post subject: Reply with quote

Go into command promp/dos prompt and type:

cd C:\Program Files\Abyss Web Server\htdocs
CGI.NET hello.aspx

send me the output (the whole prompt).
Back to top View user's profile Send private message
richardyork
-


Joined: 22 Jun 2004
Posts: 410
Location: United Kingdom

PostPosted: Tue Apr 05, 2005 10:11 pm    Post subject: Reply with quote

Here You Go:

Command Prompt wrote:

C:\Program Files\Abyss Web Server\htdocs>cgi.net hello.aspx
Content-Type: text/html

<html>
<head>
<title>The resource cannot be found.</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;c
olor:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-t
op: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top
: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;col
or:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;col
or:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}

.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color
:navy; cursor:hand; }
</style>
</head>

<body bgcolor="white">

<span><H1>Server Error in '/aspx' Application.<hr width=100% size=1
color=silver></H1>

<h2> <i>The resource cannot be found.</i> </h2></span>

<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">


<b> Description: </b>HTTP 404. The resource you are looking for (or
one of its dependencies) could have been removed, had its name changed, or is te
mporarily unavailable. Please review the following URL and make sure that it is
spelled correctly.
<br><br>

<b> Requested Url: </b>/aspx/hello.aspx<br><br>

<hr width=100% size=1 color=silver>

<b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:1.
1.4322.573; ASP.NET Version:1.1.4322.573

</font>

</body>
</html>
<!--
[FileNotFoundException]: C:\Program Files\Abyss Web Server\htdocs\hello.aspx
at System.Web.UI.TemplateParser.GetParserCacheItem()
at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String vi
rtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControlParser.GetCompiledInstance(String virtualPath
, String inputFile, HttpContext context)
at System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String virtualPat
h, String inputFile, HttpContext context)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String re
questType, String url, String path)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requ
estType, String path, String pathTranslated, Boolean useAppConfig)
[HttpException]: Exception of type System.Web.HttpException was thrown.
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requ
estType, String path, String pathTranslated, Boolean useAppConfig)
at System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionSt
ep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& compl
etedSynchronously)
-->
C:\Program Files\Abyss Web Server\htdocs>


Hope this helps you!
_________________
Please SEARCH the forums BEFORE asking questions!
Back to top View user's profile Send private message
b0b
-


Joined: 01 Jun 2004
Posts: 24

PostPosted: Tue Apr 05, 2005 11:40 pm    Post subject: Reply with quote

What is the script that you executed?

Did you type: http://localhost/hello.aspx ?
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Wed Apr 06, 2005 12:25 am    Post subject: Reply with quote

I tried it from the browser , isn't that what we should use ?
Back to top View user's profile Send private message Visit poster's website
richardyork
-


Joined: 22 Jun 2004
Posts: 410
Location: United Kingdom

PostPosted: Wed Apr 06, 2005 4:08 pm    Post subject: Reply with quote

[quote=b0b]
Did you type: http://localhost/hello.aspx ?
[/quote]

Yes I did, it was just a little hello world script.
_________________
Please SEARCH the forums BEFORE asking questions!
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Apr 06, 2005 5:16 pm    Post subject: Reply with quote

richardyork,

Have uncompressed the zip file as is (with its directory structure in htdocs). It seems that it won't work unless you have the two following files:

/htdocs/CGI.NET.exe
/htdocs/bin/CGI.NET.exe
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
richardyork
-


Joined: 22 Jun 2004
Posts: 410
Location: United Kingdom

PostPosted: Wed Apr 06, 2005 6:05 pm    Post subject: Reply with quote

Yes I have!

Which file do you use as the CGI interpreter? Ive tried both and still no luck :-(

Thank You!
_________________
Please SEARCH the forums BEFORE asking questions!
Back to top View user's profile Send private message
b0b
-


Joined: 01 Jun 2004
Posts: 24

PostPosted: Wed Apr 06, 2005 8:05 pm    Post subject: Reply with quote

@richardyork

1. Do you have the .NET Framework 1.1 installed?
2. Use the /htdocs/CGI.NET.exe for your CGI executable, not the one in the /htdocs/bin directory. Don't rename either, and don't delete the /htdocs/bin directory.
3. I tested using a fresh install of Abyss, so you might have something configured to work with another scripting language that is causing conflict.
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Apr 07, 2005 4:20 am    Post subject: Reply with quote

I got this to work on Windows XP but when I try it on a Windows 98 , it fails to
execute , it just acts like its going to time out and never show the results. :/
Back to top View user's profile Send private message Visit poster's website
b0b
-


Joined: 01 Jun 2004
Posts: 24

PostPosted: Thu Apr 07, 2005 7:55 pm    Post subject: Reply with quote

^^ That is a bug in the .NET Framework 1.1, it only has stable support for 2000/XP/2003 right now.
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Apr 07, 2005 10:12 pm    Post subject: Reply with quote

Abyss Web Server v2.3 Beta 1 supports ASP.NET! Get it now!

Last edited by TRUSTAbyss on Sun Jan 15, 2006 8:11 pm; edited 1 time in total
Back to top View user's profile Send private message Visit poster's website
b0b
-


Joined: 01 Jun 2004
Posts: 24

PostPosted: Sat Apr 09, 2005 12:42 am    Post subject: Reply with quote

Baby ASP Webserver will do classic ASP pages. I have stopped development of my ASP extension for now, as ASP.NET seems to be rising in popularity.
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sat Apr 09, 2005 1:42 am    Post subject: Reply with quote

Edit: Abyss Web Server v2.3 Beta 1 supports ASP.NET! Get it now!

Last edited by TRUSTAbyss on Sun Jan 15, 2006 8:12 pm; edited 1 time in total
Back to top View user's profile Send private message Visit poster's website
b0b
-


Joined: 01 Jun 2004
Posts: 24

PostPosted: Sun Apr 10, 2005 12:02 am    Post subject: Reply with quote

Microsoft's ASP support is in an encrypted DLL file, which cannot be used by any program besides IIS. The only way around it is write your own implimentation, or find someone who has.

CGI.NET is the testing version of ASP.NET support on Abyss Web Server, until Aperlium and I finish working on supporting ASP.NET natively in the server.
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Apr 14, 2005 4:54 pm    Post subject: Reply with quote

Edit: Abyss Web Server v2.3 Beta 1 supports ASP.NET! Get it now!

Last edited by TRUSTAbyss on Sun Jan 15, 2006 8:13 pm; edited 5 times in total
Back to top View user's profile Send private message Visit poster's website
gitte
-


Joined: 28 Feb 2004
Posts: 1

PostPosted: Sat Apr 23, 2005 9:29 am    Post subject: cgi.net Reply with quote

Just wants to say it works in my end. That is when I remembered to move the file I used for test in the same dir as the cgi.net was placed.:-)

I will do some more tests.

gitte
Back to top View user's profile Send private message
b0b
-


Joined: 01 Jun 2004
Posts: 24

PostPosted: Sat Apr 23, 2005 6:19 pm    Post subject: Reply with quote

I'm glad to hear it atleast works. The performance is be much better the next release once I finish the threading and memory parts.
Back to top View user's profile Send private message
richardyork
-


Joined: 22 Jun 2004
Posts: 410
Location: United Kingdom

PostPosted: Sat Apr 23, 2005 10:17 pm    Post subject: Reply with quote

b0b,

So your project is still active then?......Hope So ;-)

Thanks!
_________________
Please SEARCH the forums BEFORE asking questions!
Back to top View user's profile Send private message
Buddha1
-


Joined: 18 May 2005
Posts: 10

PostPosted: Thu May 19, 2005 2:28 pm    Post subject: asp net how do I get copy of this stuff to try.??? Reply with quote

I want to try this beta where can I get it . I will give you bug reports ect if thats what you want..
_________________
David Lane
Back to top View user's profile Send private message Send e-mail
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu May 19, 2005 4:59 pm    Post subject: Reply with quote

The Beta is available at the top , by the time v2.1 gets released , its possible
that we may see ASP.NET but their is no release date set at this time. LateR!

Sincerely , TRUSTpunk
Back to top View user's profile Send private message Visit poster's website
Buddha1
-


Joined: 18 May 2005
Posts: 10

PostPosted: Thu May 19, 2005 6:25 pm    Post subject: beta cgi.net Reply with quote

the link at the top does not work
says u have to be a member.
HTTP1.1 STATUS 403 Remote Access to this object forbidden This file cannot be directly accessed from a remote site, but must be linked through the Brinkster Member's site.
_________________
David Lane
Back to top View user's profile Send private message Send e-mail
richardyork
-


Joined: 22 Jun 2004
Posts: 410
Location: United Kingdom

PostPosted: Thu May 19, 2005 9:02 pm    Post subject: Reply with quote

Right Click --> Save Target As...

Easy!
_________________
Please SEARCH the forums BEFORE asking questions!
Back to top View user's profile Send private message
Buddha1
-


Joined: 18 May 2005
Posts: 10

PostPosted: Thu May 19, 2005 9:26 pm    Post subject: beta cgi.net Reply with quote

thanks worked fine will test it after dinner
_________________
David Lane
Back to top View user's profile Send private message Send e-mail
Buddha1
-


Joined: 18 May 2005
Posts: 10

PostPosted: Thu May 19, 2005 11:35 pm    Post subject: Reply with quote

well I got it loaded and I get an attempt to debug everytime the a server 500 error if i try to debug i get unable to attatc to process access denied
I will work on this more tomorrow I guess I have a parameter wrong or something.
_________________
David Lane
Back to top View user's profile Send private message Send e-mail
Buddha1
-


Joined: 18 May 2005
Posts: 10

PostPosted: Fri May 20, 2005 2:19 pm    Post subject: asp .net beta Reply with quote

I keep getting unable to attatch to process and asked to debug I think the problem is with using visual studio because it puts aa the file in a directory of their own exaample htdocs\webapplication1\webpage1.aspx......any ideas?
_________________
David Lane
Back to top View user's profile Send private message Send e-mail
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri May 20, 2005 4:54 pm    Post subject: Reply with quote

Edit: Abyss Web Server v2.3 Beta 1 supports ASP.NET! Get it now!

Last edited by TRUSTAbyss on Sun Jan 15, 2006 8:15 pm; edited 2 times in total
Back to top View user's profile Send private message Visit poster's website
Buddha1
-


Joined: 18 May 2005
Posts: 10

PostPosted: Fri May 20, 2005 5:14 pm    Post subject: asp net failed again Reply with quote

I did all you said again still get unable to find file i-o and thrown into debug. what directory should the aspx file be and name?
_________________
David Lane
Back to top View user's profile Send private message Send e-mail
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri May 20, 2005 5:18 pm    Post subject: Reply with quote

Edit: Abyss Web Server v2.3 Beta 1 supports ASP.NET! Get it now!

Last edited by TRUSTAbyss on Sun Jan 15, 2006 8:16 pm; edited 2 times in total
Back to top View user's profile Send private message Visit poster's website
Buddha1
-


Joined: 18 May 2005
Posts: 10

PostPosted: Fri May 20, 2005 9:03 pm    Post subject: beta net Reply with quote

I guess I'm too stoopid. I cant make it work I guess Ill wait till the new suff is done as I want to use a gui based development and I havent seen a good php one.
_________________
David Lane
Back to top View user's profile Send private message Send e-mail
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri May 20, 2005 10:27 pm    Post subject: Reply with quote

Edit: Abyss Web Server v2.3 Beta 1 supports ASP.NET! Get it now!

Last edited by TRUSTAbyss on Sun Jan 15, 2006 8:16 pm; edited 1 time in total
Back to top View user's profile Send private message Visit poster's website
Buddha1
-


Joined: 18 May 2005
Posts: 10

PostPosted: Fri May 20, 2005 10:38 pm    Post subject: beta cgi.net Reply with quote

Ya I'm gonna wait. I have framework 1.1 and visual studio .net but xp home so I can't run MS IIS waiting is the hardest part. Thanks for your help.
_________________
David Lane
Back to top View user's profile Send private message Send e-mail
Yami King
-


Joined: 08 Sep 2005
Posts: 120

PostPosted: Sat Sep 10, 2005 11:10 pm    Post subject: Reply with quote

I know this post comes a bit late, but I wanted to say that the file isn't a valid archive.. Atleast that's what WinZip 10 (beta) tells me..
Back to top View user's profile Send private message Send e-mail
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Sun Sep 11, 2005 2:53 am    Post subject: Reply with quote

Quote:

Testing archive: CGI.NET_beta1.zip -- 11/09/2005 02:52
#####################################################

Testing: CGI.NET.exe
Testing: bin\CGI.NET.exe

#####################################################
Done. -- 11/09/2005 02:52
There were no errors in the archive: CGI.NET_beta1.zip


Shame Winzip beta doesn't tell you to think for a second about whether the download completed successfully...
_________________

"Invent an idiot proof webserver and they'll invent a better idiot..."
Back to top View user's profile Send private message
clandoug
-


Joined: 05 Nov 2005
Posts: 2

PostPosted: Sat Nov 05, 2005 9:40 pm    Post subject: works for me Reply with quote

Greetings. I read most of the posts and got it to work. Thanks very much. Note that the same .aspx will not work if it is located in a subfolder or other folder. It's not terribly fast, but I'm using it for training, so it's fast enough for me.
_________________
Dave newbie Douglas
Back to top View user's profile Send private message
clandoug
-


Joined: 05 Nov 2005
Posts: 2

PostPosted: Sun Nov 06, 2005 8:02 pm    Post subject: found an issue Reply with quote

I'm working my way through the examples at http://www.asp.net/Tutorials/quickstart.aspx, and I'm stuck on intro6.aspx. The "script" section does not run (no error, but no display of the "Hi" text).

b0b: is this a bug or a newbie error?
_________________
Dave newbie Douglas
Back to top View user's profile Send private message
lani9loo
-


Joined: 04 Jan 2004
Posts: 3

PostPosted: Tue Jan 03, 2006 8:21 pm    Post subject: Having a problem with ascx file Reply with quote

hey there - i've installed this beta version of CGI.Net and i'm getting the following error:

Server Error in '/aspx' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The virtual path '/test.ascx' maps to another application, which is not allowed.

Source Error:


Line 1: <%@ Register TagPrefix="xprs" tagname="test" src="/test.ascx" %>
Line 2: <%@ Page Language="VB" Debug="false" Trace="false" TraceMode="SortByCategory" %>
Line 3: <!-- Created: 9/20/2002 2:55:24 PM -->


Source File: C:\Program Files\Abyss Web Server\htdocs\test.aspx Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Anyone have any ideas how i can get this to work?
your help is appreciated.
Alan
Back to top View user's profile Send private message
richardyork
-


Joined: 22 Jun 2004
Posts: 410
Location: United Kingdom

PostPosted: Wed Jan 04, 2006 1:36 am    Post subject: Reply with quote

b0b

Is this CGI.NET Beta project still active??


I doubt it................!?
_________________
Please SEARCH the forums BEFORE asking questions!
Back to top View user's profile Send private message
aprelium-beta
-


Joined: 24 Jun 2004
Posts: 383

PostPosted: Sun Jan 15, 2006 5:31 pm    Post subject: Reply with quote

Some self-promotion :-)

Abyss Web Server 2.3 Beta 1 has just been released and it features native ASP.NET support: http://www.aprelium.com/forum/viewtopic.php?t=8196 .
_________________
Beta Testing Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Classic ASP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group