Invoking an mts object from asp using get & post methods.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Invoking an mts object from asp using get & post methods.

  1. #1
    Martin McManus Guest

    Invoking an mts object from asp using get & post methods.


    Can anyone help me, or point me in the right direction.

    I have an asp page that invokes an mts object - The asp page is called using
    a method="post". This all works fine, however if I wanted to call the object
    via a URL, rather than the asp page I run into problems. To test this I tried
    changing the method to "get", so I could see the parameters being passed
    to the asp page, this is all well and good, but for some reason the mts object
    is not invoked.

    I expect this is a blatantly obvious error, that shows up my total inexperience
    with mts and asp. I would appreciate it if somebody could show me the way.


  2. #2
    Reza Guest

    Re: Invoking an mts object from asp using get & post methods.


    Martin,
    I have used many of objects within ASP. I have never invoked them via a URL,
    Always within a ASP page. First big set is to make sure that the Component
    is registered on the server (within MTS/COM+). Them you have an ASP that
    has this code:
    Set obj = Server.CreateObject("DLLNAME.CLASSMODULE")

    This will invoke your object.if you are working on a workstation and have
    the components registered on another server. You might want to register the
    Component on your local machine this will all the auto completes within Interdev.
    This should help you out. Oh yeah on more thing make sure that you setup
    the COM object within MTS/COM+ not to use interactive User. You must change
    this so that if no one is logged into the server the Component will still
    work.

    Reza



    "Martin McManus" <mmcmanus@star-track.com.au> wrote:
    >
    >Can anyone help me, or point me in the right direction.
    >
    >I have an asp page that invokes an mts object - The asp page is called using
    >a method="post". This all works fine, however if I wanted to call the object
    >via a URL, rather than the asp page I run into problems. To test this I

    tried
    >changing the method to "get", so I could see the parameters being passed
    >to the asp page, this is all well and good, but for some reason the mts

    object
    >is not invoked.
    >
    >I expect this is a blatantly obvious error, that shows up my total inexperience
    >with mts and asp. I would appreciate it if somebody could show me the way.
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center