Results 1 to 3 of 3

Thread: Beginner at ASP, IIS and Component Services in Win2k

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Posts
    103

    Beginner at ASP, IIS and Component Services in Win2k

    I have a simple task I want to implement. I have a SQL 2000 database running on a windows 2000 machine with IIS and Component Services. I have 5 Dll's that I want to put into Component services and call from a client machine through IE via an HTML page and an ASP script.

    On index.htm I have 4 text boxes and a submit button. What I want to happen is the user will enter text in the 4 text boxes, click submit... the submit button will call the ASP script on the server, the ASP script will create the objects I want. The objects will talk to the database and return a string back. The string will then need to be displayed back to the user on index.htm

    I need an example of how to use the submit button to call the asp script. Also, I need to know how to compile the dll's to work properly in Component services and also any settings that need configuring in order to create the objects from the client machine.

    Thanks for your help!!

  2. #2
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    hi

    An asp script can be excuted by calling the asp page. To call the asp page by clicking on the submit button just give the name of the file in the action attribute of the form tag like this:

    Code:
    <form name=myform action="MyASPPage.asp" method="post">
    <input type=submit name=submit value="Submit">
    'all other code
    </form>
    The dll's need to be registered on the server using regsvr32 command.

    Hope this helps u.

  3. #3
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    Jamie, in regards to using the dll's on IIS. check out his article as it is imperative to this right as IIS doesn't handle database connection's through dll's to well

    Ian

    http://www.microsoft.com/com/tech/mts.asp
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width