.NET returning ADODB.Connection to ASP

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

  1. #1

    Default .NET returning ADODB.Connection to ASP

    Could someone tell me if I were to return a ADODB.Connection from a .NET dll
    to ASP, should I be able to use that connection?

    My .net dll determines a connection based on a number of parameters and then
    returns that string to the ASP application to fill a recordset and display
    various data. At this time I can't convert the ASP application to .NEt so I'm
    trying to find something that will allow me to get the data from the SQL
    database using the connection from the dll.

    Thanks for any insight.
    T McDonald Guest

  2. Similar Questions and Discussions

    1. ADODB Connection Question
      Hi All Just IYHO, which is better: METHOD 1 ========= Creating the ADODB connection obejct at the beginning of an ASP page in an include...
    2. ADODB.Connection
      > Is there an advantage of one of these over the other, other than not having No. However, the advantage isn't just about being oblivious to the...
    3. ADODB.Connection error '800a0046'
      I am receiving the following error: ADODB.Connection error '800a0046' Permission Denied Here is my connection string on my web page: <% Dim...
    4. ADODB Connection
      Could anybody tell me please what the "1,2" refers to in the last line of this code and where I can get a list of the parts to this '.open'...
    5. The specified module could not be found. (ADODB.Connection)
      Hi I am getting the follwoing error message Server object error 'ASP 0177 : 8007007e' Server.CreateObject Failed /BI...
  3. #2

    Default Re: .NET returning ADODB.Connection to ASP

    you'll have to pass thestring to a place which is accessible to both .net and classic asp

    you could write a small windows script component wsc to do just that task of sharing the info.
    The wsc would be the common environment


    "T McDonald" <TMcDonald@discussions.microsoft.com> wrote in message news:B4983FBF-374B-4355-80DA-2A465FB4BB14@microsoft.com...
    > Could someone tell me if I were to return a ADODB.Connection from a .NET dll
    > to ASP, should I be able to use that connection?
    >
    > My .net dll determines a connection based on a number of parameters and then
    > returns that string to the ASP application to fill a recordset and display
    > various data. At this time I can't convert the ASP application to .NEt so I'm
    > trying to find something that will allow me to get the data from the SQL
    > database using the connection from the dll.
    >
    > Thanks for any insight.

    Jon Paal [MSMD] 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