Citrix will open MS Access but not the .accdb database I need displayed

Posted on 2014-08-07
Last Modified: 2014-09-10
Hello, I have a Access database on a file share (non citrix) and am trying to publish it for my citrix users.
My terminal server(Citrix) has MS Access installed so publishing that is no issue.  I would like to publish the app so it opens the database on the file share, so far no luck.  The path I'm using in the Citrix location is;
"E:\Program Files (x86)\Microsoft Office\Office14\MSACCESS.EXE" "\\\Data\Testdb.Accdb\"
Access opens and from access I can then open the database but this will be confusing for my users.

Thanks for your help
Question by:1212pro
    LVL 33

    Expert Comment

    You don't want to set this up this way.  What you are doing is having ALL CItrix users open the same physical copy of the FE.  That violates good practice.  You always want each user to have his own copy of the FE and open that.

    I can't give you specific instructions on how to do this with Citrix since I don't set it up myself but you have to make Citrix work the same way you would with a LAN.  Citrix must copy the current version of the FE to a user-specific folder and then open it from there.  You can do this either by copying the file every time the user attempts to open it or by copying it to each user's personal folder each time you publish a new FE.

    Author Comment

    Hi Pat,
    I like the first suggestion.  How can have it copy an instance of the FE to the user home dirive when they attempt to open it?  Would that instance go away when the user logs off the database (or published app)?

    LVL 33

    Assisted Solution

    This is the .bat file I used to do the copy in the LAN environment.  The user has a shortcut that runs the batch file.  The batch file copies the latest copy of the database down from the server.

    md c:\ClientMgt
    del c:\ClientMgt\AOAClientManagement.accdr
    copy \\newfiscal\Afox\AFox\AccessApplications\ClientMgt\AOAClientManagement.accdr c:\ClientMgt

    You will need to adjust the .bat file to use tokens that represent the name of the user's personal folder.  Please check with your Citrix administrator for specifics.
    LVL 48

    Accepted Solution

    I have set this up. It is described in detail here:

    The script, I used, happened to be VB Script and can be found here:


    Author Closing Comment

    Thank you for your help on this
    LVL 48

    Expert Comment

    by:Gustav Brock
    You are welcome!


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Citrix XenDesktop 7.6 Citrix Policies Graphics
    The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now