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

  1. #1

    Default DB Access Component

    Hi,

    Can i have the Connection object being passed as the parameter from the Component(Dll) i am using to connect to the databaese to the ASP page.

    Thanks.

    Syed Khan
    Syed Khan Guest

  2. Similar Questions and Discussions

    1. You are about to access a Activex component
      Hi, We are trying to access a .net dll based method from classic asp code. When the method is accessed, system gives a message "You are about to...
    2. VB Component debugging as anonymous access
      Hello, I'd like to debug a VB component without activating Basic/Integrated security on the Web Server, just the anonymous access. I need this to...
    3. How to access the owner Page from within a component
      I have a component (System.ComponentModel.Component) and want to access the Page that "owns" it, during runtime. Yes, I can write a public...
    4. Cannot access the registered component, please help!
      I am using Win2003 + IIS, it cannot access a registered component from my bowser and prompts the following error: Server object error 'ASP 0178 :...
    5. Access denied when calling COM component.
      Hello, I try to convert a VB6 application to an ASP Web application. This application uses a COM component to access data on a remote server. ...
  3. #2

    Default Re: DB Access Component

    Syed Khan wrote:
    > Hi,
    >
    > Can i have the Connection object being passed as the parameter from
    > the Component(Dll) i am using to connect to the databaese to the ASP
    > page.
    >
    > Thanks.
    >
    > Syed Khan
    No, connections cannot be marshalled across processes. Connection strings
    can.

    Bob Barrows
    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Bob Barrows [MVP] Guest

  4. #3

    Default Re: DB Access Component

    Thanks Bob, can u please let me know if is it possible at Recordset Level. If
    not what will be the best approach around this?

    Regards,
    Syed Khan

    "Bob Barrows [MVP]" wrote:
    > Syed Khan wrote:
    > > Hi,
    > >
    > > Can i have the Connection object being passed as the parameter from
    > > the Component(Dll) i am using to connect to the databaese to the ASP
    > > page.
    > >
    > > Thanks.
    > >
    > > Syed Khan
    > No, connections cannot be marshalled across processes. Connection strings
    > can.
    >
    > Bob Barrows
    > --
    > Microsoft MVP -- ASP/ASP.NET
    > Please reply to the newsgroup. The email account listed in my From
    > header is my spam trap, so I don't check it very often. You will get a
    > quicker response by posting to the newsgroup.
    >
    >
    >
    Syed Khan Guest

  5. #4

    Default Re: DB Access Component

    While disconnected recordsets can be marshalled, it is better to use variant
    arrays (using GetRows) or xml documents. I don't have time to go into a
    major explanation of these right now, but you can use Google to find a lot
    of information on these topics.

    Bob Barrows
    Syed Khan wrote:
    > Thanks Bob, can u please let me know if is it possible at Recordset
    > Level. If not what will be the best approach around this?
    >
    > Regards,
    > Syed Khan
    >
    > "Bob Barrows [MVP]" wrote:
    >
    >> Syed Khan wrote:
    >>> Hi,
    >>>
    >>> Can i have the Connection object being passed as the parameter from
    >>> the Component(Dll) i am using to connect to the databaese to the ASP
    >>> page.
    >>>
    >>> Thanks.
    >>>
    >>> Syed Khan
    >> No, connections cannot be marshalled across processes. Connection
    >> strings can.
    >>
    >> Bob Barrows
    >> --
    >> Microsoft MVP -- ASP/ASP.NET
    >> Please reply to the newsgroup. The email account listed in my From
    >> header is my spam trap, so I don't check it very often. You will get
    >> a quicker response by posting to the newsgroup.
    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Bob Barrows [MVP] 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