Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

ODBC engine (IIS 5.1 and Office 12)

  • 22-06-2006 1:52pm
    #1
    Closed Accounts Posts: 80 ✭✭


    HELP!

    I am using IIS 5.1 and when I try open web pages locally I get this error. I have a feeling that it may have something to do with the ODBC setup because I am using office 12 and its still a beta. I can revert back to office xp (which I mite do) but if any of you kind boardsies could save me i'd garetfully appreciate it

    Technical Information (for support personnel)
    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    [Microsoft][ODBC Microsoft Access Driver] The Microsoft Office Access database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.
    index.asp, line 9

    The error is quite broad and the microsoft K/B is grately confusing me.

    My jet engine is version 4.0.8618.0 (the latest).

    I saved the database in 2000, 2003 and 2007 file formats and tried each one and they all give the same error

    The ASP code is: (its just a crappy test doc. If i get this much onscreen i'll be happy)


    <%@LANGUAGE=&quot;VBSCRIPT" CODEPAGE="1252"%>
    <!--#include file="Connections/list.asp" -->
    <%
    Dim list_f
    Dim list_f_cmd
    Dim list_f_numRows

    Set list_f_cmd = Server.CreateObject ("ADODB.Command")
    list_f_cmd.ActiveConnection = MM_list_STRING
    list_f_cmd.CommandText = "SELECT * FROM Listing"
    list_f_cmd.Prepared = true

    Set list_f = list_f_cmd.Execute
    list_f_numRows = 0
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
    <html xmlns="http://www.w3.org/1999/xhtml"&gt;
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>

    <body>
    <%=(list_f.Fields.Item("descr").Value)%>
    </body>
    </html>
    <%
    list_f.Close()
    Set list_f = Nothing
    %>


    Thanks!!!!!!!!!!!! ;)


Advertisement