Open an Access database from ASP on the Windows 2008 32-bit server

We are upgrading to a Windows 2008 server.  The ASP application opens an Access database with this code:
  Set oConn=Server.CreateObject("ADODB.connection")
  oConn.Open  "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=E:\webdata\applications\po\sfisnet\sfisnet.mdb;"
The open statement causes this error:
       Number: -2147217887
       Description: Multiple-step OLE DB operation generated errors. Check each OLE DB
       status value, if available. No work was done.
       Source: Microsoft JET Database Engine
       SQL State:
       Native Error: 0
Research includes: 
 - ODBC drivers  
 - verified that the ms jet dll is present: msjet40.dll, msjet35.dll
 - IIS settings reviewed
 - permission and sharing on the directory and "sfisnet.mdb" database
 - verifies thet OLEDB_SERVICES is in the registry

They'll help you over here.
Microsoft ASP.Net forums
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

Similar Messages

  • Installing Printers from Windows 2008 R2 printer server using the Cname

    Am having issues installing printers on workstations from the windows 2008 R2 print server using the DNS names. the servername and Full qualified Name works fine.
    l have tweaked the Registry and Disabled the StrictNameChecking but still getting an error.  this is the message am getting...
    Printer Installation Failed
    You do not have enough privilege to complete the printer installation on the local machine.
    I found this KB and did exactly what is in the KB but stilll....
    lhttp://support.microsoft.com/kb/870911/en-us
     need help

    Hi.
    I think I solved this yesterday. We got 1 printserver, with an alias, which we had this problem to connect to. I noticed that there is a difference between x86 and 64bits system entries in the registry...
    When you are having a 64bit system, you must use REG_QWORD instead of REG_DWORD, REG_DWORD is only to be used in x86 system! See below.
    Windows 2008 server R2 64-bit 
    HKLM\SYSTEM\CurrentControlSet\Control\Print
    = ”DnsOnWire” = REG_QWORD Decimal = 1
    (reg add hklm\system\currentcontrolset\control\print /v DnsOnWire /t REG_QWORD /d 1)
    HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters
    = DisableStrictNameChecking = REG_QWORD Decimal = 1
    (reg add hklm\system\currentcontrolset\services\lanmanserver\parameters /v DisableStrictNameChecking /t REG_QWORD /d 1)
    HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters\ 
    REG_SZ = OptionalNames = “aliasname” (C-name record in DNS)
    (reg add hklm\system\currentcontrolset\services\lanmanserver\parameters /v OptionalNames /t REG_SZ)
    Windows 2008 server x86 
    HKLM\SYSTEM\CurrentControlSet\Control\Print = "DnsOnWire" = REG_DWORD Decimal = 1
    (reg add hklm\system\currentcontrolset\control\print /v DnsOnWire /t REG_DWORD /d 1)
    HKLM\SYSTEM\CurrentControlSet\services\Lanmanserver\Parameters = DisableStrictNameChecking = REG_DWORD Decimal = 1
    (reg add hklm\system\currentcontrolset\services\lanmanserver\parameters /v DisableStrictNameChecking /t REG_DWORD /d 1)
    HKLM\SYSTEM\CurrentControlSet\services\LanManServer\Parameters\  REG_SZ = OptionalNames = “aliasname”
    (C-name record in DNS)
    (reg add hklm\system\currentcontrolset\services\lanmanserver\parameters /v OptionalNames /t REG_SZ)
    Don't forget to reboot your system after these changes!
    Best Regards, Mats

  • Error when accessing Access database in ASP?

    for some reason when I try to open my Access database it constantly and consistenly gives me an error message that claim the table or the query is not valid or the table cannot be found. Both the database and the table exist and are accessible with the files and all directories having a rwxr--r-- protection and the code below is extraordinarily simple. Can anybody tell me what's going on? I'm sure it's just a simple mistake, but it's driving me nuts!
    Thanks
    Ross
    ========================================================================================== =============================
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!-- #include virtual="/includes/adovbs.inc" -->
    <!--#include virtual="/Connections/nextdns.asp" -->
    <%
    Dim rs1
    Dim rs1_cmd
    Dim rs1_numRows
    %>
    <%
    MM_nextdns_STRING ="PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & Server.MapPath("Database\ids2.mdb")
    %>
    <%=MM_NEXTDNS_STRING%>
    <%
    Set rs1_cmd = Server.CreateObject ("ADODB.Command")
    rs1_cmd.ActiveConnection = MM_nextdns_STRING
    rs1_cmd.CommandText = "SELECT * FROM [Customer]"
    rs1_cmd.Prepared = true
    Set rs1 = rs1_cmd.Execute
    rs1_numRows = 0
    %>
    <%
    Dim Repeat1__numRows
    Dim Repeat1__index
    Repeat1__numRows = 10
    Repeat1__index = 0
    rs1_numRows = rs1_numRows + Repeat1__numRows
    %>
    <%
    '  *** Recordset Stats, Move To Record, and Go To Record: declare stats variables
    Dim rs1_total
    Dim rs1_first
    Dim rs1_last
    ' set the record count
    rs1_total = rs1.RecordCount
    ' set the number of rows displayed on this page
    If (rs1_numRows < 0) Then
      rs1_numRows = rs1_total
    Elseif (rs1_numRows = 0) Then
      rs1_numRows = 1
    End If
    ' set the first and last displayed record
    rs1_first = 1
    rs1_last  = rs1_first + rs1_numRows - 1
    ' if we have the correct record count, check the other stats
    If (rs1_total <> -1) Then
      If (rs1_first > rs1_total) Then
        rs1_first = rs1_total
      End If
      If (rs1_last > rs1_total) Then
        rs1_last = rs1_total
      End If
      If (rs1_numRows > rs1_total) Then
        rs1_numRows = rs1_total
      End If
    End If
    %>
    <%
    ' *** Recordset Stats: if we don't know the record count, manually count them
    If (rs1_total = -1) Then
      ' count the total records by iterating through the recordset
      rs1_total=0
      While (Not rs1.EOF)
        rs1_total = rs1_total + 1
        rs1.MoveNext
      Wend
      ' reset the cursor to the beginning
      If (rs1.CursorType > 0) Then
        rs1.MoveFirst
      Else
        rs1.Requery
      End If
      ' set the number of rows displayed on this page
      If (rs1_numRows < 0 Or rs1_numRows > rs1_total) Then
        rs1_numRows = rs1_total
      End If
      ' set the first and last displayed record
      rs1_first = 1
      rs1_last = rs1_first + rs1_numRows - 1
      If (rs1_first > rs1_total) Then
        rs1_first = rs1_total
      End If
      If (rs1_last > rs1_total) Then
        rs1_last = rs1_total
      End If
    End If
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <p>wwwwwwwwwwwwwwwwwwwwwww</p>
    <%
    While ((Repeat1__numRows <> 0) AND (NOT rs1.EOF))
    %>
      <p><%=(rs1.Fields.Item("ID").Value)%>/ <%=(rs1.Fields.Item("FullName").Value)%> /<%=(rs1.Fields.Item("Email").Value)%></p>
      <%
      Repeat1__index=Repeat1__index+1
      Repeat1__numRows=Repeat1__numRows-1
      rs1.MoveNext()
    Wend
    %>
    <%=(rs1_first)%> /
    <%=(rs1_last)%> /
    <%=(rs1_total)%>
    </body>
    </html>
    <%
    rs1.Close()
    Set rs1 = Nothing
    %>

    You may also search for Access help at http://search.microsoft.com/search.aspx?mkt=en-US&setlang=en-US

  • Connecting to Oracle database from ASP = please help!

    i have tried every kind of combination of connection string to connect to a 9i database from ASP but it does not work!
    I am using XP Professional and have 9i Developer and ODP.NET installed but I want to use OLE DB (Oracle or Microsoft) to access the database. I have a feeling the web page is not seeing the driver. here is my code:
    <% Option Explicit %>
    <HTML>
    <HEAD><TITLE>Oracle Data Access</TITLE></HEAD>
    <BODY>
    <%
    Dim objConnection
    Dim objRecordset
    Set objConnection = Server.CreateObject("ADODB.Connection")
    With objConnection
    .ConnectionString = "Provider=MSDAORA;Data Source=obiwan;" & _
    "User ID=user; Password=pass;"
    .Open
    Response.Write "ADO Provider=" & .Provider & "<BR>"
    Set objRecordset = .Execute("SELECT sysdate, user FROM dual")
    End With
    </body>
    </html>

    Try using this connect string:
    Provider=MSDAORA.1;Password=tiger;User ID=scott;Data Source=ORA92;Persist Security Info=True
    substitute your username/password and Data Source here.
    This works on Windows2000 with Microsoft OLEDB provider
    for Oracle.

  • Only one user at a time allowed to open MS Access database on a Mac share

    I have an issue trying to open a Microsoft Access database from our Mac OS X Server running on XServe.
    The MS Access file is stored on a Share Point on the XServe. Windows XP clients open the database. The problem is that it will only allow one user at a time to open the file. The has previously been operating fine when it was stored on a Windows server.
    The Group's permissions for this Share Point allow Read & Write.
    Any thoughts would be much appreciated.

    I think you're being misled a bit by the interface: the checkbox labelled "Strict locking" doesn't just allow strict locking, it requires it (and thus disallows byte-range locking). That is, with strict locking enabled, any client that tries to lock any part of the file actually locks the entire file. Access normally depends on byte-range locking to allow different clients to share the database (as long as they aren't trying to modify the same part of it at the same time), but with strict locking the first client locks all others out.

  • Error while connecting to Access Database from Oracle

    Dear All,
    I'm trying to connect Oracle 9i to Access Database.
    but im getting the below error while executing query.
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from MYSQLi did the following thing through to connect the database.
    1) First i made odbc driver called ODBC1
    2) I create the following file on oracle server C:\oracle\ora9I\hs\admin\initodbc1.ora
    i edit the below thing in initodbc1.ora
    HS_FDS_CONNECT_INFO =ODBC1
    HS_FDS_TRACE_LEVEL = ON3) I made some changes in sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= NONE
    before it was *NTS*4) Below are the entries in tnsnames.ora i changed the port from 1521 to 1522 cos 1521 already exists.
    ODBC1.TADAWI.LOC =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ODBC1)
    ODBC1.WORLD =
      (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.251) (PORT = 1522)
      (CONNECT_DATA =
          (SID = ODBC1)
      (HS=OK)
    )5) Listener file code
    ODBC1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\ora9I)
          (PROGRAM = extproc)
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = C:\oracle\ora9I)
          (SID_NAME = orcl)
         (SID_DESC =
          (PROGRAM = hsodbc)
          (ORACLE_HOME = C:\oracle\ora9I)
          (SID_NAME = ODBC1)
      )6) after that i created
    SQL> CREATE DATABASE LINK MYSQL CONNECT TO XTRACK IDENTIFIED BY XTRACK USING 'ODBC1.WORLD'
    Database link created.7) Listener Status
    LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 04-MAR-2012 21:26:16
    Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    Start Date                04-MAR-2012 20:52:33
    Uptime                    0 days 0 hr. 33 min. 44 sec
    Trace Level               off
    Security                  OFF
    SNMP                      OFF
    Listener Parameter File   C:\oracle\ora9I\network\admin\listener.ora
    Listener Log File         C:\oracle\ora9I\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC2ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=8080))(Presentation=HTTP)(Session=RAW))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "ODBC1" has 1 instance(s).
      Instance "ODBC1", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 2 instance(s).
      Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfullyi did exactly what documentation says and it will not through any error but atlast when i try to access the access database tables it give me the below error
    SELECT * FROM DBO_COMPANY@MYSQL
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from MYSQLi'm using Oracle9i Enterprise Edition Release 9.2.0.1.0 any help will appreciate.
    Regards
    Moazam
    Edited by: Moazam Shareef on Mar 4, 2012 10:25 AM

    first of all thanks for your support Mr. Kgronau
    I did what u said but still its giving me below error.
    SQL> SELECT * FROM DBO_PATINS@MYSQL
      2  ;
    SELECT * FROM DBO_PATINS@MYSQL
    ERROR at line 1:
    ORA-12154: TNS:could not resolve service namei re-check the service, and restart the listener as you said below are the logs could you help me to solve this issue plz.
    TNSNAMES.ORA
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora9I\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL.TADAWI.LOC =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    ODBC1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ODBC1)
    INST1_HTTP.TADAWI.LOC =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = SHARED)
          (SERVICE_NAME = MODOSE)
          (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA.TADAWI.LOC =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
      )LISTENER.ORA
    # LISTENER.ORA Network Configuration File: C:\oracle\ora9I\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    ODBC1 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
    SID_LIST_ODBC1 =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = ODBC1)
          (ORACLE_HOME = C:\oracle\ora9I)
          (PROGRAM = hsodbc)
        (SID_DESC =
          (GLOBAL_DBNAME = ODBC1)
          (ORACLE_HOME = C:\oracle\ora9I)
          (SID_NAME = ODBC1)
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\ora9I)
          (PROGRAM = extproc)
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = C:\oracle\ora9I)
          (SID_NAME = orcl)
      )then i restart both listener entries (ie lsnrctl start ODBC1 and lsnrctl start ) and both are running fine without any error below are the status.
    LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 05-MAR-2012 18:42:09
    Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    Start Date                05-MAR-2012 18:32:15
    Uptime                    0 days 0 hr. 9 min. 56 sec
    Trace Level               off
    Security                  OFF
    SNMP                      OFF
    Listener Parameter File   C:\oracle\ora9I\network\admin\listener.ora
    Listener Log File         C:\oracle\ora9I\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC2ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=8080))(Presentation=HTTP)(Session=RAW))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 2 instance(s).
      Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfullyLISTENER.ORA ODBC1 status
    LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 05-MAR-2012 18:41:52
    Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1522)))
    STATUS of the LISTENER
    Alias                     ODBC1
    Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    Start Date                05-MAR-2012 18:32:08
    Uptime                    0 days 0 hr. 9 min. 46 sec
    Trace Level               off
    Security                  OFF
    SNMP                      OFF
    Listener Parameter File   C:\oracle\ora9I\network\admin\listener.ora
    Listener Log File         C:\oracle\ora9I\network\log\odbc1.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1522)))
    Services Summary...
    Service "ODBC1" has 1 instance(s).
      Instance "ODBC1", status UNKNOWN, has 2 handler(s) for this service...
    The command completed successfullyWhere hope i'm near to retrive the access data.
    Regards
    Moazam

  • [JDBC][ODBC] How to compact access database from Java ?

    Hello,
    I'm developping a java applcation wich is connected to an MS Access file database.
    For now, I don'y compact it but it would be better.
    So How can I compact an access database from Java ?
    thanks :)

    Hi ypiel,
    Try this:
    1) Download JETCOMP.exe (freeware from Microsoft);
    2) Put the following code in your app (assuming your database file name is: "DB.mdb"):
    try {
    File current = new File("DB.mdb");
    File backup = new File("BACKUP.mdb");
    if (current.renameTo(backup)) {
    Runtime.getRuntime().exec("jetcomp -src:BACKUP.mdb -dest:DB.mdb");
    } catch (Exception e) {
    System.out.println(e.getMessage());
    Best regards,
    YT.

  • "RUN-TIME ERROR '3078': The Microsoft Access database engine cannot find the input table or query 'name'. Make sure it exists and that its name is spelled correctly.

     When I run the code below I get the following error:"RUN-TIME ERROR '3078': The Microsoft Access database engine cannot find the input table or query 'False'. Make sure it exists and that its name is spelled correctly. Note that I do not call
    anything by the name of "false" anywhere in this code.
    The subject code (the underscored line of code is highlighted in the debugger when the error occurs):
    Option Compare Database
    Private Sub JobAssign_Click()
    MatLotListAvail_openform
    End Sub
    Function MatLotListAvail_openform()
    Dim dbsAPIShopManager2010 As DAO.Database
    Dim rstMaterialLotJobJoint As DAO.Recordset
    Dim strSQL As String
    Set dbsAPIShopManager2010 = CurrentDb
    strSQL = "SELECT * FROM MaterialLotJobJoint WHERE JobID" = "tempvars!JobID" And "MatLotID" = "tempvars!MatLotID"
    Set rstMaterialLotJobJoint = dbsAPIShopManager2010.OpenRecordset(strSQL, dbOpenDynaset)
    If rstMaterialLotJobJoint.EOF Then
    DoCmd.OpenForm "JobAssignMatConf", acNormal, "", "", acEdit, acNormal
    Forms!JobAssignMatConf!PartapiIDVH = TempVars!PartapiID
    Forms!JobAssignMatConf!JobapiIDVH = TempVars!JobapiID
    Forms!JobAssignMatConf!JobIDVH = TempVars!JobID
    Forms!JobAssignMatConf!MaterialLotIDVH = TempVars!MatLotID
    Forms!JobAssignMatConf!Desc = TempVars!MatDesc
    Forms!JobAssignMatConf!recdate = TempVars!recdate
    DoCmd.Close acForm, "MaterialLotListAvailable"
    Else: MsgBox "This material lot has already been assigned to this job."
    DoCmd.Close acForm, "MaterialLotListAvailable"
    End If
    End Function

    I think the SQL statement should be
    strSQL = "SELECT * FROM MaterialLotJobJoint WHERE JobID=" & _
    tempvars!JobID & " AND MatLotID=" & tempvars!MatLotID
    This assumes thatJobID and MatLotID are number fields.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Is there an app which opens MS Access databases?

    Is there an app which opens MS Access databases?  Or is there one I can import the data into and manipulate it?
    Thanks

    Hi Tom
    Thanks this is the sort of thing I was looking for - gets patchy reviews though!  Also I see it has not been updated since 2011.
    I am looking to use an iPad to largely replace my aging desktop and the access database is the only problem.
    Thanks for the advice.
    Mark

  • I recently loaded OSX mavericks on my Imac. I now find I cannot open any Adobe products from CS5. The error message reads " to open Adobe illustrator CS5.app, you need to install a JAva SE 6 runtime. Would you like to check and install one?

    I recently loaded OSX mavericks on my Imac. I now find I cannot open any Adobe products from CS5. The error message reads " to open Adobe illustrator CS5.app, you need to install a JAva SE 6 runtime. Would you like to check and install one? I try to install but get the error" download error". As far as i know I'm using Adobe Java 7. None of my CS5 suite works anymore............and i really dont want to upgrade to a monthly cloud service fee as i hate this policy with a passion.

    This goes for Dreamweaver CC on Mavericks!!!!! THANK YOU!
    I couldn't launch Dreamweaver CC. An error told me to install "java se 6 runtime". But when I clicked  OK I got another error telling me there is a network problem! I found this forum post on CS6 products, so I tried the download link, installed java 6 and presto, it worked! Thanks!

  • Writing a table to a MS Access database from Powershell

    Hey guys, me again...I'm trying to wrap up a project here and i have a powershell app writing to a SQL database just fine. The last piece is writing to a MS Access database table. For the life of me i cannot find anything out there that really points me
    in the right direction.
    I know my database name/path and i know the table/headers i need to write my data too.
    Anyone have a link to a quick dirty tutorial or can someone point me in the right direction ?
    Thanks as always
    Rich
    Rich Thompson

    I get no error message. I created a blank database with a table called dbo_so_shprimg_pvs and headers
    called so_hdr_key, so_ship_key, imgfileName, so_shprimg_crtdt. I'm doing a test write-host
    prior so i know my variables are good. 
    Rich
    Rich Thompson

  • Windows vista home premium service pack 2.error measage __(the windows installer service could not be accessed.this can occur if the windows installer is not correctly installed .contact your support personnel for assistance )no error nurber

    windows vista home premium service pack 2。error measage __(the windows installer service could not be accessed.this can occur if the windows installer is not correctly installed .contact your support personnel for assistance )no error nurber

    Hi Abdallah,
    According to your description, could you please post the summary and detail logs for further analysis? By default, the logs can be found in: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log.
    Usually, the error occurs when the Windows Installer Service is not running or the Windows Installer registry settings are corrupted.  I recommend you reset the Windows Installer Service settings in the registry and restart the Windows Installer Service,
    then reinstall SQL Server 2008 R2. For more details, please review this similar
    article.
    Thanks,
    Lydia Zhang

  • Microsoft Access Windows 2008 64 Bit CFMX 9 64 Bit

    We are migrating from CFMX 7 on a 32 bit Windows server to Windows 2008 64 bit with CFMX 9 standard 64 bit edition.  When attempting to add Microsoft Access datasources, I received the Unable to update the NT registry. Variable DRIVERPATH is undefined error.  I search the net and tried the recommended solutions I came across including installing Microsoft Office 2010 64 bit.  None of the solutions have worked.  I eventually came across the error "architecture mismatch between the driver and application" when trying some of the different solutions.
    Most, if not all, of the recommendations I found online were dealing with Windows 7 or Vista, not server operating systems though.
    This is a shared hosting server for our clients and some of them have older web sites implemented in Access and are reluctant to switch to SQL server because of the size and scope of their databases and it is really us who wish to migrate them in order to move to newer hardware and decommission the older server(s).
    Has anyone successfully defined Access datasources within CFMX 64 bit on a server operating system and if so, how?  Thanks in advance!

    I beleive that yes you can install 32 bit ColdFusion on a 64 bit system.  The troulbe is that you also need a 32 bit JVM and a 32 bit IIS.
    As I understand it, with IE 7 you can mix and match 32 bit and 64 bit, but in IE 6 it has to be all one or the other.
    I have read discussions on the hows and whys and the ins and outs of installing 32 bit CF on 64 bit systems.
    What I do not recall is if you can install both 32 bit and 64 bit CF on a single machine.  You may be able to with a multi-home or J2EE configuration of CF enterprise.

  • ASM installation failure from Oracle GRID under Windows 7 64 bit

    I am a rookie..I am running Oracle database 11gR2 running on a Windows 7 64 bit system.
    I am implementing ASM onto my system solely for learning purposes
    The implementation of ASM has changed between database releases 11gR1 and 11gR2 such that it is no longer configured locally but is now implemented from within Oracle GRID. Unfortunately, the book I am using to study my OCP from was written at the time of 11gR1 so I can no longer follow its instructions to create and configure ASM. Instead of using DBCA I now need to use ASMCA to configure ASM.
    As a preliminary requirement I successfully installed Oracle Grid and configured it to run on my standalone server.
    I created two partitions on my harddrive ...... drive G: and drive H: with intent of using them as my ASM disks. 45 Gig and 50 gig in size respectively formatted with the NTFS filesystem.
    I ran ASMCA in an attempt to create an ASM instance
    I specified these partition drives '\\.\G:' and '\\.\H:' in the disk discovery path which were successfully picked up.
    However when ASMCA executed the creation process after some time it failed with the following message:
    One or more diskgroup(s) creation failed as below:
    DiskGroup mydisks creation failed with the following message:
    ORA-15018: diskgroup cannot be created
    ORA-00600: internal error code, arguments: [17090], [], [], [], [], [], [], [], [], [], [], []
    Check C:\app\peter\cfgtoollogs\asmca\asmca-12101712AM0558.log for details.
    Which I did and found many things
    Thread-40] [ 2012-10-17 00:25:05.723 EST ] [UsmcaLogger.logInfo:141] Oradim Command : C:\app\11.2.0\grid\bin\oradim.exe -new -asmsid +ASM -startmode manual -srvcstart demand -spfile
    [Thread-40] [ 2012-10-17 00:25:05.723 EST ] [UsmcaLogger.logEntry:113] Entering oracle.sysman.assistants.usmca.util.UsmcaUtil Method : executeCommand
    [Thread-40] [ 2012-10-17 00:25:05.723 EST ] [UsmcaLogger.logInfo:141] Command: C:\app\11.2.0\grid\bin\oradim.exe -new -asmsid +ASM -startmode manual -srvcstart demand -spfile
    [Thread-40] [ 2012-10-17 00:25:07.254 EST ] [UsmcaLogger.logInfo:141] Instance created.
    Ok. As above the ASM instance appeared to have been successfully created so as part of my investigative process to confirm what the script actually did successfully execute I attempted to log into the ASM instance to see how far it would get. It fails with the following result
    C:\Windows\system32>set ORACLE_SID=+ASM
    C:\Windows\system32>sqlplus sys as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Oct 17 10:16:36 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    I checked Windows Task Manager
    There is an OracleOHService and it is running
    LISTENER is running ie the local listener running on port 1521 that was originally created with a previous basic stand alone installation of the Oracle 11gR2 database . (ie before I installed Oracle GRID). No other listeners are running.
    Can t see any evidence of any ASM service on Windows Task manager started/stopped or otherwise. Neither can I see evidence of a CSS service.
    The log file that was generated is large I am not clear on what I should be looking for in order to find clues as to how I might manually resolve this problem and possibly 'salvage' the installation. Any advice would be appreciated.

    Hi,
    read the documentation:
    http://www.oracle.com/pls/db112/to_pdf?pathname=install.112/e24169.pdf
    and you will find multiple errors, you probably did.
    Especially the part on preparing storage.
    Regards
    Sebastian

  • Trying to reinstall CS5.5 Master Collection from DVD media on Windows 7 64 bit - setup.exe fails due to msxml3.dll error PDApp message [FATAL] PIM - Failed to Create XML instance : DOMDocument40 ADXML::initWithXMLPath Error:80040154

    If anyone is able to solve this they are a genius (or I am doing something very stupid!)
    I am trying to reinstall CS5.5 Master Collection from DVD media on Windows 7 64 bit PC but setup.exe fails due to a msxml3.dll error.
    Following a big bundle of recent Windows 7 updates, I started getting 'bad image' msxml3.dll error messages when opening any CS5.5 master collection program (Eg Premiere / Photoshop / Illustrator / Dreamweaver). Following advice on some threads here I tried uninstalling and then using the Adobe CC Cleaner Tool to clean up install, then reinstalling from my original DVD media.
    Whenever I try using run setup.exe from installtion disc 1 the installing fails due to 'Missing files'. I have also tried dowloading trial versions and runing setup.exe fro mthe downloaded files but i still get the same message.
    I have searched the forum and others have experienced this error but none of the solutions I have found seem to be working for me - as many seem to relate to download installations whereas I am installing from original DVD media (which worked fine before on the same PC)
    These are the FATAL messages from the PDApp log
    12/11/2014 15:29:27 [FATAL] PIM - Failed to Create XML instance : DOMDocument40 ADXML::initWithXMLPath Error:80040154
    12/11/2014 15:29:27 [FATAL] Setup - Could not initialize ADXML object
    12/11/2014 15:29:27 [FATAL] Setup - Unable to initialize. Error parsing setup.xml file
    The PDApp troubleshooting seems to indicate that this is caused by error in downloads but I am getting it with both original media DVD and downloads.
    I have also tried using my logon (which has admin privileges) and under our main admin account - and I get the same errors.
    Is a clean install of Windows 7 + CS5.5 my only option?
    Any help / info / advice / solutions very much appreciated! I have spent the last 2 days trying to sort this out and seem to be getting nowhere.
    Thanks.

    Thanks for the reply kglad - much appreciated.
    I have already tried that option (along with downloading files) as it was one of the solutions mentioned on other threads, but that also failed.
    Any other ideas?

Maybe you are looking for

  • Services in unknown state

    Hello All, I have a 2 node RAC cluster running on Oracle 11G on Windows 2003. Everything appears to be working fine, but I have some services in an unknown state. If I stop all services using CRSCTL STOP CRS on any node, all services go offline as ex

  • Message problem in BDC

    Hi All, I am doing a bdc program inside  RFC-FM.in which i need  to do a posting in FI and return the document number via the export parameter of the RFC-FM.when the function module is tested in foreground its giving me the document number via the su

  • Can't drag images to the project bin in photoshop Element 8

    Hello, I'm new to Photoshop Element 8 on Mac ( I was using photoshop element 5 on PC before).  For some reason I can't seem to be able to drag any files to my project bin!  The only way I have managed to open files in PSE 8 is trough the File-Open me

  • Wage type report problem

    Hello to all I am getting a problem. In 190(Development).. In PA30 and infotype 8 some wage types are included for employees. But these wagetypes are not refelecting in PA0008 table. When i went into change mode of PA30 and then save ... then these v

  • Converting Publisher files to InDesign

    I'm currently searching for a cost efficient and reliable way to convert Publisher files to InDesign. Any suggestions for converting these files would be greatly appreciated. Thank you!