Testing on XP pro stopped working

Ask a Question related to ASP, Design and Development.

  1. #1

    Default Testing on XP pro stopped working

    I was working on an asp and it was working fine. I came back to it a
    few days later and it was no longer working... When I submit a form
    through the ASP page, it only spits back the raw code, but doesn't
    write to access as it was before... I don't know what has chenged.
    Any suggestions? FYI here is the code (simplified...This does the
    same...) thanks!

    Jeremy

    <% LANGUAGE="VBScript"

    First = Request.form("First")

    set responseDB = server.createobject("ADODB.Connection")
    responseDB.open "driver={Microsoft Access Driver
    (*.mdb)};DBQ=new.mdb;Uid=Admin"

    sqlText = "INSERT INTO Results (First)"
    sqlText = sqlText & " VALUES("
    sqlText = sqlText & "'" & First & "'"
    sqlText = sqlText & ")"

    Response.Write sqlText

    set ReturnSet = responseDB.Execute(sqlText)

    Response.Write "Record Added"

    %>
    Jeremy Guest

  2. Similar Questions and Discussions

    1. Roll Over Stopped working
      I've created a pdf which has rollover buttons, up and over, simply. They work great but I have them opening a new pdf in the same window when...
    2. #38816 [Opn]: PHP code that was working perfectly recently stopped working.
      ID: 38816 User updated by: mtoohee at gmail dot com -Summary: PHP code that was working perfectly recently stopped....
    3. filesystemobject stopped working
      Hello experts, I am running a web server on my WinXP machine. I have used several ASP programs to build and display a guest book and also...
    4. ASP stopped working in IIS 5
      Take a look at the thread with almost the same subject from about an hour prior to yours. Also take a look at http://www.aspfaq.com/2109. Ray at...
    5. My PE2 stopped working on my E-Mac
      Hi can someone help out there ? I have E-mac with 768 MB RAM. My PE2 has approximately 5400 pictures and I have been tranferring this pictures to...
  3. #2

    Default Re: Testing on XP pro stopped working

    Are you accessing this in your browser via:

    [url]http://localhost/page.asp[/url]

    or

    C:\inetpub\wwwroot\page.asp

    You have to access it via http for it to pass through IIS, not the file
    system.

    Ray at home

    "Jeremy" <jeremy_zifchock@yahoo.com> wrote in message
    news:f9d85033.0310261925.5c041162@posting.google.c om...
    > I was working on an asp and it was working fine. I came back to it a
    > few days later and it was no longer working... When I submit a form
    > through the ASP page, it only spits back the raw code, but doesn't
    > write to access as it was before... I don't know what has chenged.
    > Any suggestions? FYI here is the code (simplified...This does the
    > same...) thanks!
    >
    > Jeremy
    >
    > <% LANGUAGE="VBScript"
    >
    > First = Request.form("First")
    >
    > set responseDB = server.createobject("ADODB.Connection")
    > responseDB.open "driver={Microsoft Access Driver
    > (*.mdb)};DBQ=new.mdb;Uid=Admin"
    >
    > sqlText = "INSERT INTO Results (First)"
    > sqlText = sqlText & " VALUES("
    > sqlText = sqlText & "'" & First & "'"
    > sqlText = sqlText & ")"
    >
    > Response.Write sqlText
    >
    > set ReturnSet = responseDB.Execute(sqlText)
    >
    > Response.Write "Record Added"
    >
    > %>

    Ray at Guest

  4. #3

    Default Re: Testing on XP pro stopped working

    Your first line should be
    <%@ Language="VBScript"%>

    "Jeremy" <jeremy_zifchock@yahoo.com> wrote in message
    news:f9d85033.0310261925.5c041162@posting.google.c om...
    > I was working on an asp and it was working fine. I came back to it a
    > few days later and it was no longer working... When I submit a form
    > through the ASP page, it only spits back the raw code, but doesn't
    > write to access as it was before... I don't know what has chenged.
    > Any suggestions? FYI here is the code (simplified...This does the
    > same...) thanks!
    >
    > Jeremy
    >
    > <% LANGUAGE="VBScript"
    >
    > First = Request.form("First")
    >
    > set responseDB = server.createobject("ADODB.Connection")
    > responseDB.open "driver={Microsoft Access Driver
    > (*.mdb)};DBQ=new.mdb;Uid=Admin"
    >
    > sqlText = "INSERT INTO Results (First)"
    > sqlText = sqlText & " VALUES("
    > sqlText = sqlText & "'" & First & "'"
    > sqlText = sqlText & ")"
    >
    > Response.Write sqlText
    >
    > set ReturnSet = responseDB.Execute(sqlText)
    >
    > Response.Write "Record Added"
    >
    > %>

    TomB 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