OleDb reader vs. ODBC reader

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

  1. #1

    Default Re: OleDb reader vs. ODBC reader

    First off stop using a DSN as it has been Deprecated from the MDAC.

    Second read the following articles.

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

    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/ado_deprecated_components.asp[/url]

    And the following at [url]http://support.microsoft.com[/url]

    190195 How To Extract Information from Excel Sheet with DAO

    194124 PRB: Excel Values Returned as NULL Using DAO OpenRecordset

    199841 How To Display ASP Results Using Excel in IE with MIME Types

    246167 PRB: Collating Sequence Error Opening ADODB Recordset the First
    Time Against an Excel XLS

    246335 How To Transfer Data from an ADO Recordset to Excel with Automation

    247412 INFO: Methods for Transferring Data to Excel from Visual Basic

    266263 BUG: Word 2000 and Excel 2000 Display ASP Source When Using MIME
    Type to Stream Data

    278973 SAMPLE: ExcelADO Demonstrates How to Use ADO to Read and Write
    Data in Excel Workbooks

    288343 BUG: Excel ODBC Driver Disregards the FirstRowHasNames or Header
    Setting

    295646 How To Transfer Data from ADO Data Source to Excel with ADO

    314763 FIX: ADO Inserts Data into Wrong Columns in Excel

    Sorry for listing so many I just wanted to make sure I covered my bases
    on my answer.

    Al Gorney wrote:
    > I am writing a web application that will be running on one server and reading
    > an .xls file that resides on another. I used an ODBC reader and it worked
    > fine on localhost in debug, yet when I deployed to the server, it fails; the
    > error is too long to put here, but here are the highlights: "General error
    > unable to open registry key... temporary (volatile) jet DSN for
    > process...0x808 thread 0x8f8 0x4f63ac Excel...Error Microsoft ODBC driver
    > mgr driver's SQLSetConnectAttr failed...Microsoft jet database engine cannot
    > open the file 'unknown'. It is open by another user or you need permission to
    > view its data". Like I said before, it works in debug on my workstation but
    > not on the server...Thanks, Al
    joker Guest

  2. Similar Questions and Discussions

    1. Reader 9 for Mac "Enable Reader Usage Rights"
      how is this done for mac's in 9? all of the forums say go to the advanced tab and then just enable them there... there is no advanced drop down menu?...
    2. Acrobat Pro/Reader 7 Batch enable commenting for Reader 7
      I have been searching for a good way other than opening and saving each file using Acrobat 7 Pro in order to enable commenting in Reader 7. Is there...
    3. Problem with OLEDB over ODBC
      I have an asp page used to access data from an access database. When I use the following as connection string (OLEDB)...
    4. Is there a way to create and Autorun CD with Reader 6 like you could with Reader 5?
      Is there a way to create and Autorun CD with Reader 6 like you could with Reader 5? There was a CD directory on the old 5 CD that if copied to a CD...
    5. upgrade acrobat reader 5 to acrobat reader 6.0.1
      I have installed acrobat reader 6.0.1, so instead of upgrading acrobat reader 5, it installed fresh copy. now i have two acrobat reader. Does any one...
  3. #2

    Default OleDb reader vs. ODBC reader

    Run your program As Administrator
    Unregistered 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