Solved

Which language should I use?

Posted on 1998-04-14
21
208 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to count occurrences of each item in an array.

947 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

22 Experts available now in Live!

Get 1:1 Help Now