Access DB Connection problems

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

  1. #1

    Default Access DB Connection problems

    Ok, I'm pretty new to this, so please be patient. Here
    the story.

    I've got a very simple access database used for people to
    enroll in training courses on our intranet server
    (Win2003, IIS 6). On the asp page I've hidden most of
    the fields and all the user has to do is put in their
    name and hit submit and everything is supposed to update
    to the database. Well, the confirmation page comes up
    like everything works, but when I go to the mdb there is
    nothing there. I've tried this with both Access 97 & XP
    databases and I get the same problem.

    I've done the same thing on our old server which was
    Win2000 & IIS 5. One thing I found suggested enabling
    parent paths and I've done that, but still nothing
    happens? I'm not getting any error messages at all, so
    I'm hoping that someone has heard of something like this
    before.

    Any suggestions? Thanks
    Hassan Al-Rubaie
    Hassan Al-Rubaie Guest

  2. Similar Questions and Discussions

    1. Connection / Re-connection problems
      Hi, I was wondering if anybody has been having similar problems with Contribute. I'm having two different connection problems. I'm using Microsoft...
    2. DW8 connection to MS Access database
      I'm new to database design and I've been trying to connect to an MS Database on my local computer. I've been going round in circles trying asp,...
    3. problems access an MS Access 2000 DB using ASP
      Our graphic designer is developing our new company website. We have switched providers and currently she is working on the new website which...
    4. ASP DSN-less connection to Access
      Dear All, I have IIS running on Windows XP Pro. On the server is a Access database and my ASP pages all under the 'wwwroot folder'. I have a...
    5. ASP & Access connection
      Hi, Is it possible to connect to Access file located on another web server using ASP 3.0? Thanx, Neven
  3. #2

    Default Re: Access DB Connection problems

    Take out on error resume next, and make sure you've disabled silly settings
    in IE like "show friendly HTTP error messages"

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]




    "Hassan Al-Rubaie" <anonymous@discussions.microsoft.com> wrote in message
    news:a39b01c3ec0a$6b7cb970$a301280a@phx.gbl...
    > Ok, I'm pretty new to this, so please be patient. Here
    > the story.
    >
    > I've got a very simple access database used for people to
    > enroll in training courses on our intranet server
    > (Win2003, IIS 6). On the asp page I've hidden most of
    > the fields and all the user has to do is put in their
    > name and hit submit and everything is supposed to update
    > to the database. Well, the confirmation page comes up
    > like everything works, but when I go to the mdb there is
    > nothing there. I've tried this with both Access 97 & XP
    > databases and I get the same problem.
    >
    > I've done the same thing on our old server which was
    > Win2000 & IIS 5. One thing I found suggested enabling
    > parent paths and I've done that, but still nothing
    > happens? I'm not getting any error messages at all, so
    > I'm hoping that someone has heard of something like this
    > before.
    >
    > Any suggestions? Thanks
    > Hassan Al-Rubaie

    Aaron Bertrand - MVP Guest

  4. #3

    Default Re: Access DB Connection problems


    "Hassan Al-Rubaie" <anonymous@discussions.microsoft.com> wrote in message
    news:a39b01c3ec0a$6b7cb970$a301280a@phx.gbl...
    > Any suggestions?
    Show us a relevant snippet of your code.

    Ray at work


    Ray at Guest

  5. #4

    Default Re: Access DB Connection problems

    <form method="POST" action="--WEBBOT-SELF--">
    <!--webbot bot="SaveDatabase" SuggestedExt="asp"
    S-DataConnection="CEU" S-RecordSource="TRAINING" U-
    Database-URL="CEU.mdb" U-Confirmation-
    Url="../DB/confirmation.asp" S-Form-Fields="TITLE
    enrollee TYPE TIME DATE" S-Form-DBFields="TITLE\ OF\
    COURSE ENROLLEE\ NAME TYPE\ OF\ COURSE TIME DATE" --><p>
    Supervisors of Employees<br>
    Lunch &amp; Learn<br>
    February 18, 2004<br>
    12:00pm - 1:30pm<br>
    <!--webbot bot="Validation" B-Value-
    Required="TRUE" --><input type="text" name="enrollee"
    size="20"><br>
    <br>
    <input type="submit" value="Submit" name="B1"></p>
    <input type="hidden" name="DATE" value="2/18/04">
    <input type="hidden" name="TIME" value="12PM">
    <input type="hidden" name="TITLE" value="LUNCH
    &amp; LEARN">
    <input type="hidden" name="TYPE"
    value="SUPERVISORS OF EMPLOYEES">
    </form>

    I just used the built in Frontpage 2002 components to do
    all of this. I do have VisualStudio.Net, but I'm not
    comfortable with it, I've only used it for a C++ class I
    took a year ago. And friendly HTTP Error messages are
    not turned on.

    Thanks,
    Hassan

    >-----Original Message-----
    >
    >"Hassan Al-Rubaie" <anonymous@discussions.microsoft.com>
    wrote in message
    >news:a39b01c3ec0a$6b7cb970$a301280a@phx.gbl...
    >
    >> Any suggestions?
    >
    >Show us a relevant snippet of your code.
    >
    >Ray at work
    >
    >
    >.
    >
    Hassan Al-Rubaie Guest

  6. #5

    Default Re: Access DB Connection problems

    eegs... I think you'll have a hard time finding support for this in these
    groups if you're allowing Frontpage and Frontpage extensions to do things.
    I suggest you either hand-code your ASP code yourself or see if posting your
    issue in a Frontpage group yields better support.

    Ray at work

    "Hassan Al-Rubaie" <anonymous@discussions.microsoft.com> wrote in message
    news:b0b601c3ec0d$d859f550$a601280a@phx.gbl...
    > <form method="POST" action="--WEBBOT-SELF--">
    > <!--webbot bot="SaveDatabase" SuggestedExt="asp"
    > S-DataConnection="CEU" S-RecordSource="TRAINING" U-
    > Database-URL="CEU.mdb" U-Confirmation-
    > Url="../DB/confirmation.asp" S-Form-Fields="TITLE
    > enrollee TYPE TIME DATE" S-Form-DBFields="TITLE\ OF\
    > COURSE ENROLLEE\ NAME TYPE\ OF\ COURSE TIME DATE" --><p>
    > Supervisors of Employees<br>
    > Lunch &amp; Learn<br>
    > February 18, 2004<br>
    > 12:00pm - 1:30pm<br>
    > <!--webbot bot="Validation" B-Value-
    > Required="TRUE" --><input type="text" name="enrollee"
    > size="20"><br>
    > <br>
    > <input type="submit" value="Submit" name="B1"></p>
    > <input type="hidden" name="DATE" value="2/18/04">
    > <input type="hidden" name="TIME" value="12PM">
    > <input type="hidden" name="TITLE" value="LUNCH
    > &amp; LEARN">
    > <input type="hidden" name="TYPE"
    > value="SUPERVISORS OF EMPLOYEES">
    > </form>
    >
    > I just used the built in Frontpage 2002 components to do
    > all of this. I do have VisualStudio.Net, but I'm not
    > comfortable with it, I've only used it for a C++ class I
    > took a year ago. And friendly HTTP Error messages are
    > not turned on.
    >
    > Thanks,
    > Hassan
    >
    >
    > >-----Original Message-----
    > >
    > >"Hassan Al-Rubaie" <anonymous@discussions.microsoft.com>
    > wrote in message
    > >news:a39b01c3ec0a$6b7cb970$a301280a@phx.gbl...
    > >
    > >> Any suggestions?
    > >
    > >Show us a relevant snippet of your code.
    > >
    > >Ray at work
    > >
    > >
    > >.
    > >

    Ray at Guest

  7. #6

    Default Re: Access DB Connection problems

    > I just used the built in Frontpage 2002 components to do
    > all of this.
    Ugh. Strongly recommend spending a half hour at one of these tutorials.
    [url]http://www.aspfaq.com/2183[/url]
    That should be about all it takes to remove dependency on FrontPage.

    The code you posted, by the way, is not the code that does anything to the
    database. I assume that's in ../DB/confirmation.asp

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]


    Aaron Bertrand - MVP Guest

  8. #7

    Default Re: Access DB Connection problems

    Thanks for your help. I'll try the frontpage group.

    >-----Original Message-----
    >eegs... I think you'll have a hard time finding support
    for this in these
    >groups if you're allowing Frontpage and Frontpage
    extensions to do things.
    >I suggest you either hand-code your ASP code yourself or
    see if posting your
    >issue in a Frontpage group yields better support.
    >
    >Ray at work
    >
    >"Hassan Al-Rubaie" <anonymous@discussions.microsoft.com>
    wrote in message
    >news:b0b601c3ec0d$d859f550$a601280a@phx.gbl...
    >> <form method="POST" action="--WEBBOT-SELF--">
    >> <!--webbot bot="SaveDatabase"
    SuggestedExt="asp"
    >> S-DataConnection="CEU" S-RecordSource="TRAINING" U-
    >> Database-URL="CEU.mdb" U-Confirmation-
    >> Url="../DB/confirmation.asp" S-Form-Fields="TITLE
    >> enrollee TYPE TIME DATE" S-Form-DBFields="TITLE\ OF\
    >> COURSE ENROLLEE\ NAME TYPE\ OF\ COURSE TIME DATE" --
    ><p>
    >> Supervisors of Employees<br>
    >> Lunch & Learn<br>
    >> February 18, 2004<br>
    >> 12:00pm - 1:30pm<br>
    >> <!--webbot bot="Validation" B-Value-
    >> Required="TRUE" --><input type="text" name="enrollee"
    >> size="20"><br>
    >> <br>
    >> <input type="submit" value="Submit"
    name="B1"></p>
    >> <input type="hidden" name="DATE"
    value="2/18/04">
    >> <input type="hidden" name="TIME" value="12PM">
    >> <input type="hidden" name="TITLE" value="LUNCH
    >> & LEARN">
    >> <input type="hidden" name="TYPE"
    >> value="SUPERVISORS OF EMPLOYEES">
    >> </form>
    >>
    >> I just used the built in Frontpage 2002 components to
    do
    >> all of this. I do have VisualStudio.Net, but I'm not
    >> comfortable with it, I've only used it for a C++ class
    I
    >> took a year ago. And friendly HTTP Error messages are
    >> not turned on.
    >>
    >> Thanks,
    >> Hassan
    >>
    >>
    >> >-----Original Message-----
    >> >
    >> >"Hassan Al-Rubaie"
    <anonymous@discussions.microsoft.com>
    >> wrote in message
    >> >news:a39b01c3ec0a$6b7cb970$a301280a@phx.gbl...
    >> >
    >> >> Any suggestions?
    >> >
    >> >Show us a relevant snippet of your code.
    >> >
    >> >Ray at work
    >> >
    >> >
    >> >.
    >> >
    >
    >
    >.
    >
    Hassan Al-Rubaie Guest

  9. #8

    Default Re: Access DB Connection problems

    Thanks for your help. I'll try the frontpage group & the
    tutorial you suggested.

    Hassan

    >-----Original Message-----
    >> I just used the built in Frontpage 2002 components to
    do
    >> all of this.
    >
    >Ugh. Strongly recommend spending a half hour at one of
    these tutorials.
    >[url]http://www.aspfaq.com/2183[/url]
    >That should be about all it takes to remove dependency
    on FrontPage.
    >
    >The code you posted, by the way, is not the code that
    does anything to the
    >database. I assume that's in ../DB/confirmation.asp
    >
    >--
    >Aaron Bertrand
    >SQL Server MVP
    >[url]http://www.aspfaq.com/[/url]
    >
    >
    >.
    >
    Hassan Al-Rubaie 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