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

  1. #1

    Default ASP error

    I'm trying to connect with an Access database with this snip from a
    sample application originally designed for SQL Server. There is an
    include file for the ADO connection statements. Can anyone tell me why I
    might be getting this error? Help appreciated. Thanks. Frank

    Error Type:
    ADODB.Recordset (0x800A0BB9)
    Arguments are of the wrong type, are out of acceptable range, or are in
    conflict with one another.
    /NewDB/ASPTableEdit/opentable.asp, line 9

    <!-- Statement -->
    <!-- #include file="defaultheader.asp" -->
    <!-- #include file="ado.asp" -->
    <%
    dim cnn, rst, tbl, fld
    tbl = Request.QueryString("table")
    set cnn = getconnection
    set rst = server.CreateObject("ADODB.Recordset")
    rst.Open tbl,cnn,adOpenKeyset,adLockOptimistic

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Frank Py Guest

  2. Similar Questions and Discussions

    1. Error Message "A drawing error ocurrred which is probably due to an out-of-memory condition. Try qu
      I am running Acrobat Reader 5.0 on a Mac Powerbook running OS 9.2 and keep getting "A drawing error occurred which is probably due to an out of...
    2. Error 403 Failed to read heders Error for long-runningCFMAIL and CFINDEX command
      I have two different pages with long-running scripts on which I am recieving the following error: Error - 403 Failed to read headers to server:...
    3. Error Creating Control: Parser Error DocHeader does not have a property named 'cc3:MyItems'
      I am having problems getting this webcontrol working properly. Everything else works fine except having items. So here is the low-down on the...
    4. Unexpected error. A trappable error (C0000005) occurred in an external object.
      Hi Elvin, After doing some reseaarch on this problem, I found there is a lot of issues which may cause the problem, for example, incorrect access...
    5. An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888)
      Hello, on one of our customers servers we get following error on first ASPX-page: An error occurred while try to load the string resources...
  3. #2

    Default Re: ASP error

    The syntax for rst.open is wrong

    Use

    Dim strSql

    tbl = Trim(Request.QueryString("table"))
    strSql = "select * from " & tbl

    rst.Open strSql, cnn, adOpenKeyset,adLockOptimistic

    How does this "set cnn = getconnection" work?
    The actual way to use connection object is:

    Set cnn = CreateObject("ADODB.Connection")
    cnn.Open <connection string>

    SPA

    "Frank Py" <fpy@proactnet.com> wrote in message news:eXHKbRaRDHA.1804@TK2MSFTNGP11.phx.gbl...
    > I'm trying to connect with an Access database with this snip from a
    > sample application originally designed for SQL Server. There is an
    > include file for the ADO connection statements. Can anyone tell me why I
    > might be getting this error? Help appreciated. Thanks. Frank
    >
    > Error Type:
    > ADODB.Recordset (0x800A0BB9)
    > Arguments are of the wrong type, are out of acceptable range, or are in
    > conflict with one another.
    > /NewDB/ASPTableEdit/opentable.asp, line 9
    >
    > <!-- Statement -->
    > <!-- #include file="defaultheader.asp" -->
    > <!-- #include file="ado.asp" -->
    > <%
    > dim cnn, rst, tbl, fld
    > tbl = Request.QueryString("table")
    > set cnn = getconnection
    > set rst = server.CreateObject("ADODB.Recordset")
    > rst.Open tbl,cnn,adOpenKeyset,adLockOptimistic
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!
    SPA Guest

  4. #3

    Default ASP Error

    I'm getting the following error after installing SUS on a
    IIS running on a W2K server.

    HTTP 500.100 - Internal Server Error - ASP error
    Internet Information Services

    -----------------------------------------------------------
    ---------------------

    Technical Information (for support personnel)

    Error Type:
    (0x8002801D)
    Library not registered.
    /autoupdate/administration/shared/corporate.inc, line 37


    Browser Type:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET
    CLR 1.1.4322)

    Page:
    GET /autoupdate/administration/en/default.asp

    Time:
    Thursday, January 08, 2004, 2:35:22 PM


    craig hillyard Guest

  5. #4

    Default Re: ASP Error

    Use this type to find out what the errror is.

    [url]http://www.aspfaq.com/show.asp?id=2109[/url]

    Ray at work

    "craig hillyard" <surf_ninja_uk@hotmail.com> wrote in message
    news:015c01c3d627$3f7bea60$a601280a@phx.gbl...
    > I'm getting the following error after installing SUS on a
    > IIS running on a W2K server.
    >
    > HTTP 500.100 - Internal Server Error - ASP error
    > Internet Information Services
    >
    > -----------------------------------------------------------
    > ---------------------
    >
    > Technical Information (for support personnel)
    >
    > Error Type:
    > (0x8002801D)
    > Library not registered.
    > /autoupdate/administration/shared/corporate.inc, line 37
    >
    >
    > Browser Type:
    > Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET
    > CLR 1.1.4322)
    >
    > Page:
    > GET /autoupdate/administration/en/default.asp
    >
    > Time:
    > Thursday, January 08, 2004, 2:35:22 PM
    >
    >

    Ray at Guest

  6. #5

    Default ASP Error

    I get this error "ASP 0141" - page command repeated.

    How do I get past this? It says that "@" has been repeated
    and I cannot locate where

    Vincent
    Vincent Guest

  7. #6

    Default Re: ASP Error

    "Vincent" wrote:
    : I get this error "ASP 0141" - page command repeated.
    :
    : How do I get past this? It says that "@" has been repeated
    : and I cannot locate where

    Generally this happens when you have an include file that has:
    <%@ LANGUAGE=VBScript %>

    --
    Roland Hall
    /* This information is distributed in the hope that it will be useful, but
    without any warranty; without even the implied warranty of merchantability
    or fitness for a particular purpose. */
    Technet Script Center - [url]http://www.microsoft.com/technet/scriptcenter/[/url]
    WSH 5.6 Documentation - [url]http://msdn.microsoft.com/downloads/list/webdev.asp[/url]
    MSDN Library - [url]http://msdn.microsoft.com/library/default.asp[/url]


    Roland Hall Guest

  8. #7

    Default ASP ERROR

    I recieve on the explorer an error message saying: 'An error occurred while
    creating object 'WScript'. Active Server Pages error '8002802b' Create object
    failed '.
    Event viewer warning message: event id 9 source: active server pages.
    IIS log failed to write entry, File ? Create object failed. An
    error occurred while creating object 'JSProxy'..

    What can be done to solve this issue?
    Roy - Topup Communications Guest

  9. #8

    Default Re: ASP ERROR

    [url]http://aspfaq.com/show.asp?id=2323[/url]

    --
    Regards

    Steven Burn
    Ur I.T. Mate Group
    [url]www.it-mate.co.uk[/url]

    Keeping it FREE!

    "Roy - Topup Communications"
    <RoyTopupCommunications@discussions.microsoft.co m> wrote in message
    news:5B030090-76FE-426A-8D9B-F633D8AF2EAA@microsoft.com...
    > I recieve on the explorer an error message saying: 'An error occurred
    while
    > creating object 'WScript'. Active Server Pages error '8002802b' Create
    object
    > failed '.
    > Event viewer warning message: event id 9 source: active server pages.
    > IIS log failed to write entry, File ? Create object failed. An
    > error occurred while creating object 'JSProxy'..
    >
    > What can be done to solve this issue?

    Steven Burn Guest

  10. #9

    Default Re: ASP ERROR

    Hi all.

    I have the same issue, and there is no place with some resolution.
    aspfaq.com does not have an answer for the "An error occurred while
    creating object 'JSProxy'" message.

    My server was working fine for a couple of months (win2000, iis, sql)
    but a few weeks ago starts to send me this messages. The weird thing is
    that the script execution remains working good after the error was
    thrown.

    Any ideas?

    Steven Burn ha escrito:
    > [url]http://aspfaq.com/show.asp?id=2323[/url]
    >
    > --
    > Regards
    >
    > Steven Burn
    > Ur I.T. Mate Group
    > [url]www.it-mate.co.uk[/url]
    >
    > Keeping it FREE!
    >
    > "Roy - Topup Communications"
    > <RoyTopupCommunications@discussions.microsoft.co m> wrote in message
    > news:5B030090-76FE-426A-8D9B-F633D8AF2EAA@microsoft.com...
    > > I recieve on the explorer an error message saying: 'An error occurred
    > while
    > > creating object 'WScript'. Active Server Pages error '8002802b' Create
    > object
    > > failed '.
    > > Event viewer warning message: event id 9 source: active server pages.
    > > IIS log failed to write entry, File ? Create object failed. An
    > > error occurred while creating object 'JSProxy'..
    > >
    > > What can be done to solve this issue?
    ZaM Guest

  11. #10

    Default Re: ASP ERROR

    Auto-answer

    After a deep lookup into the event viewer, i've found that the first
    error was logged 1 hour after an antivirus update. After uninstalled
    (for testing purposes obviously) the message stops.. So I can believe
    that the source of the problem comes from the antivirus software.

    ZaM 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