CF 10 64 Bit MS Access

Hi All,
Having trouble when I upgrade to CF 10.
We have Windows 2008 R2 64 Bit.
In CF 9 I followed the instructions on how to use MS Access in CF on 64 Bit and all worked well.
When I upgraded to CF 10 the Datasources would not work.
I then tried to recreate them and still no luck.
Can anyone help me with this problem?
At present it is not possible to upgrade the database, so I need to use MS Access.
Regards
Ken

Hi Aaron,
Thanks for the reply.
Yes, infact let me explain our setup.
We have both Intranet and Internet. In both of these we have build, test and production environments.
All of these have been running correctly for the past 2 years with some ms access dsn's setup.
All with Windows 2008 r2 and CF9.01
I actually used the following instructions to set these up.
http://www.coldfusionmuse.com/index.cfm/2010/12/31/Access.on.64bit.ColdFusion
I then used the following instructions to up grade to CF10
https://docs.google.com/presentation/d/1CFdXhBUzafrFP8vKLE7sqRDT6TMFvX4-jRyPqOrT5G8/edit?p li=1
Everything worked after the upgrade except for the ms access dsn's.
I then search for CF10 and ms access and found your instructions.
So, I removed allms access dsn's from both windows and CF and followed your instuctions.
I even installed the new driver you suggested.
This did not work. So I have to revert back to CF9 until I found a solution.
I turned the CF10 services off and the CF9services on.
Then change the paths in IIS.
Low and behold the ms access dsn's all worked. I did not have to do anything.
So I'm thinking that something may have screwed up in the CF10 install?
Ken

Similar Messages

  • 32 Bit Harddisk access ON or OFF

    Should I trun 32 Bit Harddisk access option in my motherboard ON or OFF? (And reason please.)

    Yes, turn it on.  Here is why, and it has nothing to do with 32bit file access, as in windows drivers etc.  It is strictly for HDD access.
    Why?
    Since modern PCs use 32-bit I/O buses such as the PCI bus, doing 16-bit transfers is a waste of half of the potential bandwidth of the bus. Enabling 32-bit access in the BIOS (if available) causes the PCI hard disk interface controller to bundle together two 16-bit chunks of data from the drive into a 32-bit group, which is then transmitted to the processor or memory. This results in a small performance increase.

  • Is it possible to Install the 64-bit Microsoft Access Database Engine 2010 if we are running Microsoft Office 2010 32-bit?

    So we are running Microsoft Office Professional Plus 2010, Version 14.0.7015.1000
    (32-bit)
    This is what is installed via our Network and Network licensing.
    I am trying, in vain, to read and write a .xlsx file via a C# Edit Script in a SSIS Package. And I have tried using...
    string StringConnection = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + sourceFile + ";Extended Properties=\"Excel 12.0;HDR=Yes;IMEX=1\"";
    And this tells me that this has not been installed. So when I go and try and get the Microsoft Access Database Engine 2010 64-bit, which would allow me to use Microsoft.ACE.OLEDB.12.0 and allow me to read, write, and process this .xlsx file, it tells me
    I cannot install it because I already have 32-bit installed and it wants me to un-install Microsoft Office 2010. Why? Because it is 32-bit? And I can't do that because this is what we have and what we're licensed for and from what I've read seems to be the
    industry standard because most software vendors are ill equipped to process 64-bit right now.
    So my question is this...How can I use a C# Edit Script to read and process a .xlsx file? Because if I try using...
    string StringConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + sourceFile + ";Extended Properties=\"Excel 8.0;HDR=Yes;IMEX=1\"";
    It then tells me that the file is not in that format.
    Please excuse me for asking this question in a couple of different ways out here but I cannot for the life of me seem to be able to get an answer as to how I can process a .xlsx file with a C# script and which driver to use that will make this work.
    Thanks for your review and am hopeful for a reply.
    ITBobbyP85

    Hi ITBobby85,
    If the excel version in the Connection Manager is Microsoft Excel 2010 (.xlsx), we should use Microsoft.ACE.OLEDB provider.
    We can't install 32bit and 64bit parts of office on the same machine. We will get an error as you said when we run the installer to install the 64bit version of the Microsoft Access Database Engine 2010 Redistributable in the machine where a 32bit version
    of Microsoft Office installed. To fix this issue, please download and install the 32bit version of the Microsoft Access Database Engine 2010 Redistributable with the link below:
    http://www.microsoft.com/en-us/download/details.aspx?id=13255
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Can't boot into Windows 8 Single Language 64 bit or access the BIOS screen with the F1 key

    I have in my possession right now a Lenovo E49, Model name: 3464
    I am unable to access the BIOS settings at POST by pressing the F1 key.  Neither does it respond to the Enter key when it displays the message "To interrupt normal startup, Press Enter".  I am also unable to boot into the installed OS Windows 8 Single Language 64 bit.
    For your informtion, these are the events that led to this issue.
    I accessed the BIOS settings at startup using the CHANGE PC SETTINGS option in the CHARMS menu in Windows 8 Single Languge 64 bit followed by GENERAL and ADVANCED STARTUP.  Then I chose Restart Now.  Windows restarted to produce the startup screen where I chose Troubleshoot, followed by Advanced Options and UEFI Firmware Settings, followed by Restart.  This took me to the BIOS settings screen. Once there I changed the boot settings in BIOS so that SECURE BOOT was turnned OFF.  It was in ON state prior to that.  I also changed the BOOT MODE to LEGACY ONLY.  I also changed the BOOT ORDER to boot from DVD drive first followed by the Hard Disk and USB Hard Disk.  I saved the changes by pressing F10.
    Now the computer is able to boot from the DVD Drive.  I tested this by inserting a Windows 7 Repair DVD and also a Linux Live DVD.  Mind you, I didn't mke any changes to the Hard Drive.  I'm also able to boot from a USB Hard Disk.  This too was tested by inserting a bootable USB HD that had both Windows 7 and Windows 8 OS installers.  I used only the command prompt feature in the Repair option on the Windows 8 installer to ensure that I could access the partitions on the HD.  I did not in any way install Windows 7 or 8 on the HD.
    If there is no bootable DVD or USB HD inserted, the laptop is involved in a loop that restarts followed by a message that says the following:
    "Intel Undi, PXE-2.1 (build 083)
    Copyright (C) 1997-2000 Intel Corporation
    This product is covered by one or more of the following patents:
    US5, 307, 459,  US5, 434, 872,  US5, 732, 094,  US6, 570, 884,  US6, 115, 776 and US6, 327, 625
    Realtek PCIe GBE Family Controller Series v2.41 (06/08/11)
    PXE-E61: Media test failure, check cable
    PXE-M0F: Exiting PXE ROM."
    I am positive that the current state of the BIOS is such that it does not accept any input keys like F1 and F12 at POST so that the BIOS can only be accessed through Change PC Settings in Windows 8 as I had done prior to the occurence of the issue.  Since I cannot boot up Windows 8 I cannot use this method to access the BIOS.  And since it is not possible at this stage to access the BIOS settings through the F1 key, I believe Lenovo must have surely provided another alternative to enter the BIOS.  Can you kindly tell me what other way is there to do this.  In earlier days, one could reset the BIOS by shorting the BIOS through pins on the motherboard.  Is that possible now?  Or is there some Lenovo BIOS utilily that enables me to change the BIOS setting to boot with Legacy and UEFI?  Or do I have to install Windows 8.1 64 bit in Legacy mode?

    I'll see if another member of the team can jump in here and offer more help...
    What I might imagine is that you can only access BIOS from a cold boot. Windows 8/8.1 have hybrid shutdown and don't completely shut down the machine normally, so even when it powers off, it isn't fully off and the next boot is not really a cold boot.
    Please see this KB.  I realize this assumes you can get into windows.
    As you suggest, it also seems as though you have set legacy vs UEFI and that may be why your drive is not currently booting.   Can you remove the battery on your system?  If not, is there a reset hole on the bottom?  Removing battery and AC and pressing and holding the power button several times, then re-attach AC and Battery and try to restart and press F1 to get into BIOS.  (Not familiar with models that use enter for BIOS).
    Mark
    ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
    Mark Hopkins
    Program Manager, Lenovo Social Media (Services)
    twitter @lenovoforums
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Windows 7 Enterprise with Visual Studio 2008 and 32 bit ODBC access

    I have a 32 bit ODBC used to access Progress databases. We have to use the 32 bit driver.   My development had been run on XP in the past with no issues.  I have moved to a Windows 7 Enterprise workstation currently and cannot access
    through my app. The ODBC was installed as 32 bit through the SysWow64\odbcca32.exe with no issues.  I have tried to run my app with the x86 option but it still does not see the ODBC.  I went in and created a fake ODBC in the 64 bit interface
    and the app did see that ODBC so the app is running in 64 bit mode.  How can I force this app to run as 32 bit on my machine?  Thanks in advance. 

    Hi,
    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses the usage issue of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    For your issue how to force the app to run as 32bit, if you are working with Windows Forms app. please consult on Windows Forms Forum:http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
    If you are working with WPF app, please consult on WPF forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf
    If you are working with ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support.
    If the app is a C++ win32 app, please consult on Visual C++ forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Client for win 7 64 bit to access 10g and 8i database in Benthic Goldview

    Can someone provide a link to a client I can install in my windows 7 64 bit that will allow me to access a Oracle 10g and 8i database?  I'm using Benthic Goldview.
    Please provide some high level installation instructions also. 

    sasilverbullet wrote:
    Please keep in mind I'm a java developer, not a db guru...
    Scenario:  I'm using windows 7 pro, 64 bit, I vpn in to another network.  They have a box called 'thunder', that has a 8i db on it called arab805.  I have the username and password for it.
    What I did:  I tried using Squirrel to connect, keep getting an error saying it can't connect to it. 
    An actual error message would have been very useful. "an error saying it can't connect to it.'  is totally devoid of useful information.
    Somewhere I found some info that said I had to set up a DSN on my box first.  Tried that, wasn't able to make it work.
    What, exactly, did "Tried that" consist of?  To me, "setting up a DSN" would mean configuring a Data Source Name connection definition for ODBC.  That still requires installing and configuring the Oracle client software.
    Question:  Please provide me some detailed instructions on how to get this working.  Please don't provide me a link to something only a db guru would understand, I need some hand-holding help please.  If you could start with the high-level first, then work your way to more detailed, that would be great!
    example, something like this for a start - then give me more detail please:
    download oracle client
    set up dsn connection
    set up squirrel
    Ok,
    - Download Oracle client  (edelivery.oracle.com -- drill down from there to find the 11.2 client download.  Be sure to read all the 'read me' files and instructions on the web page itself.
    - Install the orcle client from the download.
    - Once installed, use the 'netca' utlility to configure the orcle client connection definition.
    - Make sure you can use the oracle client program 'sqlplus' to connect to the database.  Only after that is working will it make any sense to ..
    - Configure the ODBC DSN.
    Quite making excuses about 'not being a DBA guru'.  It's not necessary to be a DBA guru to to do this, and we understand that it is all new to you.  But it is the same basics you should know as a developer ... read instructions, research error messages, etc.
    For some background info on how oracle makes connections across networks, and what needs to be configured ..  See
    read: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ Help! I can’t connect to my database 
    read: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ Help! I can’t connect to my database (part duex) 

  • Windows 7 32-bit and accessing printer properties

    A cheque printing device (an HP LaserJet P3005 PCL6 / Troy MICR printer) is installed on a Windows 7 PC and shared.  The printer is installed as a local printer on a Windows Server
    2008 Standard R2 server with its port configured to the share name on the PC.
    When printing a file from, say, Notepad on the server, the job goes on to the queue, but the printer shows as “Needs troubleshooting” and the job doesn’t print.  Restarting the server’s
    Print Spooler server service makes it print.
    The same printer is also installed as a local printer on another server that’s running under Microsoft Windows Server 2008 Enterprise, and printing from there works fine.
    I suspect that there’s a communication problem between the Windows 7 PC and the Windows Server 2008 Standard R2 server.
    I’ve tried to access the printer’s configuration on the Windows 7 PC to look at its “SNMP Status Enabled” setting, but get “An error occurred during port configuration.  This operation is
    not supported”.
    Is the SNMP status the issue here?  Is there a solution?

    Hi,
    When did this issue happen? Did it work fine previously? Is the printer shown as online or offline?
    Regarding to "SNMP Status Enabled", some printing issues can be caused by this option, you can find more infromation in the link below
    http://technet.microsoft.com/en-us/library/cc775439(v=ws.10).aspx
    and the discussion:
    https://social.technet.microsoft.com/Forums/windows/en-US/0cfa31d7-b44b-4241-aa31-d0ae9f0a2112/windows-7-network-printers-offline?forum=w7itpronetworking
    This update has fixed some printer performance issue, I suggest you install this update and check if it can make any difference
    http://support.microsoft.com/kb/2647753
    Yolanda Zhu
    TechNet Community Support

  • Windows 7 64 bit, Access 2010 32 bit, Oracle 10G client 32 bit, Oracle database 10.2.0.4 64 bit

    I am trying to connect to an Oracle 10.2.0.4 database from Windows 7 OS - 64 bit using
    Access 2010 32 bit and Oracle 32 bit client version 10.2.0.1 installed on PC.
    My user requires a 64 bit Windows 7 OS for other needs.
    Oracle ODBC driver is 32 bit from Oracle 32 bit client.
    In Windows 7 OS 64 bit, ODBC DSN setup software is located in:
    C:\Windows\system32\odbcad32.exe for 64 bit drivers - all DSN types setup and
    C:\Windows\syswow64\odbcad32.exe for 32 bit drivers - USER DSN setup
    When I run the ODBC Data Source Administrator, I see the Version number is 6.1.7601.17632
    I setup a User DSN using the 32 bit odbcad32.exe with a 32 bit ODBC driver.
    Our Oracle TNSnames.ora file has our standard entries which have worked for years
    (Windows 7 OS 32 bit and everything 32 bit has connected for years too)
    So when I configure an ODBC User DSN and leave all the default settings and press the TEST Connection button, it says it works.
    But when I open the existng Access 2010 database (which does connect to Oracle in a Windows 7 32 bit PC environment),
    1. I go to Access External Data ribbon tab / Link to the Data Source by creating a linked table / press OK
    2. I select the Machine Data source = to the USER DSN name / press OK
    3. The Oracle ODBC Driver Connect Window opens with Service Name = USER DSN and User Name and it wants a Password
    4. I enter the correct password and I get the following error message:
    ODBC call failed
    [Oracle][ODBC]{Ora]ORA-12154: TNS: could not resolve the connect identifier specified
    (#12154) [Microsoft][ODBC Driver manager] Driver's SQLSetConnectAttr failed IM006 0
             [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (#0)
    I have tried a quite a number of fixes:
    I have gone into the PC registry and cleaned out most or all off the Oracle client keys and
    reinstalled the Oracle 32 bit 10g client. It didn't fix the error.
    I read about the Oracle instantclient-basic-win32-10.2.0.4.zip with ODBC modules but I have Windows 7 64 bit.
    Anyone experienced a problem like this and have a fix?

    Thank you for your reply.
    I did not get to try it because after I entered my question, I did a lot more internet Googling.
    I found this small comment:
    “There's a known issue where you get a 12154 error message running 32 bit software on a 64 bit OS using client 10201, and
    It should be resolved by patching the client to 10204, which you do by applying the 10204 database patch to it.”
    I searched around for the 10.2.0.4 patch for 10.2.0.1 Oracle 32 bit client.
    When I contacted my Oracle DBA to ask if he had that patch, he said that I should try the 11g 32 bit client on the Win 7 64 bit PC.
    We have a 10.2.0.4 Oracle database but he said the 11g client should work fine.
    I tried it and it solved the problem!
    With so many settings, configurations and permissions involved in ODBC, I am inclined to think that I missed a setting but
    it was a bug in the 32 bit client 10.2.0.1.
    Solved.

  • Acrobat Tab for 64 bit Access

    I have the 64 bit version of Office 2010 installed along with Acrobat 10.1 Standard. Is there a COM Add-in for the Acrobat PDFMaker for Access 64 bit? The add-ins seem to work for the 64 bit versions of Word, Excel, PowerPoint, and Outlook but not for Access. Seems odd they they would make support for everything in Office 64 bit except Access.

    These forums are in relation to the 'Acrobat.com' service.
    For questions about the Acrobat software please visit the Acrobat
    product forum:
    http://www.adobeforums.com/cgi-bin/webx?14@@.ee6b2ed
    or contact Adobe technical support.
    Thank you.
    PS, Acrobat 8.1 and later will install and work on Vista 64
    bit, so update to 8.1

  • 11g erp url not accessing on win7 64 bit?

    Hello experts,
    we recently install fusion 11.1.2.1.0 and database 11g.
    scenario:
    database server:(192.168.1.100)
    plateform: window server 2008, 64 bit
    product: oracle database 11g.
    application server:(192.168.1.101)
    plateform: window server 2008 64 bit
    product: oracle fusion 11g(forms and report)
    i sucessfully install and configure the forms configuration. my application is running on same application server.
    url to access the application:
    http://aserver:9001/forms/frmservlet?config=erp
    url is accessing on the application server as well as client having 32 bit xp operating
    system after insatlling the java.
    but if same url is accessing on database server and clients with window7 64 bit, not accessing after installing the java7 64 bit as well.
    error:
    Internet Explorer cannot display the webpage
    What you can try:
    Diagnose Connection Problems
    remote device or resources won't accept the connection.
    please help
    thanks
    yash

    Hi experts,
    i de-installed all java versions. then insert the java 32 bit jdk-6u41-windows-i586 in
    directory:
    C:\Program Files (x86)..
    restart my browser ..
    after that add the java bin path in path variable.. still i am not able to run my url. this time error is:
    Issues found
    The remote device or resource won't accept the connectionThe remote device or resource won't accept the connection
    The device or resource (192.168.1.101) is not set up to accept connections on port "9001". Detected
    Contact your network administrator Completed
    Issues found Detection details
    6 The remote device or resource won't accept the connection Detected
    The device or resource (192.168.1.101) is not set up to accept connections on port "9001".
    Contact your network administrator Completed
    The computer or device you are trying to reach is available, but it doesn’t support what you’re trying to do. This might be a configuration issue or a limitation of the device.
    Detection details
    Network Diagnostics Log
    File Name: 7EC88DBF-909F-4A48-AA8C-6D7503784B00.Diagnose.0.etl
    Other Networking Configuration and Logs
    File Name: NetworkConfiguration.cab
    Collection information
    Computer Name: HCL-PC
    Windows Version: 6.1
    Architecture: amd64
    Time: Thursday, February 21, 2013 10:15:46 AM
    Publisher details
    does any setting need to set.
    thanks yash

  • Accessing an environment simultaneously between 32 and 64 bits applications

    Hi all.
    I thought that using BDB 5.3.x, you could mix 32 and 64 bits processes accessing the same environment simultaneously. That seems not to be the case.
    When a 64 bits process is trying to join an environment created by a 32 bits process, I get this error:
    bsddb3.db.DBError: (-30969, "BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch -- BDB1539 Build signature doesn't match environment")
    Same error joining the other way around.
    Was I mistaken? Can not be done in BDB 5.3.x?

    Perhaps this article from Wikipedia will explain:
    http://en.wikipedia.org/wiki/64-bit
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • Problem in accessing the url on client with win7 64 bit

    Hello experts,
    we recently install fusion 11.1.2.1.0 and database 11g.
    scenario:
    database server:(192.168.1.100)
    plateform: window server 2008, 64 bit
    product: oracle database 11g.
    application server:(192.168.1.101)
    plateform: window server 2008 64 bit
    product: oracle fusion 11g(forms and report)
    i sucessfully install and configure the forms configuration. my application is running on same application server.
    url to access the application:
    http://aserver:9001/forms/frmservlet?config=erp
    url is accessing on the application server as well as client having 32 bit xp operating
    system after insatlling the java.
    but if same url is accessing on database server and clients with window7 64 bit, not accessing after installing the java as well.
    please help
    thanks
    yash

    Hi Amit
    We also have this issue with weblogic webservices. Did you get any resolution for this issue.
    When the service is executed for lesser number of hits, all the responses are processed properly. But as load (Number of hits for the same service) increases, few responses are failed to be parsed in the web service client. We could confirm that the producer responds with proper content type (text/xml)
    Any help or pointers will be greatly appreciated.
    Thanks,
    Finny

  • Query 32 bit Access Database from 64 bit Sql Server

    Hi All,
    I have a task to query the Accessdb from Sql Server and below are the configuration details:
    OS: Windows Server 2008 R2 Enterprise( 64 bit)
    Sql Server: Sql Server 2012 enterprise (64 Bit)
    Access : MS Office 2010 (32 bit)
    I used the below queries to reap the data from access db.
    SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0','D:\Product.accdb', Product) AS Product
    (or)
    SELECT * FROM OPENROWSET('MICROSOFT.ACE.OLEDB.12.0','D:\PRODUCT.ACCDB', PRODUCT) AS PRODUCT
    following error returnd from both queries.
    Error: "Msg 7438, Level 16, State 1, Line 2.    The
    32-bit OLE DB provider "Microsoft.Jet.OLEDB.4.0" cannot be loaded in-process on a 64-bit SQL Server."
    Please help.
    Ram MSBI Developer

    not sure if anyone is watching this thread anymore but i have this scenario. i am using the excel connection manager in SSIS to create an excel spreadsheet with VS 2012.  To do this from what I have read I am required to use the 32-bit driver for "Microsoft
    Access database engine 2007", if I use the 64-bit driver I cannot connect to the Excel connection manager.   i get 0xc020801c message.
    i can install the 32-bit "Microsoft Access database engine 2007" and resolve this problem.  but i also have a stored procedure that creates a spreadsheet (i use this because i have to leave some cells intact), it appears to require the
    64-bit "Microsoft Access database engine 2007".  in 32-bit mode i get the following message
    Msg 7438, Level 16, State 1, Procedure sp_CreateGRfile, Line 26
    The 32-bit OLE DB provider "Microsoft.ACE.OLEDB.12.0" cannot be loaded in-process on a 64-bit SQL Server.
    so i need both the 32-bit  "Microsoft Access database engine 2007" and 64-bit  "Microsoft Access database engine 2007".
    any thoughts on getting around this issue?

  • Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto

    h2. Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
    Version: B
    Author: Dude, 24. May 2011
    The following are step by step instructions how to install Oracle 11gR2 Express Edition (Beta) under Linux Ubuntu 11.04, 64-bit.
    Access to the Internet is required.
    The instructions cover the following additional topics:
    - Converting Red Hat based Oracle XE installer to Ubuntu.
    - Work-around for missing /sbin/chkconfig tool.
    - Install Oracle XE into a different directory or disk volume.
    - Relocate and configure the Oracle user and default login directory.
    - Uninstall, reconfigure and perform first database backup.
    - Notes and web links.
    - Troubleshooting
    h3. A) System Setup and Prerequisites
    h4. A.1. System Access
    You will need terminal command line, root and system console access to perform the setup tasks.
    To open a Terminal at the system console:
    Menu Applications > Accessories > TerminalThe following commands will enable remote ssh login with root access:
    sudo apt-get install openssh-server
    sudo passwd root
    Verify:
    ssh root@xe_server_host_nameh4. A.2. Software Prerequisites
    The following is required in order to install Oracle 11gR2 XE:
    sudo apt-get install alien libaio1 unixodbcThe following is not required, but it will fix backspace and arrow keys in case you prefer using the vi-editor:
    sudo apt-get install vimh4. A.3. System Swap space
    Minimum swap space required is 2 GB. You can increase swap space if necessary using a swap file:
    To analyze current swap space and memory configuration:
    sudo cat /proc/meminfo
    To install a 1 GB swapfile named swapfile in /, for example:
    sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576
    (this may take a while)
    sudo mkswap /swapfile
    sudo swapon /swapfile
    sudo cp /etc/fstab /etc/fstab.orig
    sudo echo '/swapfile swap swap defaults 0 0' >> /etc/fstab
    Verify:
    sudo swapon -a
    sudo swapon -sh4. A.4. Kernel Parameters
    Oracle 11g XE requires the following additional kernel parameters:
    sudo nano /etc/sysctl.d/60-oracle.conf
    (Enter the following)
    # Oracle 11g XE kernel parameters
    fs.file-max=6815744
    net.ipv4.ip_local_port_range=9000 65000
    kernel.sem=250 32000 100 128
    kernel.shmmax=536870912
    (Save the file)
    Note: kernel.shmmax = max possible value, e.g. size of physical RAM.
    Verify: sudo cat /etc/sysctl.d/60-oracle.conf
    Load new kernel parameters:
    sudo service procps start
    Verify:
    sudo sysctl -q fs.file-max
    -> fs.file-max = 6815744h4. A.5. Oracle Installation Directory
    The current Oracle Installation Guide uses the same directory like in previous versions: /usr/lib/oracle/xe/app/oracle/product/11.2.0/server. However, the current Beta installation uses Oracle Flexible Architecture (OFA) and installs into /u01/app/oracle/product/11.2.0/xe. Due to size limitations of Oracle XE it may not be necessary to store the installation to a specific directory or separate volume, but it is possible:
    Install Oracle XE to separate disk volume:
    From the system console menu: System > Administration > Disk Utility
    Select "ext3" filesystem for Oracle compatibility and specify a Volume label, e.g. Oracle.
    Notice the device name e.g. /dev/sdb
    Get the drive UUID:
    sudo blkid
    e.g. /dev/sdb: UUID="d19a2d8f-da43-4802-8bdb-0703c855e23a"
    Modify /etc/fstab to automatically mount the volume at system startup:
    sudo cp /etc/fstab /etc/fstab.original
    sudo nano /etc/fstab
    (Add the following, using determined UUID, for exmple)
    UUID=d19a2d8f-da43-4802-8bdb-0703c855e23a /u01 ext3 defaults,errors=remount-ro 0 1
    (Save the file)
    Create the mount-point, mount the new volume and set ownership and privileges:
    sudo mkdir /u01
    sudo mount -a
    sudo chown root:root /u01
    sudo chmod 755 /u01
    Verify:
    df -h
    or restart the systemYou can also install Oracle XE into a specific directory:
    Create a symbolic link to store the installation into an existing directory, for instance:
    sudo mkdir /home/oracle-xe
    sudo ln -s /home/oracle-xe /u01h3. C) Oracle 11g XE Download and Installation
    h4. C.1. Download and convert the Installer from Red Hat to Ubuntu
    Please see section E.3. to download the Oracle 11gR2 XE installer.
    Select the version listed for Linux x64.
    sudo unzip linux.x64_11gR2_OracleXE.zip
    sudo alien --to-deb --scripts oracle-xe-11.2.0-0.5.x86_64.rpm
    (This may take a while)h4. C.2. Create a special chkconfig script
    The Red Hat based installer of Oracle XE 11gR2 beta relies on +/sbin/chkconfig+, which is not used in Ubuntu. The chkconfig package available for the current version of Ubuntu produces errors and my not be safe to use. Below is a simple trick to get around the problem and install Oracle XE successfully:
    Create /sbin/chconfig:
    sudo nano /sbin/chkconfig
    (Cut and paste the following)
    #!/bin/bash
    # Oracle 11gR2 XE installer chkconfig hack for Debian by Dude
    file=/etc/init.d/oracle-xe
    if [[ ! `tail -n1 $file | grep INIT` ]]; then
       echo >> $file
       echo '### BEGIN INIT INFO' >> $file
       echo '# Provides:             OracleXE' >> $file
       echo '# Required-Start:       $remote_fs $syslog' >> $file
       echo '# Required-Stop:        $remote_fs $syslog' >> $file
       echo '# Default-Start:        2 3 4 5' >> $file
       echo '# Default-Stop:         0 1 6' >> $file
       echo '# Short-Description:    Oracle 11g Express Edition' >> $file
       echo '### END INIT INFO' >> $file
    fi
    update-rc.d oracle-xe defaults 80 01
    (Save the file)
    Set appropriate execute privileges:
    chmod 755 /sbin/chkconfig
    Note: You should remove the /sbin/chkconfig file after successful installation of Oracle XE.
    h4. C.3. Install and configure Oracle XE
    sudo dpkg --install ./oracle-xe_11.2.0-1.5_amd64.deb
    /etc/init.d/oracle-xe configure
    (This will take a while)
    Remove the /sbin/chkconfig script, which is no longer needed.
    sudo rm /sbin/chkconfigh4. C.4. Relocate and Configure the Oracle user login
    The Oracle XE installer specifies /u01/app/oracle as the login directory for the Oracle user. Although not really necessary, the following will relocate the Oracle user $HOME to a standard location and create standard /etc/skel login files:
    Exit all Oracle user sessions:
    sudo /etc/init.d/oracle-xe stop
    sudo kill -9 `ps -ef | grep oracle | grep -v grep | awk '{print $2}'`
    sudo userdel oracle
    sudo useradd -s /bin/bash -G dba -g dba -m oracle
    sudo passwd oracle
    Verify:
    sudo id oracle
    -> uid=1001(oracle) gid=1001(dba) groups=1001(dba)h4. C.5. Setup Oracle environment variables
    In order to use sqlplus and other tools, the Oracle account requires certain environment variables. The following will set these variables automatically at every interactive Oracle login:
    sudo echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >> /home/oracle/.bashrch4. C.6. Oracle sudo root access
    It is not essential to allow the Oracle user to use sudo, but it is convenient:
    usermod -G admin oracle
    Verify:
    id oracle
    -> uid=1001(oracle) gid=1001(dba) groups=1001(dba),120(admin)
    sudo su -
    -> Enter Oracle account passwordh4. C.7. Oracle 11g XE Post-installation
    After you install Oracle Database XE, its graphical user interface is only available from the local server, but not remotely.
    The following will correct the problem if necessary:
    Login as user Oracle or use:
    su - oracle
    sqlplus / as sysdba
    At the SQL prompt, enter the following command:
    EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
    exith3. D) Unintstall, Reconfigure and Troubleshooting
    h4. D.1. Uninstall Oracle 11g XE
    The following will completely uninstall and remove Oracle 11g XE:
    Login as user root:
    sudo su -
    /etc/init.d/oracle-xe stop
    dpkg --purge oracle-xe
    rm -r /u01/app
    rm /etc/default/oracle-xe
    update-rc.d -f oracle-xe removeh4. D.2. Reconfigure Oracle 11g XE
    Type the following in a terminal window:
    /etc/init.d/oracle-xe stop
    sudo rm /etc/default/oracle-xe
    /etc/init.d/oracle-xe configureh4. D.3. Enable Archivelog mode and perform a database backup
    Login as user Oracle:
    su - oracle
    sqlplus / as sysdba
    At the SQL prompt, enter the following commands:
    shutdown immediate
    startup mount
    alter database archivelog;
    alter database open;
    exit
    Login to system console of the Oracle user account:
    Select Applications > Oracle Database 11g Express Edition > Backup Databaseh3. E) Notes
    h4. E.1. Oracle 11g XE limitiations overview
    - It will consume, at most, processing resources equivalent to one CPU.
    - Only one installation of Oracle Database XE can be performed on a single computer.
    - The maximum amount of user data in an Oracle Database XE database cannot exceed 11 GB.
    - The maximum amount of RAM that Oracle XE uses cannot exceed 1 GB, even if more is available.
    - HTTPS is not supported natively with the HTTP listener built into Oracle Database XE.
    h4. E.2. Documentation and Links
    Official documentation for Oracle 11gR2 XE can be found at:
    http://www.oracle.com/pls/xe112/homepage
    h4. E.3. Oracle 11g XE downloads
    The Installer is available from the Oracle Technology Network at:
    http://www.oracle.com/technology/products/database/xe
    http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
    h4. E.4 APEX links and archives
    The APEX archives can be found at:
    http://www.oracle.com/technetwork/developer-tools/apex/application-express/all-archives-099381.html
    The APEX download site is:
    http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
    h3. F) Troubleshooting
    ... in progress
    Regards and best of luck!
    Edited by: Dude on May 25, Version B: various corrections. chkconfig package (A.2.) not required.

    even though I am admin user.Admin user is a MS Windows term, that does not apply to Linux or Unix in the same fashion.
    The configuration script tells you "You must be root user to run the configure script. Login as root user and
    then run the configure script."
    This is most likely correct because your account is not root and does not have UID 0. What you can do is to login as root e.g. sudo su -, as the message suggest, or use "sudo /etc/init.d/oracle-xe configure", provided your account is defined in the /etc/sudoers file to perform root/admin actions.
    Btw, do not modify /etc/passwd and /etc/group to give you admin privileges or try to create a another root account under a different name. That's not the way it works and usually leads to nasty problems.

  • 32-bit...64-bit...Excel 2007...Excel 2010...nonetheless a .xlsx File

    My head is spinning...soooooo here's the deal...
    The client provides us a .xlsx File. Now I have no idea how this is created and saved...via Excel 2007...Excel 2010
    When I attempt sourcing the .xlsx File in my SSIS Package I get the error "External Table is not in the expected format"
    Sooooo, I figure I'd write a C# Edit Script to read .xlsx File and Save it as a .xls file using the following syntax...
    string StrFileName = (Dts.Variables["User::FileName"].Value.ToString());
    StrFileName = Path.GetFileNameWithoutExtension(StrFileName);
    string StringSourceFile = (Dts.Variables["User::FilePath"].Value.ToString()) + StrFileName + ".xlsx";
    string StringDestinationFile = (Dts.Variables["User::FilePath"].Value.ToString()) + StrFileName + ".xls";
    // This initiates the Excel Application
    Microsoft.Office.Interop.Excel.Application excelApplication = new Microsoft.Office.Interop.Excel.Application();
    // This Opens the Source .xlsx File from Emdeon ePaySmart
    Workbook workbook = excelApplication.Workbooks.Open(StringSourceFile, XlUpdateLinks.xlUpdateLinksNever, true, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
    // This will Save the Source .xlsx Emdeon ePaySmart File as a .xls File...note xlFileFormat.xlExcel5
    workbook.SaveAs(StringDestinationFile, XlFileFormat.xlExcel8, Type.Missing, Type.Missing, Type.Missing, Type.Missing, XlSaveAsAccessMode.xlExclusive, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
    // This will Close the Source
    workbook.Close(false, Type.Missing, Type.Missing);
    // This shuts down the Excel Application
    excelApplication.Quit();
    Note xlFileFormat.xlExcel8
    Now this worked PERFECTLY client side. Then when I created a SQL Server Agent Job it blew up and from what I read the SQL Server Agent Job does not like running dynamic Excel commands.
    Soooooooo now I'm back at the drawing board and figured I'd use OLE DB to source the file.
    I am using this Connection String for the .xlsx File
    string StringConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + sourceFile + ";Extended Properties=\"Excel 8.0;HDR=Yes;IMEX=1\"";
    Now I understand that the OLEDB.4.0 Connection string is incorrect for a .xlsx File. (Which is why I probably tried to do this with dynamic Excel commands to begin with)
    Now comes the chicken and the egg problem...
    If instead I try using the OLEDB.12.0 Connection String it tells me it isn't installed
    My network, copied Microsoft Office 2010 installed is 32-bit
    So if I try to install the 64-bit Microsoft Access Database Engine 2010 it tells me I have to Uninstall Microsoft Office 2010. Well that is not possible
    So my question is this...How in God's name can I try and process this .xlsx File??? I am at a complete loss here.
    I did come upon this Posting previously...in italics below but it fell short in terms of providing a solution.
    Can anyone please help me out here?
    Thanks in advance for your review and am hopeful for a reply.
    ITBobbyP85
    When I create my connection manager to connect to a .xlsx file, I get the error message that says:
    "Test connection failed because of an error in initializing provider. External table is not in the expected format."
    The provider selected was the ole db "Microsoft office 12.0 Access Database Engine...", and in the All tab I entered "Excel
    12.0" at the top where it says Extended properties.
    Here is the stumper:
    My import package(s) has (have) been running manually for the last 2-3 weeks, but now i've finished an automated system that downloads
    the files from the ftp site, unzips them, validates all the expected files are there, renames and relocates the files to the names/locations expected by my ETL, and then runs the ETL.
    I found out today that the people who manually did this process were each time opening the file and then saving it to the correct location
    in Excel 2007. 
    When I try to run my ETL on the files in the automated process, it fails with the above error. If, however, I just open the file and
    save it (also in 2007), it runs fine. I have been trying to figure out what saving the file is doing to change it to be in the expected format.
    I have tried to use an excel 2003 connection to connect to a copy of the file with a modified extension of .xls and that didn't work.
    (in case it was in another version of excel and someone just changed the ext)
    I then tried to access the file with the OLE DB provider, as above, but instead of entering 12.0 on the Extended properties line, entering
    9.0 or 14.0 in turn (creating new sources/connections each time), and when I do that, both times I get an error that says: 
    “Test connection failed because of an error in initializing provider. Could not find installable ISAM.”
    Am I missing something? Is there something else that simply opening and saving the file might be doing to make it paletable to ssis?
    If we install excel on the db server I realize i could probably open it up and save it as excel 2007 and that would do the trick, but
    the dba is resistant to this idea, so I thought I'd see if anyone has any other ideas?
    If we do have to install excel on that server, does the version have to be excel 2007 in order to programmatically save it as type 2007?
    thanks in advance for your thoughts on the issue...

    You just need to install the latest ACE OLEDB (JET) provider, then when you set the package to run use a proxy with proper rights to access the Excel file on the file system.
    http://www.microsoft.com/en-ca/download/details.aspx?id=13255
    Arthur
    MyBlog
    Twitter

Maybe you are looking for

  • Lightning USB Cable not working

    My lightning USB cable stopped working today. I tried to plug it in and it didn't charge my phone so I unplugged it and saw that one of the sides of the iPhone hookup looks kind of burned abs chipped off. I would post a picture but I'm not sure how.

  • MacBook Pro 2008 Airport connections

    I know that a number of people have posted messages regarding the problem with Airport connections but I have not found a solution yet. My MackBook Pro 2008 has iOS 10.6.8. I can see Airport on (bold signal) but I can't access the interenet though I

  • My 27 inch iMac screen will not hold position when I move it.  It just drops back to the lowest position.

    My 27 inch iMac monitor tilts forward and will not hold position when I adjust it up.. Is there a tension adjustment for the monitor position?

  • How to connect to BO from Excel 2007

    Hi everyone, as I am new to BO I need help how to establish connection to a BO Universe from Excel 2007 - what components I need to install to be able to make the connection, and steps for creating the connection Thanks in advance, Maria

  • VPD+DBLINK

    Hi, I am trying VPD functionality, Can any one guide me? I have 2 schema in one database shema are 1.bdev 2.hdev I have customer table in hdev schema like Table CUSTOMERS - COD_ENTITY VARCHAR2(20) CUST_ID NUMBER CUST_NAME VARCHAR2(20) create table cu