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

  1. #1

    Default asp

    plz send asp in details

    -----------------------------
    This message is posted by [url]http://Asp.ForumsZone.com[/url]

    simhadri srikanth Guest

  2. #2

    Default Re: asp

    <%
    code
    %>

    Ray at work
    "simhadri srikanth" <simhadris@innoga.com> wrote in message
    news:92936494746886@Asp.ForumsZone.com...
    > plz send asp in details
    >
    > -----------------------------
    > This message is posted by [url]http://Asp.ForumsZone.com[/url]
    >

    Ray at Guest

  3. #3

    Default Re: asp

    Really? I just tried it again and it works fine for me. Try this:

    [url]http://msdn.microsoft.com/nhp/default.asp?contentid=28000522&frame=true[/url]

    Bob

    Ray at <%=sLocation%> wrote:
    > Nice link:
    >
    >
    > Active Server Pages error 'ASP 0113'
    >
    > Script timed out
    >
    > /nhp/default.asp
    >
    > The maximum amount of time for a script to execute was exceeded. You
    > can change this limit by specifying a new value for the property
    > Server.ScriptTimeout or by changing the value in the IIS
    > administration tools.
    >
    >
    >
    > Ray at work
    >
    > "Bob Barrows" <reb_01501@yahoo.com> wrote in message
    > news:ORw7rRWQDHA.3192@TK2MSFTNGP10.phx.gbl...
    >> [url]http://msdn.microsoft.com/nhp/default.asp?contentid=28000522[/url]
    >>
    >> simhadri srikanth wrote:
    >>> plz send asp in details
    >>>
    >>> -----------------------------
    >>> This message is posted by [url]http://Asp.ForumsZone.com[/url]

    Bob Barrows Guest

  4. #4

    Default Re: asp

    How about this one:

    [url]http://msdn.microsoft.com/library/en-us/dnasp/html/aspover.asp[/url]

    Ray at <%=sLocation%> wrote:
    > Nice link:
    >
    >
    > Active Server Pages error 'ASP 0113'
    >
    > Script timed out
    >
    > /nhp/default.asp
    >
    > The maximum amount of time for a script to execute was exceeded. You
    > can change this limit by specifying a new value for the property
    > Server.ScriptTimeout or by changing the value in the IIS
    > administration tools.
    >
    >
    >
    > Ray at work
    >
    > "Bob Barrows" <reb_01501@yahoo.com> wrote in message
    > news:ORw7rRWQDHA.3192@TK2MSFTNGP10.phx.gbl...
    >> [url]http://msdn.microsoft.com/nhp/default.asp?contentid=28000522[/url]
    >>
    >> simhadri srikanth wrote:
    >>> plz send asp in details
    >>>
    >>> -----------------------------
    >>> This message is posted by [url]http://Asp.ForumsZone.com[/url]

    Bob Barrows Guest

  5. #5

    Default Re: ASP



    "Wayne & Carr" <spam@spam.net> wrote in message
    news:O3zi0Q5QDHA.2096@TK2MSFTNGP12.phx.gbl...
    > Could someone please have a look at this code and let me know what is
    wrong
    > with it?
    > I am getting the following error page for line "15 "
    >
    > ADODB.Recordset error '800a0cc1'
    >
    > Item cannot be found in the collection corresponding to the requested name
    > or ordinal.
    >
    > /Cat9/Data_Prog/Feedadd.asp, line 15
    >
    >
    > Also could someone please let me know what I am doing wrong with the
    > "Response.Redirect"
    > I have "2" lines of code below that are both "Redirects" (But go to the
    same
    > place)
    > I need the lines to go exactly when the "art_id" is. Could someone assist
    on
    > it please?
    >
    > The art_id = is the "Article ID" AutoNumber Key of the Database.
    > This is the Number that is assigned to all of the Pages that are created.
    > In the below example, it is going to article Number "?" Which ever one
    that
    > was responded from.
    >
    > Thank You
    > Wayne
    >
    > Here is the Table - Form
    > ------------------
    > Submit.asp
    > ----------
    > <table width="102%" border="0" height="138">
    > <form method="POST" action="../Feedadd.asp">
    > <tr> <td>
    > <input type="text" name="Name"
    > style="background-color:#05B7FA;color:#ffffff;">
    > </td></tr><tr>
    > <td height="96">
    > <textarea name="Comments" cols="50" rows="8"></textarea>
    > <input type="submit" name="Submit" value="Submit">
    > </td> </tr></form></table>
    > __________________
    >
    > Here is the page that is being called:
    > --------------------------
    > Feedadd.asp
    > -------------
    > <%
    > set conn = Server.CreateObject("ADODB.Connection")
    > conn.Provider = "Microsoft.JET.OLEDB.4.0;Data Source=" &
    > Server.MapPath("/") & "/Cat9/Data_Prog/Data/db.mdb"
    > set rs = Server.CreateObject("ADODB.Recordset")
    > dim vals(1)
    > vals(0) = Request.Form("Name")
    > vals(1) = Request.Form("Comments")
    >
    > dim flds(1)
    > flds(0) = "Name"
    > flds(1) = "Comments"
    >
    > conn.Open()
    > rs.Open "UserArticles", conn, 1, 3, 2
    > rs.AddNew flds, vals
    > rs.Update
    > rs.Close()
    > conn.Close()
    > set rs = nothing
    > set conn = nothing
    > Response.Redirect("files/CodeDelphi.asp?art_id=<%=("art_id").Value)%>")
    >
    >
    Response.Redirect("files/CodeDelphi.asp?art_id=<%=(MembPages.Fields.Item("a r
    > t_id").Value)%>")
    >
    > %>
    >>Response.Redirect("files/CodeDelphi.asp?art_id=<%=("art_id").Value)%>")
    What is ("art_id").Value ???

    You are not referring to your recordset and even if you were, you have
    already closed this.

    --
    John Blessing
    [url]http://www.LbeHelpdesk.com[/url] - Help Desk software at affordable prices
    [url]http://www.free-helpdesk.com[/url] - Completely free help desk software !
    [url]http://www.lbetoolbox.com[/url] - Remove Duplicates from MS Outlook
    [url]http://www.lbesync.com[/url] - Synchronize two Outlook Personal Folders

    John Blessing Guest

  6. #6

    Default Re: ASP

    I have this one licked.
    I figured it out.

    Thanks All

    Wayne


    Wayne & Carr Guest

  7. #7

    Default ASP

    You have ASP within ASP. Use string concatenation instead.

    <%
    Response.Redirect("files/CodeDelphi.asp?art_id=<%=
    ("art_id").Value)%>")

    %>

    >-----Original Message-----
    >Could someone please have a look at this code and let me
    know what is wrong
    >with it?
    >I am getting the following error page for line "15 "
    >
    >ADODB.Recordset error '800a0cc1'
    >
    >Item cannot be found in the collection corresponding to
    the requested name
    >or ordinal.
    >
    >/Cat9/Data_Prog/Feedadd.asp, line 15
    >
    >
    >Also could someone please let me know what I am doing
    wrong with the
    >"Response.Redirect"
    >I have "2" lines of code below that are both "Redirects"
    (But go to the same
    >place)
    >I need the lines to go exactly when the "art_id" is.
    Could someone assist on
    >it please?
    >
    >The art_id = is the "Article ID" AutoNumber Key of the
    Database.
    >This is the Number that is assigned to all of the Pages
    that are created.
    >In the below example, it is going to article Number "?"
    Which ever one that
    >was responded from.
    >
    >Thank You
    >Wayne
    >
    >Here is the Table - Form
    >------------------
    >Submit.asp
    >----------
    ><table width="102%" border="0" height="138">
    > <form method="POST" action="../Feedadd.asp">
    > <tr> <td>
    > <input type="text" name="Name"
    >style="background-color:#05B7FA;color:#ffffff;">
    > </td></tr><tr>
    > <td height="96">
    > <textarea name="Comments" cols="50" rows="8">
    TW Guest

  8. #8

    Default ASP

    I get a the "http 500 Internal Server Error" when tying
    to run any ASP page from localhost. I'm running Xp Pro
    with IIS 5.O with Frontpage installed . I've checked
    secutity settings on IIS. Can anyone help?
    Fred Ferguaon Guest

  9. #9

    Default Re: ASP


    "Fred Ferguaon" <fferguson10@earthlink.net> wrote in message
    news:03f001c36469$4fa8c4b0$a301280a@phx.gbl...
    > I get a the "http 500 Internal Server Error" when tying


    turn off the "friendly HTTP errors" in IE.

    To do this, open IE, then open the Options dialog. On the Advanced tab,
    deselect Show friendly HTTP error messages.

    When you reload the page, you'll see the error message that the webserver
    has sent.





    Paul White Guest

  10. #10

    Default ASP

    Hi all.

    I have 3 MS Access Databases in the inetpub folder on a
    windows 2003 server my question is i used to be able to
    see them and have them working correctly now on the new
    server they dont. I have 4 ASP pages that access these
    yet when i click on the lonk to open them it shows this
    page is not found.

    what are i missing ? is it a rights issue ? i have made
    the ODBC connections as per the previous server setup and
    names but alas they dont work.

    Any clues or help apprecriated.

    regards,
    Murray
    rdrunner40 Guest

  11. #11

    Default Re: ASP

    Error? Code? Doesn't work meaning what?

    Ray at work

    "rdrunner40" <roadrunner40@hotmail.com> wrote in message
    news:0cdc01c3876b$a63ad5f0$a001280a@phx.gbl...
    > Hi all.
    >
    > I have 3 MS Access Databases in the inetpub folder on a
    > windows 2003 server my question is i used to be able to
    > see them and have them working correctly now on the new
    > server they dont. I have 4 ASP pages that access these
    > yet when i click on the lonk to open them it shows this
    > page is not found.
    >
    > what are i missing ? is it a rights issue ? i have made
    > the ODBC connections as per the previous server setup and
    > names but alas they dont work.
    >
    > Any clues or help apprecriated.
    >
    > regards,
    > Murray

    Ray at Guest

  12. #12

    Default Re: ASP

    "rdrunner40" <roadrunner40@hotmail.com> wrote in message
    news:0cdc01c3876b$a63ad5f0$a001280a@phx.gbl...
    > Hi all.
    >
    > I have 3 MS Access Databases in the inetpub folder on a
    > windows 2003 server my question is i used to be able to
    > see them and have them working correctly now on the new
    > server they dont. I have 4 ASP pages that access these
    > yet when i click on the lonk to open them it shows this
    > page is not found.
    >
    > what are i missing ? is it a rights issue ? i have made
    > the ODBC connections as per the previous server setup and
    > names but alas they dont work.
    What do you mean by "click on the lonk <sic> to open them it ? Are you
    trying to serve the mdb files directly or are you using ADO code in your
    ASP?

    --
    Tom Kaminski IIS MVP
    [url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running IIS
    [url]http://mvp.support.microsoft.com/[/url]
    [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]



    Tom Kaminski [MVP] Guest

  13. #13

    Default ASP

    Hi,

    We have a WIn2k SP4 server running IIS 5.0.

    I can't get it to run ASP pages. HTML pages are fine.

    This is a new installation and ASP has never worked.

    I get a HTTP 500 error when we try the ASP page.

    The only modification from default installation is that
    the default website directory has been moved to D:
    partition.

    We are using the Default web site for the Intranet site.

    Thanks.
    Paul Raflik Guest

  14. #14

    Default Re: ASP

    First see here.
    [url]http://www.aspfaq.com/2109[/url]

    Ray at work

    "Paul Raflik" <anonymous@discussions.microsoft.com> wrote in message
    news:006b01c39337$3dde0270$a401280a@phx.gbl...
    >
    > I get a HTTP 500 error when we try the ASP page.

    Ray at Guest

  15. #15

    Default Re: ASP

    I did as the article suggested. The error message has
    changed but still does not give me any clue as to what is
    wrong. "The server has encountered an error while
    loading an application during the processing of your
    request. Please refer to the event log for more detail
    information. Please contact the server administrator for
    assistance."

    There are no relevent Event log messages.

    The ASP page in question works fine on another IIS web
    server.

    >-----Original Message-----
    >First see here.
    >[url]http://www.aspfaq.com/2109[/url]
    >
    >Ray at work
    >
    >"Paul Raflik" <anonymous@discussions.microsoft.com>
    wrote in message
    >news:006b01c39337$3dde0270$a401280a@phx.gbl...
    >>
    >> I get a HTTP 500 error when we try the ASP page.
    >
    >
    >.
    >
    Guest

  16. #16

    Default ASP

    Since IE 6.0 came out, whenever anyone tries to order from my website needfultoys.com they get the following message
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

    [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.

    /needfultoys_secure/Shipping.asp, line 162
    My site is written in ASP of which I am totally ignorant. Is there something I can do or am I going to have to invest in a website written in a different language (which being a struggling business is not in my budget). I have done some (self taught) web development needfulplanet.com for examples but I do not know ASP can anyone help?
    David Smotherman Guest

  17. #17

    Default Re: ASP

    David Smotherman wrote:
    > Since IE 6.0 came out, whenever anyone tries to order from my website
    > needfultoys.com they get the following message:
    > Microsoft OLE DB Provider for ODBC Drivers error '80004005'
    >
    > [Microsoft][ODBC Microsoft Access Driver] Operation must use an
    > updateable query.
    >
    > /needfultoys_secure/Shipping.asp, line 162
    > My site is written in ASP of which I am totally ignorant. Is there
    > something I can do or am I going to have to invest in a website
    > written in a different language (which being a struggling business is
    > not in my budget). I have done some (self taught) web development
    > needfulplanet.com for examples but I do not know ASP can anyone help?
    This problem probably has nothing to do with ASP.
    It is usually caused by incorrect security settings for the database
    file (mdb file).

    Make sure that the user IUSR_MACHINENAME (replace
    MACHINENAME with the real name of the server) has write access
    to the database.

    --

    Jos


    Jos Guest

  18. #18

    Default Re: ASP

    Hi,

    This is an error for using not using the appropriate cursor type. Make sure you have used the proper cursor type when you are opening the recordset. Its a simple problem and you can change the recordset by writing a single line like-

    Set objRs = Server.CreateObject("ADODB.Recordset")
    objRs.CursorType = adOpenStatic (you need to change this to appropriate cursor type)
    objRs.Open sql, objConn

    Read about the different cursor types in this site:-
    [url]http://www.devguru.com/Technologies/ado/quickref/recordset_cursortype.html[/url]


    Hope this helps,

    Regards
    Bhaskardeep Khaund
    Bhaskardeep Khaund Guest

  19. #19

    Default asp

    greetings,

    what i am looking for is a way for my asp script to grab a web page via an
    http session and save the results to a string variable. ie. somewhere in the
    script, the code loads a com object or something or rather, builds a request
    URL, goes to the internet, downloads the result and parses out the returned
    text - not just display the result.

    are there any com objects out there (built-in or otherwise) that does that,
    or do i have to build my own?

    any suggestions?

    regards,
    yt



    YT Guest

  20. #20

    Default Re: asp

    winhttp. found it. hope i didn't waste your time...
    yt


    "YT" <ytNOSPAM@MAPSONfunkychickens.org> wrote in message
    news:%23c3pVVYoEHA.2948@TK2MSFTNGP11.phx.gbl...
    > greetings,
    >
    > what i am looking for is a way for my asp script to grab a web page via an
    > http session and save the results to a string variable. ie. somewhere in
    the
    > script, the code loads a com object or something or rather, builds a
    request
    > URL, goes to the internet, downloads the result and parses out the
    returned
    > text - not just display the result.
    >
    > are there any com objects out there (built-in or otherwise) that does
    that,
    > or do i have to build my own?
    >
    > any suggestions?
    >
    > regards,
    > yt
    >
    >
    >

    YT 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