Using MS Access from a file server

i have a ms access db that i'd like to read from using jdbc. It is on a network file server. Can i read from it from a jsp on a separate weblogic box without having a dsn to the DB? ie using some kind of a file path in the connection address instead of a url?

Below is an example using a DSN-less connection. It uses a database on the local drive but could just as easily use a file on a network share.
<%@page import=java.sql.* %>
<%
// Establish connection to database
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection(
     "jdbc:odbc:DRIVER=Microsoft Access Driver (*.mdb);DBQ="
     + "c:\\blazix\\webfiles\\livedb\\livedb.mdb");
Statement st = con.createStatement();
String strSQL = "Select * from tblData";
ResultSet rs = st.executeQuery(strSQL);
ResultSetMetaData rsmd = rs.getMetaData();
rs.next();

Similar Messages

  • Query about using Office 365 as a file server

    Hey,
    At my workplace we are looking to change our method of storing files, as it stands we have an old machine which we connect to via the LAN.
    As we have expanded, other people need access to this from afar and we have looked at Office 365 Education, my understanding is that everyone gets 25gb on their own local area. How would we go about getting 100-200 GB of space on a standalone area.
    E.G a virtual server which everyone can access, as an admin can I restrict who views which directories? 
    My understanding is that I would need to make a user account called "Company Server" and share the folders via SkyDrive and only upgrade that account?
    Thanks again

    The storage for OneDrive for Business (SkyDrive Pro) is now 1TB for each user. OneDrive for Business is a good place for storing users' working files, the kinds of files you'd typically find in user home directories.
    You can use Office 365 like a file server through the use of mapped network drives. Here's how to set one up support.microsoft.com/en-us/kb/2616712. You can also script the network drive setup process with Powershell. Check
    http://www.lieben.nu/numb3rs/?page_id=129 and
    http://office365drivemap.codeplex.com/
    Myles Jeffery | Thinkscape Limited
    Try mapping OneDrive for Business and team site libraries to network drives with Zee Drive, its easy!
    Try our file share migration tool for OneDrive for Business and SharePoint Online Office 365

  • Browsing and opening files from a file server

    Hello!
    I am interested if it is possible with AIR to browse files from a file server that is connected to a local network and open them. F.e. I want to create an application that opens template files with their native programs and save them on the file server under different name.
    Thank you in advance
    Lynda

    AIR 2 (now at labs.adobe.com) has features you are looking for. An AIR 2 application can open a file in the default system application registered for the file type. (The file server must be a mounted volume on the computer.)
    An extended desktop application (an AIR 2 application that is installed with a native installer) can communicate with another application. So, if the AIR (extended desktop) application knows the path to the native application, it can open that application and communicate with it. If the native application has APIs for opening and saving files, the AIR application can communicate with it using those APIs. (So, this functionality depends on the capabilities of the native application.)

  • How can I use LDAP searching from OSX Lion Server to Mozilla Thunderbird?

    How can I use LDAP searching from OSX Lion Server to Mozilla Thunderbird?  We have a super awesome contacts server that works great for our Mac users.  About 30% of our company are on PCs, and I would like to use the Mozilla Thunderbird mail client for them.  I see that in Thunderbird I can set up LDAP searching, and would like to have this feature point to our contacts server.  I've tried several different settings, and looked all over the web, but could not find the proper way to configure this.  Does anyone know if this can be done, or if not, would have a better suggestion?  Thank you for your time!!

    try double clicking keychain acces should launch and ask if you want to install login, system, System roots
    A dialog box will launch asking where to install the cert since your configuring a vpn I would put the certificate it in system.

  • Hi, I need the program of access from the office, so i'm going to but the Microsoft office 365 university, will i have to but any other program to use the access from my mac? or to open any database that I will have did from any other computer (not mac)?

    hi, I need the program of access from the office, so i'm going to but the Microsoft office 365 university, will i have to but any other program to use the access from my mac? or to open any database that I will have did from any other computer (not mac)?

    There has never been a Mac version of Access. Microsoft never created one, realising that it was very inferior to the FileMaker Pro database application.
    So if you must run Access you will have to run Windows on your mac.

  • When I access a windows files server with the mac I am adding .apple (hidden files). How can I prevent this.

    When I access a windows files server with the mac I am adding .apple (hidden files). How can I prevent this?

    Look for a program called BlueHarvest. I'm not sure if it still works with Mountain Lion.
    I believe your file server can be set up to handle the metadata files, but I suppose that would depend on the Server software and your IT staff.

  • Crystal Reports Moved from one file server to another - very slow opening

    Hello,
    I am new here, and I am in need of a solution. If I am not in the correct forum, please advise.
    Our crystal reports were moved from an old file server to a new file server.  Once the old file server was shut down the reports opened very slow in Designer and in our 3rd party application.  Our server team determined that the reports are still attempting to connect to the old file server.  If the old file server is brought online or dns is changed to reflect another machine that it can make a connection to, it opens with no delay. 
    For some reason, not every report is affected.  Most of the reports are Crystal 8.5, but I have some Crystal XI reports that do the same thing.  I can't find any reference in the reports to any file server/location....
    I need to resolve this issue on the Crystal 8.5 version due to the application that we are running.
    Is there a way to fix this other than to recreate the reports (I have over 400 of them)?
    Any assistance or advice is appreciated!
    Thanks,
    Nancy

    Hi Nancy,
    The server info still needs to be updated. Are you setting location for each subreport also?
    Possibly this registry key will help, I only have CR 2008 installed so you'll have adjust for what ever you are using:
    HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports\DatabaseOptions - VerifyStoredProceduresOnFirstRefresh = No
    and
    VerifyStoredProceduresOnSetLocation = No
    And
    VerifyWhenDBDriverUpgraded = No
    And
    ViewOutOfPlaceSubreports = No
    Close CR designer before making any changes. And the usual warning about modifying the registry.
    Thank you
    Don

  • Windows Server 2012 R2 robocopy not copying inherited directory permission from source file server to destination ?

    Can anyone here please help me with Robocopy on Windows Server 2012 R2 to copy the file server content from \\OldFileServer\Data share into the local S:\Data drive ?
    here's my script that I use to copy 11 TB of file server contents:
    robocopy.exe "\\OLDFILESERVER\Data" S:\Data *.* /E /SECFIX /SEC /XO /ZB /COPYALL /MIR /DCOPY:DAT /R:0 /W:0 /NP /NFL /NDL /TEE /LOG:"G:\robocopy.log"
    Any kind of help and assistance would be greatly appreciated.
    Thanks
    /* Server Support Specialist */

    Hi,
    Based on my tests, inherited permissions will not be copied using robocopy.exe.
    That’s because that after we copy or move an objects to another volume, the object inherits the permissions of its new parent folder.
    My suggestion for you is to disable the inheritance on corresponding subfolders, and Convert inherited permissions into explicit permissions on this object. After that, those permissions can be copied.
    Here are some references below for you:
    Robocopy not copying NTFS permissions
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/b36748cd-14d1-47a5-9fb6-878ca93ad6fc/robocopy-not-copying-ntfs-permissions
    How permissions are handled when you copy and move files and folders
    http://support.microsoft.com/kb/310316
    Powershell ACL commands? NTFS Permissions - Turn inherited permissions into explicit permissions and remove inheritance
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/884e2837-ec1d-4937-83a5-722cd00d7d16/powershell-acl-commands-ntfs-permissions-turn-inherited-permissions-into-explicit-permissions-and?forum=ITCG
    Best Regards,
    Amy

  • Client access from W7 to Server 2008 with SQL Express 2008 R2 not possible anymore (since installing yesterdays patches)

    Hi everyone!
    We are suddenly having Problems to access our SQL Express Server from our Clients (SBS 2008 with W7 clients).
    Till yesterday evening everything was working fine. At night we installed the latest MS patches für our Server 2008 (SBS2008).
    Since then we are not able to connect to the SQL Express Server over the Network. Locally (on the Server) it runs fine.
    Switching the Windows Firewall off on the Server also lets the clients connect ...
    The Windows Firewall still has all the ports open needed for SQL Server, we havn't changed anything.
    All the incoming rules that worked for years are still there (untouched).
    We just deinstalled all the latest patches, but problem still is here ... not sure if this was just a coincidence ...
    Any ideas what could be the Problem?
    Thanks in advance for your help
    Best regards
    Thomas

    Check firewall rules
    enable traffic on TCP 1433 and UDP 1434 (if isn't a named instance) or check sql using ports.
    Check Sql Server Browser in Configuration Manager and also net protocols.
    let's know about it
    Best regards,
    P.Ceglie
    Questo post è fornito "così com'è". Non conferisce garanzie o diritti di alcun tipo. Ricorda di usare la funzione "segna come risposta" per i post che ti hanno aiutato a risolvere il problema e "deseleziona come risposta" quando
    le risposte segnate non sono effettivamente utili. Questo è particolarmente utile per altri utenti che leggono il thread, alla ricerca di soluzioni a problemi similari. ENG: This posting is provided "AS IS" with no warranties, and confers no rights.
    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Accessing a PC file server

    I have a file server that I connect to to get and store stuff on. No domain, AD and that other stuff, just a username and password which enables me too see the shared folders on that machine. I notice that whenever I browse to the root of that machine in Finder (i.e. click on its icon), I get the whole "Connecting..." schpiel which takes a second or two. Once done, the browsing and copying is normal, but if I go back to the root (by clicking the back arrow in Finder), once I reach the root it will do the whole "Connecting..." thing again, thus wasting time.
    Why does it do this? I have saved the username and password on my keychain. Why does it authenticate again and again in the same session?

    Hi Jesper,
    I would if I could, but you can't do this when the Windows 2012r2 Member Server Baseline is applied to the machine with the share. If I try to add a network location, I don't even get to the specify user name section. On the non-domain machine (the one I'm
    trying to connection from), I see an error:
         "The folder that you entered does not appear to be valid. Please choose another"
    On the domain joined machine with the share, I see the security entry as above.
    I have a feeling that the GPO responsible for this is the "Network Access: Do not allow anonymous enumeration of SAM account and Shares", which by default is disabled, but in the Baseline is enabled.
    You can add to the "Network access: Shares that can be accessed anonymously"
    at the Local Policy level, and although I have added the name of the share that I want the non domain machine to access, I still can't connect, so I'm obviously missing something.
    Chris
    PS. I CAN connect to the CA - this was just my stupidity in specifying the wrong name for the CA instance.
    Chris

  • One USB HD with Multiple AEBS, Move from NAS/File Server

    Okay to explain my question I'll describe what i want to do. If this is possible i would buy 2 airport extremes, and one USB HD. I would then use the USB HD to do TimeMachine backups to an Airdisk. I would like to then be able to take the USB HD with me when i go to work, and be able to do Airdisk backups there, having connected the same USB drive to different TC or AEBS, and afterwards, obviously bring it home and continue doing backups there. Is this at all possible? Has anyone tried? Can i at least browse my backups after having connected them to a different AEBS?
    Another question is, up until now i have been using an "unsupported" backup to my Linux File Server over netatalk. I did this, mainly because i have raid, and my data can't really be lost this way. Is there anyway to move this backup to an Airdisk? I read something here about different formats being used to save data on different types of backups. The share is on a partition that is formated ext3, if that helps at all. Oh and the backup itself is a sparseimage.
    Thanks for your replies,
    Dmitry
    Message was edited by: Russo017

    Okay to explain my question I'll describe what i want to do. If this is possible i would buy 2 airport extremes, and one USB HD. I would then use the USB HD to do TimeMachine backups to an Airdisk. I would like to then be able to take the USB HD with me when i go to work, and be able to do Airdisk backups there, having connected the same USB drive to different TC or AEBS, and afterwards, obviously bring it home and continue doing backups there. Is this at all possible?
    It should work fine, but you may run out of space quickly if you back up multiple computers to the disk.

  • Using Windows 7 as a file server:

    Hello All,
    I am pretty new to networking, and have no experience with Mac Server, but a little bit with Windows server. I have a Windows PC at home, that I am using as a file server for my mac and other PC's. I have been able to get everything to see each other and talk to each other successfully, however, there is one item that is bothering me.
    In my Login Options, the Network Account Server says it's not responding.
    Although I can view and save files on my network shares I don't understand why I get this status message.
    Thanks in advance.

    Hiya.
    Well, you've posted in the 10.6 Server forum and your question doesn't apply to Mac OS X server at all.
    In terms of the Directory Server setting you're seeing, leave it be
    There's no need for doing anything there.
    That is intended for binding to a directory service which your Windows 7 machine is NOT running.
    There's no Active Directory service running on your Win 7 machine, and without it (AD as Microsoft's directory service), you're not going to bind your Mac OS X workstation to it.
    You might enjoy reading about the following, which are services and setup(s) that do not apply and are not available with the versions of Windows and Mac OS X that you're using:
    http://www.apple.com/server/macosx/resources/documentation.html
    In particular,
    http://images.apple.com/server/macosx/docs/OpenDirectory_Adminv10.6.pdf
    and
    http://images.apple.com/server/macosx/docs/UserManagementv10.6.pdf

  • Using Time Capsule as a File Server

    In my current set-up, I need to use my 3TB Time Capsule as a router, time machine destination for a couple of Macs and as file server (about 1TB in size).
    The file server files will not be on any of the Macs so need to be backed up separately to a 1TB USB drive.
    Apple has confirmed that the TC can be partitioned easily and, although unsupported, you can use third party apps to back up the file server to an external drive.
    Does anyone have any real experience of doing this?
    I have the option to us e a different router and to sort the time machine back-ups without needing the TC which means the TC would be used only as a file server.  Would you recommend another product to the TC if you only needed a home file server?
    Any help much appreciated!

    To answer your question, yes but I would not use two Time Capsules. Just purchase one Time Capsule and then one external hard drive (cheaper than a Time Capsule) and connect the hard drive to the Time Capsule via USB. You can use the Airport Utility to archive the contents of your Time Capsule to the external hard drive using the Archive feature (http://support.apple.com/kb/HT1281).
    In fact, it may be worth buying two external hard drives so you can keep one offsite in case of disaster, theft, etc. You then rotate the external hard drives weekly (or whatever you choose) so you always have a current backup offsite.

  • Using PM 400 gigabit as file server

    Does it make any sense to use the PM 400Mhz Gigabit ethernet as a network file server (by adding a SATA card and drives) or am I better off buying an external firewire hard drive?
    I'm looking mainly for speedy backups, but having an OSX file server in the office would be nice.
    Also, could I trick this mac into booting Leopard?

    no one ever answered, so mac gone out the door.

  • How to allow access from LAN to server on LAN using external FQDN? (Outlook web access issue)

    I may have phrased the topic not too clearly, but I have an external domain name of mail.company.com , I want my users INSIDE the company be able to also get to https://mail.company.com , currently they cannot (nothing loads, looks to me as if firewall simply drops it) and I'm drawing a blank on how to get this done. Externally this works fine so if you're outside the company you can load up OWA just fine since my NAT rule translates the external IP to internal IP, but something is blocking this from the inside.
    I have an ASA 5510.
    If you can just sent me on the right path with theory I'll figure it out on my own, I don't need exact steps, but I must be thinking of this wrong as I'm not getting anywhere.

    Hello Martin,
    Maybe what is happening is that the DNS entry is pointing to the public IP address of the server, so it could be that the internal users are forwarding the traffic to the public IP address of the server and the ASA will drop the packet since the hosts are going to try to contact the server from the inside when actually there is a NAT rule that translate the internal server on the outside with a public IP. The traffic will try to contact that server going to the outside interface, but the ASA will notice that the connection was initiated on the inside interface, so it will refuse the connection.
    There is a solution for this issue. You can create a static NAT rule that matches le that translate the internal host to the public IP address, in this case, instead of -inside,outside-, the rule is going to be -inside,inside-.
    For example:
    Let`s say that there is a static NAT that match the following statement for the inbound traffic coming on the outside:
    static (inside,outside) {public IP} {private IP}
    There should be one that says the same but with inside,inside:
    static (inside,inside) {public IP} {private IP}
    Please configure that rule and let me know the results.
    Thanks.
    --Armando Rojas

Maybe you are looking for

  • How can I display error if the input is not a number?

    I thought I knew how, but I am not sure on what is what in the ASCII character list. I need check for errors if the user inputs anything except a positive integer. How could I do that? I had something like this: int number;      if ((number<0)||(numb

  • License Determination

    Hi, I have just started working in SAP GTS Can you please tell me that how License Determination is done for a material? I am getting this error while creating Delivery in ECC that license determination is not done in GTS. Thanks Neha

  • Add a database then import

    Hi, im fairly new in oracle 9i and im using the Enterprise manager now. How do i add a new database then import data from an MS SQL or access mdb file the data? thanks in advance.

  • Not receiving my iMessages from my phone to my ipad

    Why doesn't my phone number appear as an option on my iMessage

  • Sql Queries - adding calculated variables to views

    Hello: I'm trying to do add a calculated variable to my view that isn't an Entity Attribute, its simple really but i don't know if I'm leaving something out or not. I add the "new Attribute" , call it nCompleted, type - number I then check off everyt