OLE error can't find anything that works

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

  1. #1

    Default OLE error can't find anything that works

    my website is [url]http://12.206.71.14/asp[/url] (for now)... none of
    the ASP in that section works. Here is what I posted at
    devshed...

    I'm using the example on borland with the IBPheonix
    connect string in another thread. Also the ODBC "Test
    Connection" says it's OK, and I know ASP runs on my IIS
    server... but I still get

    error '8002801c'
    Error accessing the OLE registry.

    /iisHelp/common/500-100.asp, line 10

    I'm using this
    Set cnn = CreateObject("ADODB.Connection");
    cnn.Open("DRIVER={Firebird/Interbase(r) Driver};
    DBNAME=localhost:C:\Program Files\Firebird\Firebird_1_5
    \examples\EMPLOYEE.FDB; UID=SYSTEM1; PWD=USER23");

    anyone know what to do?
    I've searched for 2 hours on the 'net... and have had
    problems all the way through getting ISI to work. This
    should be the last step.

    Thanks, I'm on XP, if that helps.

    MAJOR EDIT:
    I did this with MySQL too... same error, doesn't seem to
    be a problem with firebird. I enabled the permissions on
    the OLE registry values as well, didn't help.

    I've been using Regmon to find out what accesses the
    registry from where and finding ACCDENIED on Guest, so I
    enabled them all but HKCR\TypeLib won't allow Guest to
    access it even with permissions. This happens when I
    access my DB page.

    [url]http://www.learnasp.com/listserv/archives/error0177.asp[/url]

    that guy has a similar problem. I don't think this is DB
    related. MS has been so kind as to not offer 8002801c on
    their knowledge base as well. Anyone know what's going on?






    npd Guest

  2. Similar Questions and Discussions

    1. onload error.. works on local machine, but not on site...
      I'm getting a weird error on XML.onLoad(): When I try to access the Del.cio.us API via XML, the code works perfectly when running from the C:...
    2. HELP SQL Update syntax error in windows2003 but works fine in NT4???
      We upgraded our production server to windows 2003 and have been seeing this error when trying to update the database through a cfquery tag: ODBC...
    3. update and insert query error, but select works ok.
      :rose; Any ideas spring to mind about the following issue? I'm getting an error trying to run an Update or Insert query. I can run a Select...
    4. XMLParse Error works in 6.1 but not 7
      I have a chunk of code that works on my 6.1 server, but not on my MX 7 server.... wtf? HELP! Thanks, Dave :+)
    5. error but code works
      Hi folks, I've got the following code which works, but generates the error message following it. I've tried varying the code to eliminate the...
  3. #2

    Default OLE error can't find anything that works

    forgot to say, ASP itself works, I've tested it without db
    stuff.
    npd Guest

  4. #3

    Default Re: OLE error can't find anything that works

    On Mon, 5 Jan 2004 03:54:48 -0800, "npd"
    <anonymous@discussions.microsoft.com> wrote:
    >my website is [url]http://12.206.71.14/asp[/url] (for now)... none of
    >the ASP in that section works. Here is what I posted at
    >devshed...
    >
    >I'm using the example on borland with the IBPheonix
    >connect string in another thread. Also the ODBC "Test
    >Connection" says it's OK, and I know ASP runs on my IIS
    >server... but I still get
    To start, skip ODBC and go to OLEDB connections. IU won't go into all
    the reasons, they get hashed out enough.
    >error '8002801c'
    >Error accessing the OLE registry.
    >
    >/iisHelp/common/500-100.asp, line 10
    >
    >I'm using this
    >Set cnn = CreateObject("ADODB.Connection");
    >cnn.Open("DRIVER={Firebird/Interbase(r) Driver};
    >DBNAME=localhost:C:\Program Files\Firebird\Firebird_1_5
    >\examples\EMPLOYEE.FDB; UID=SYSTEM1; PWD=USER23");
    Why the "Localhost" in the ODBC string? I don't use Interbase so it
    may be a requirement there.
    >anyone know what to do?
    >I've searched for 2 hours on the 'net... and have had
    >problems all the way through getting ISI to work. This
    >should be the last step.
    >
    >Thanks, I'm on XP, if that helps.
    >
    >MAJOR EDIT:
    >I did this with MySQL too... same error, doesn't seem to
    >be a problem with firebird. I enabled the permissions on
    >the OLE registry values as well, didn't help.
    Enabled *which* permissions and for *which* user? Normally the IUSR
    account will need change permission to the ODBC key in the registry.

    Jeff
    > I've been using Regmon to find out what accesses the
    >registry from where and finding ACCDENIED on Guest, so I
    >enabled them all but HKCR\TypeLib won't allow Guest to
    >access it even with permissions. This happens when I
    >access my DB page.
    >
    >[url]http://www.learnasp.com/listserv/archives/error0177.asp[/url]
    >
    >that guy has a similar problem. I don't think this is DB
    >related. MS has been so kind as to not offer 8002801c on
    >their knowledge base as well. Anyone know what's going on?
    >
    >
    >
    >
    >
    Jeff Cochran Guest

  5. #4

    Default OLE error can't find anything that works

    Hey, thanks man... your IUSR suggestion helped. I had it
    on Guest... now it's using my name, turns out it was the
    permissions. I'll deal with it later for security, but
    right now, with full access... well

    [url]http://12.206.71.14/asp/testit.asp[/url]

    is way more helpful. And yeah, firebird runs that way. You
    can do directory browsing, testit is my firebird test,
    testitmy is my mysql test.now for those connection things.

    dude, this has taken me over 30 hours ... usually it's 72.
    Thanks. My AIM is fighting shadow if you need anything.
    npd Guest

  6. #5

    Default Re: OLE error can't find anything that works

    On Mon, 5 Jan 2004 07:37:25 -0800, "npd"
    <anonymous@discussions.microsoft.com> wrote:
    >Hey, thanks man... your IUSR suggestion helped. I had it
    >on Guest... now it's using my name, turns out it was the
    >permissions. I'll deal with it later for security, but
    >right now, with full access... well
    >
    >[url]http://12.206.71.14/asp/testit.asp[/url]
    >
    >is way more helpful. And yeah, firebird runs that way. You
    >can do directory browsing, testit is my firebird test,
    >testitmy is my mysql test.now for those connection things.
    >
    >dude, this has taken me over 30 hours ... usually it's 72.
    Usually takes me more like two weeks, but I'm stubborn. :)

    Good to hear it worked.

    Jeff
    Jeff Cochran 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