DCOM call from an ASP page.

Ask a Question related to ASP Components, Design and Development.

  1. #1

    Default DCOM call from an ASP page.

    I have a COM component running on another Windows 2000
    server. I want to call that component from the IIS server,
    which is on another Windows 2000 server. How can i do that
    from an ASP page ?

    Tapasvi Mehta Guest

  2. Similar Questions and Discussions

    1. call page
      hi, I have build a reminder.asp page what this is doing? when the page is loading email is send to the users where the have record is still open...
    2. ASP page call problem
      Any suggestions on the following problem: I am making a call to an ASP page with the following call string:...
    3. Can't invoke DCOM call from ASP.NET
      I want to wrap a legacy COM dll within an ASP.NET app. The dll incorporates a DCOM call to a remote server and will return data, which the ASP.NET...
    4. HOWTO? call dcom within webservice?
      Hello NG, I have the following Problem I have: 1.WebService "TestService" 2.MFC appl with COM Interface 3.A c# froms application ...
    5. DCOM call - Permission denied
      Most places will put a common account/password on both boxes. For example "MTSComponent" and "somegoodpassword". You set the COM package to run as...
  3. #2

    Default RE: DCOM call from an ASP page.

    To create an object in ASP application, we can use "Server.CreateObject".
    To create a remote component (on another computer), we can use DCOM or
    COM+. You may refer following articles:

    HOWTO: Create a 3-Tier Application Using VB, MTS, and SQL Server
    [url]http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q186342[/url]

    HOWTO: Export a COM+ Application to Client Computers
    [url]http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q259719[/url]

    Luke

    "Microsoft Security Announcement: Have you installed the patch for
    Microsoft Security Bulletin MS03-026?? If not Microsoft strongly advises
    you to review the information at the following link regarding Microsoft
    Security Bulletin MS03-026
    [url]http://www.microsoft.com/security/security_bulletins/ms03-026.asp[/url] and/or to
    visit Windows Update at [url]http://windowsupdate.microsoft.com[/url] to install the
    patch. Running the SCAN program from the Windows Update site will help to
    insure you are current with all security patches, not just MS03-026."

    MSFT Guest

  4. #3

    Default Re: DCOM call from an ASP page.

    Yes, that will install a proxy stub on the 'client' machine - the one
    downfall is that is hard-coded to use that one specific server. And you
    can't really do load-balancing or fail-over without having two different
    versions of the DCOM object installed.. In short:

    -COM object installed in COM+ on ServerA.
    -Export package
    -Install that package on Server B
    -In ASP, on ServerB - use CreateObject() as you normally would..

    "Tap" <tapasvi.mehta@citigroup.com> wrote in message
    news:001801c36664$533cc480$a301280a@phx.gbl...
    > After reading the documents, this is what i concluded, let
    > me know if i am making any mistakes.
    >
    > 1) Installing COM+ component on the remote machine.
    >
    > 2) Exporting that component from the remote machine, and
    > then installing (Application proxy) on the server where
    > the IIS resides.
    >
    > 3) Then by using CreateObject(""."") will work fine.
    >
    > Thanks,
    >
    > Tap
    >
    > >-----Original Message-----
    > >To create an object in ASP application, we can
    > use "Server.CreateObject".
    > >To create a remote component (on another computer), we
    > can use DCOM or
    > >COM+. You may refer following articles:
    > >
    > >HOWTO: Create a 3-Tier Application Using VB, MTS, and SQL
    > Server
    > >[url]http://support.microsoft.com/default.aspx?scid=KB;EN-[/url]
    > US;Q186342
    > >
    > >HOWTO: Export a COM+ Application to Client Computers
    > >[url]http://support.microsoft.com/default.aspx?scid=KB;EN-[/url]
    > US;Q259719
    > >
    > >Luke
    > >
    > >"Microsoft Security Announcement: Have you installed the
    > patch for
    > >Microsoft Security Bulletin MS03-026?? If not Microsoft
    > strongly advises
    > >you to review the information at the following link
    > regarding Microsoft
    > >Security Bulletin MS03-026
    > >[url]http://www.microsoft.com/security/security_bulletins/ms03-[/url]
    > 026.asp and/or to
    > >visit Windows Update at
    > [url]http://windowsupdate.microsoft.com[/url] to install the
    > >patch. Running the SCAN program from the Windows Update
    > site will help to
    > >insure you are current with all security patches, not
    > just MS03-026."
    > >
    > >.
    > >

    Frank Drebin Guest

  5. #4

    Default Re: DCOM call from an ASP page.

    When i tried to export a package, the application proxy
    option is not available. It is disabled, what could be the
    problem ?

    >-----Original Message-----
    >Thank you.
    >
    >>-----Original Message-----
    >>Yes, that will install a proxy stub on the 'client'
    >machine - the one
    >>downfall is that is hard-coded to use that one specific
    >server. And you
    >>can't really do load-balancing or fail-over without
    >having two different
    >>versions of the DCOM object installed.. In short:
    >>
    >>-COM object installed in COM+ on ServerA.
    >>-Export package
    >>-Install that package on Server B
    >>-In ASP, on ServerB - use CreateObject() as you normally
    >would..
    >>
    >>"Tap" <tapasvi.mehta@citigroup.com> wrote in message
    >>news:001801c36664$533cc480$a301280a@phx.gbl...
    >>> After reading the documents, this is what i concluded,
    >let
    >>> me know if i am making any mistakes.
    >>>
    >>> 1) Installing COM+ component on the remote machine.
    >>>
    >>> 2) Exporting that component from the remote machine,
    and
    >>> then installing (Application proxy) on the server where
    >>> the IIS resides.
    >>>
    >>> 3) Then by using CreateObject(""."") will work fine.
    >>>
    >>> Thanks,
    >>>
    >>> Tap
    >>>
    >>> >-----Original Message-----
    >>> >To create an object in ASP application, we can
    >>> use "Server.CreateObject".
    >>> >To create a remote component (on another computer), we
    >>> can use DCOM or
    >>> >COM+. You may refer following articles:
    >>> >
    >>> >HOWTO: Create a 3-Tier Application Using VB, MTS, and
    >SQL
    >>> Server
    >>> >[url]http://support.microsoft.com/default.aspx?scid=KB;EN-[/url]
    >>> US;Q186342
    >>> >
    >>> >HOWTO: Export a COM+ Application to Client Computers
    >>> >[url]http://support.microsoft.com/default.aspx?scid=KB;EN-[/url]
    >>> US;Q259719
    >>> >
    >>> >Luke
    >>> >
    >>> >"Microsoft Security Announcement: Have you installed
    >the
    >>> patch for
    >>> >Microsoft Security Bulletin MS03-026?? If not
    Microsoft
    >>> strongly advises
    >>> >you to review the information at the following link
    >>> regarding Microsoft
    >>> >Security Bulletin MS03-026
    >>>
    >>[url]http://www.microsoft.com/security/security_bulletins/ms03[/url]
    -
    >>> 026.asp and/or to
    >>> >visit Windows Update at
    >>> [url]http://windowsupdate.microsoft.com[/url] to install the
    >>> >patch. Running the SCAN program from the Windows
    >Update
    >>> site will help to
    >>> >insure you are current with all security patches, not
    >>> just MS03-026."
    >>> >
    >>> >.
    >>> >
    >>
    >>
    >>.
    >>
    >.
    >
    Tap Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139