Solved

Which language should I use?

Posted on 1998-04-14
21
206 Views
Last Modified: 2013-12-25
I want to build a web based database so that I can search for answers from different locations. I am using IIS on an NT machine. Which language would be best for writing the search engine. What are my options? Am I limited to dll's and ODBC only. Is there something like CGI or Perl for NT? Maybe java would be best? I don't have a lot of experience with IIS, although I have done a decent amount with a unix based web server and cgi and perl.

If anyone has any suggestions I would appreciate any input you have.

Thanks,
0
Comment
Question by:johnsm
21 Comments
 

Expert Comment

by:juliomb
ID: 1858247
Well, you can use the ASP, it's a extension por IIS of Microsoft, it's programme in VisualBasic Script, and you can add Perl and Java & Javascript.

With VisualBasic, you can access to databases in ODBC, with SQL sentences via ADO.
0
 
LVL 1

Author Comment

by:johnsm
ID: 1858248
To misquote someone a little more famous than me

"It's all french to me"

In other words I don't exactly understand what you are talking about. Im coming from the unix side with very little knowledge of Visual Basic. What is ADO? How do you use ASP?

0
 
LVL 3

Expert Comment

by:percyn
ID: 1858249
ASP = Active server Scripting (similar to a shell script), that can be written in a variety of scripting languages, including PERL.

ADO = Active Data Objects, just an object that gives you an interface to an ODBC datasource.

If this is still "French" to you, then just write a CGI in PERL. Only a few lines will change there.
0
 
LVL 1

Author Comment

by:johnsm
ID: 1858250
I only rejected your answer because i don't want to close this thread yet, and i don't have an email account right now. I'll give you the points when it is over, but I have a couple of questions.

How do I get ASP running on my iis server. I did some looking around and supposedly asp is part of iis and should be running automatically. I took some sample scripts and tried them on my server and nothing worked. It looks like asp is not running on my server. How do i start it, if i can at all?

JSM
0
 
LVL 3

Expert Comment

by:percyn
ID: 1858251
Ok,
   Install IIS 3.0 and see if it has created an ASPSamp dir under inetpub. If it has, chances are you have ASP installed. IIS 3.0's setup was really an upgrade of IIS 2.0, so you may not always get the ASP installed. In that case, you can download a seperate setup called ASP.exe and install it.
   Better yet, install NT Option pack 4 and you will get IIS 4.0, which DEFINATELY has support for ASP and a few other cool things.

   Boy all that stuff for 25 points...it better be an A ;-)
0
 
LVL 1

Author Comment

by:johnsm
ID: 1858252
Thanks, for your help, but something is still wrong. I got asp.exe and installed it, rebooted, everything seems to be alright, but whenever I try to open a sample file that came with the asp installation, explorer says it is trying to open a file of unknown type, do I want to save it to disk? It's like it doesn't know anything about asp.

How do I know if asp is installed and running properly?

0
 
LVL 3

Expert Comment

by:percyn
ID: 1858253
Are you accessing it via the webserver or trying to open the file via explorer (what is the URL)  ? Try http://localhost/aspsamp

If you still can't run them, check your NTFS and IIS permissions.
0
 
LVL 1

Author Comment

by:johnsm
ID: 1858254
Nothing seems to work.

Can iis be run on ntworkstation, or does it have to be ntserver?
I would rather switch everything over to another machine that is running workstation.

Thanks
0
 
LVL 3

Expert Comment

by:percyn
ID: 1858255
On a NT workstation, it will install Peer Webserver (a lite version of IIS), but ASPs will work.

Are you getting any error or are you getting the Save As dialog box ? Try running something in the http://localhost/scripts dir.
0
 
LVL 1

Author Comment

by:johnsm
ID: 1858256
I don't get any errors but I do get the 'Save As' dialog box.
It's now on the nt workstation and it still doesn't work.

Do I have to do anything to the registry to make asp work in peer web services?

I can't open anything in the scripts dir.

JSM



0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 1

Author Comment

by:johnsm
ID: 1858257
Alright! Now it works.

I got asp.exe from some site i got from a search, installed it, it looked like everything went alright. That is what hasn't been working all this time. I reinstalled asp from the service pack 3.0 cd and all of a sudden it started working right. Imagine that!

Thanks a lot for you help Percy.
Enter anything as an answer and i'll give you the points.



0
 
LVL 1

Author Comment

by:johnsm
ID: 1858258
AAAGGGHHHH! I spoke too soon.

I can now open .asp pages witout getting asked to save them but the scripts aren't running.

I tried to open the following page saved as test.asp:

<HTML>
<BODY>
<% For i = 3 To 7 %>
<FONT SIZE=<% = i %>>
Hello World!<BR>
<% Next %>
</BODY>
</HTML>

All I get is Hello World! printed out ONCE!
This example is from Microsoft's site.

Now what?

0
 
LVL 3

Expert Comment

by:slok
ID: 1858259
ASP need not be the best solution in terms of development etc.
Take a look at Cold Fusion http://www.allaire.com

and here's a link to compare between Cold Fusion and ASP
http://www.houseoffusion.com/asp.htm
0
 
LVL 1

Author Comment

by:johnsm
ID: 1858260
Yea, but i need to buy cold fusion.
0
 
LVL 3

Expert Comment

by:percyn
ID: 1858261
Make sure you are accessing the ASP as http://myserver/scripts/myasp.asp and not c:\inetpub\scripts\myasp.asp
0
 
LVL 1

Author Comment

by:johnsm
ID: 1858262
Why is that?
0
 
LVL 3

Expert Comment

by:percyn
ID: 1858263
Because ASPs are parsed by the SERVER and when you use the FILE:// protocol, you are bypassing the server !!!!

If you don't use the server, ASPs won't work.

Look, we have answered everything you asked for and more...this 100 point question is getting extremely streched out ;-)
0
 
LVL 1

Author Comment

by:johnsm
ID: 1858264
Well, if this 100 point question is not worth your time then don't bother with it anymore.

If you are just here to collect points as quickly as you can then I'm sure you can do better elsewhere.

This question would not have gotten so stretched out if the advice had been more complete at the beginning.

I appreciate the help, but it still doesn't work.

Thanks, anyway.

0
 

Accepted Solution

by:
snapperhead earned 100 total points
ID: 1858265
Wow, that percyn dude seems pretty rude.
0
 
LVL 1

Author Comment

by:johnsm
ID: 1858266
I agree.
0
 
LVL 3

Expert Comment

by:percyn
ID: 1858267
Just trying to help...
It is in the benifit of other as well if different questions are asked seperately, so that they may get answers to specific questions, instead of reading about 3 different problems.

I'm not looking for points, I have over 25,000 points and nothing to do with them ;-(
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Uploading files to the web server has become common part of almost any kind of web application. People use different technologies to solve this, but regardless of the technology used, it is always useful to have some kind of progress indicator shown…
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now