Linked Server to MS Access mdb file and exclusivity??

I've got an SQL database running on SQL Server 2008.  From this server, I have a linked server to an Access database (access 2003).
In my database I have a stored procedure that I want to query the access database (linked server) and insert / update some rows in one of my SQL tables.
The linked server is setup without an ODBC DSN (though, I have tried it with one and still get the same results). 
When I run the stored procedure RDP'd onto the sql server, it runs without issue.  When I run the stored procedure from management studio from my machine, I get "It is already opened exclusively by another user, or you need permission to view its
data"
Unfortunately, this access mdb file is pulled from all over our organizatoin - a sin from a long time ago - but I do know that in both instances, the file is still in use by others.
My SQL Server and file server where the MDB file exists are both a member of the same domain.  Also, the account the SQL Service runs under is a domain account as well.  
Does this make any sense?
Thanks
sb

Hi kumar,
According to your description, when you create an linked server in SQL Server 64 bit to connect to the Access database 32bit , usually, the error 7399 and 7350 will occur. As other post, you need to install SQL Server 32bit. Or you can uninstall 32bit office
products and install 64bit Microsoft Access Database Engine. For creating Linked Server, if you run on a 64bit environment we need to download
Microsoft Access Database Engine 2010 Redistributable from Microsoft and install suitable version of software on the machine.
For more information, see:
http://calyansql.blogspot.jp/2013/02/fix-cannot-initialize-data-source.html
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support

Similar Messages

  • Auditing failed access to files and folders in Windows Storage Server 2008 R2

    Hello,
    I've been trying to figure out why I cannot audit the failed access to files and folders on my server.  I'm trying to replace a unix-based NAS with a Windows Storage Server 2008 R2 solution so I can use my current audit tools (the 'nix NAS
    has basically none).  I'm looking for a solution for a small remote office with 5-10 users and am looking at Windows Storage Server 2008 R2 (no props yet, but on a Buffalo appliance).  I specifically need to audit the failure of a user to access
    folders and files they are not supposed to view, but on this appliance it never shows.  I have:
    Enabled audit Object access for File system, File share and Detailed file share
    Set the security of the top-level share to everyone full control
    Used NTFS file permissions to set who can/cannot see particular folders
    On those folders (and letting those permissions flow down) I've set the auditing tab to "Fail - Everyone - Full Control - This folder, subfolders and files"
    On the audit log I only see "Audit Success" messages for items like "A network share object was checked to see whether client can be granted desired access (Event 5145) - but never a failure audit (because this user was not allowed access by NTFS permissions).
    I've done this successfully with Windows Server 2008 R2 x64 w/SP1 and am wondering if anybody has tried this with the Windows Storage Server version (with success of course).  My customer wants an inexpensive "appliance" and I thought this new
    variant of 2008 was the ticket, but I can't if it won't provide this audit.
    Any thoughts? Any of you have luck with this?  I am (due to the fact I bought this appliance out of my own pocket) using the WSS "Workgroup" flavor and am wondering if this feature has been stripped from the workgroup edition of WSS.
    TIA,
    --Jeffrey

    Hi Jeffrey,
    The steps to setup Audit on a WSS system should be the same as a standard version of Windows Server. So please redo the steps listed below to see if issue still exists:
    Enabling file auditing is a 2-step process.
    [1] Configure "audit object access" in AD Group Policy or on the server's local GPO. This setting is located under Computer Configuration-->Windows Settings-->Security Settings-->Local Policies-->Audit Policies. Enable success/failure auditing
    for "Audit object access."
    [2] Configure an audit entry on the specific folder(s) that you wish to audit. Right-click on the folder-->Properties-->Advanced. From the Auditing tab, click Add, then enter the users/groups whom you wish to audit and what actions you wish to audit
    - auditing Full Control will create an audit entry every time anyone opens/changes/closes/deletes a file, or you can just audit for Delete operations.
    A similar thread:
    http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/da689e43-d51d-4005-bc48-26d3c387e859
    TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected]

  • There was a problem connecting to the server "my server.local" this file is available on your computer. Access the files and volumes locally.

    Hi,
    I have a strange problem connecting one of the office laptops (Macbook Pro 10.7) to the disk in the Apple Time Capsule.  It's just one laptop that has this problem and the other 3 no problems at all and they all run OS X 10.7 Lion, I can access the Time Capsule disk over WAN on all machines but locally on the problem machine i get this message "There was a problem connecting to the server "myserver.local" this file is available on your computer. Access the files and volumes locally."   Now from this message it sounds like the problem laptop thinks the network drive (Time Capsule) is the same as it's self in the way of name or address however they clearly have different IP addresses locally.   
    Any ideas on this would be apreciated as I can only think a clean install but don't want to do this if not necessary.
    Thanks
    Jarrah

    I think I gave you some bad info in the above, where i enterered the text "myserver.local" & "example.local" this was the host name of the server (Time Capsule) so not local on the computer.
    No i didn't try your method, I'll give it a go - I thought the folder option was for local files and not on a server ?

  • How to convert the MS access *.mdb files to Linux oracle?

    Dear all,
    I got a MS Access *.mdb file which has several tables inside
    it. We will like to convert this file into our new oracle
    database of Linux. How should I do to accomplish the converting
    task?
    null

    A third way to convert Access to Oracle is to setup ODBC on the
    client PC which has the access databases.
    Start Access and open the database to the Table view.
    For each table:
    Chose File -> Save As/Export... -> External File or DB -> ODBC
    Enter the table name for the table in Oracle (case used to be a
    problem -- you may have to try uppercase or lowercase)
    Choose the Oracle ODBC driver and login to the Oracle DB.
    Should show you a progress bar while the data goes in.
    You can get the client side Oracle stuff by downloading a trial
    NT server or some other trail software. ODBC drivers are free.
    As I understand it, the Access migration assistant will bring
    across more than just the tables.
    You should probably bring across the data into some temporary
    tables first, then create your real tables and copy across the
    data. That way you can fix things that were broken in the Access
    version.
    Cheers,
    Colin
    null

  • Windows 7 computers asking for network password to access shared files and printers on Windows XP PRO computer.

    I have a network of 10 computers configured as peer-to-peer work group. I have upgraded one of the ten from Windows XP PRO to Windows 7 PRO. The other nine computers are all running XP PRO. AS near as I can tell they are all configured the same. I have the
    same user and same passwords on all computers. One of XP computers is used as a print server. The Windows 7 computer initially was able to access shared files and printers on all XP machines with out requesting a network password.
    Suddenly, the Win 7 computer began requesting a network password to access the shared files and printers on the XP print server. It will not accept any of the user names or passwords (all administrators on both machines with identical names and passwords.)
    The Win 7 computer has no problem accessing the shared files on the other XP machines. It can even access shared printers in a different work group. Apparently something has changed but I'm at my wits end trying to figure what changed on either the Windows
    7 machine or the print server XP machine.
    I would appreciate any help. Thank you

    Hi,
    Based on my research, I would like to suggest the following:
    1.   
    Disable simple file sharing on the Windows XP computer:
    How to disable simple file sharing and how to set
    permissions on a shared folder in Windows XP
    2.   
    On the Windows 7 computer, go to “Control Panel\All Control Panel Items\Network and Sharing Center\Advanced sharing settings” and ensure that the
    following items are turned ON:
    Network Discovery
    File and printer sharing
    And this one is OFF:
    Password protected sharing
    3.   
    Temporarily disable or remove all the security software (firewall, anti-virus, anti-spyware, etc.) on the computers and check if it works.
    In addition,
    I would like to share the following with you for your reference:
    Troubleshoot file and printer
    sharing
    Hope this helps. Thanks.
    Nicholas Li - MSFT

  • Accessing a file and reading its contents.

    Hi all,
    I created a Portal Application to access a file and display its contents in an iView .
    But it showing the exception like "File Not Found".
    In simple java application i could able to get the result. In portal application i couldn't .
    I have given the full path of the file location.
    I need a help regarding this?
    Regards,
    Eben

    IS the file on the portal server? It must be visible to the service user that runs the Java engine...

  • How can I export the query result into access(*.mdb) file?

    Dear all:
    I want to export the query result displayed in jsp into excel file
    and access file. And I have exported the result into excel format successfully, only one line should be added in the head of Jsp:
    <%@ page contentType="application/vnd.ms-excel; charset=gb2312" %>
    But how can I export it in access(*.mdb) file? I have replaced "excel"
    with "access". But it can't achive my goal.
    What should I do to achieve my goal?
    Thanks!

    The only reason your Excel export works is that Excel knows how to interpret comma separated values as an input file format. Access has no such beast.
    If you absolutely must provide info in an mdb, one solution would be to create an ODBC datasource pointing to an empty mdb, then push data into it using the jdbc:odbc bridge, then make a copy of the file and stream it down to the browser. You may run into some ugly file locking items here - set the ODBC connection so it is not shared, and that might help.
    This one is going to be ugly.
    I suppose another approach would be to write a simple VB applicatin that uses automation to create an MDB, then stream that file down to the browser from your servlet. That would almost certainly be faster than the ODBC approach.
    - K

  • I like the idea of auto back-up for my new iMac, Ipad and PC Netbook, particularly if I can access all files and data stored on any device.  But I have a Conceptronic router.  Will Time Capsule work with this and how?

    I like the idea of auto back-up for my new iMac, Ipad and PC Netbook, particularly if I can access all files and data stored on any device.  But I have a Conceptronic router.
    1. Will Time Capsule work with this and how?
    2. Can my printer USB be plugged in and then shared between the devices?
    3. Can I create a network and how?
    4.  What happend when a visitor logs onto my existing wireless router?
    I'm new to Macs (well a returning user having started with Mac Plus!!) and not very technical.  Any help / advice will be much appreciated.
    Ray

    The key to what you seem to want to do is to be able to get Apple's Time Capsule router to "join" the network that your Conceptronic router.  I believe that works with some third-party routers, but I've never seen a list of those that work in such a configuration and I have no experience with Conceptronic equipment.
    You might be better off with a Network-Attached Storage (NAS) device instead of a Time Capsule.

  • I'm about to transfer the contents of my existing HDD in my (dead PSU) iMac to another computer. I'm just wanting to know if and how I will be able to access my files and documents from the old hard drive once I've made the backup?

    I'm about to transfer the contents of my existing HDD in my (dead PSU) iMac to another computer. I'm just wanting to know if and how I will be able to access my files and documents from the old hard drive once I've made the backup?

    You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
    You need to get a new computer or a refurbished one.

  • Installed OS X Server, lost access to files and programs. Need to regain access but unsure how?

    I have just installed OS X Server. I have shut the Computer down overnight and on restart has removed my access, personal settings and access to all my programs and file. I have checked the size of the hard drive, it appears all files are still present? Under settings I am still listed as a administrator, I have accessed 'Applications' and opened OS X Server. My Access is still Administrator but I don't know how to return my profile to have access to all files and restor my desktop and settings.
    I someone could help that would be fabulous.

    Safe to presume you didn't make a cloned backup of your system prior to installing the software?
    At this point it is difficult to tell what original settings are left. Why not do the Time Machine restore?

  • How to change the path of an Access .mdb file @ runtime in Visual Studio 2012

    Hello,
      I'm hoping my question is simple enough to merit a quick answer.  I will lay out the details:
      I am writing a WindowsForms App in VB 2012.  I have a Crystal Report that points to an Access .mdb at design time in order to get the proper structure and layout correctly.
      However, during runtime, I need to point to a completely different .mdb file with the same identical structure.  How do I do this?  I've tried everything I could find on the net with no success and mostly because the answers are for C programmers.  I mean, I can pretty much decipher it, but have gotten zero results.
      Thank you for your time.
    -Mike

    ok. The code needs some small modifications.
    I gave it a quick try and here is the InProc RAS SDK code which works for me. Add the assembly references to the app for all those assemblies used in the 'imports' statements in the code.
    Imports CrystalDecisions.ReportAppServer.ClientDoc
    Imports CrystalDecisions.ReportAppServer.DataDefModel
    Imports CrystalDecisions.ReportAppServer.ReportDefModel
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Web
    Imports CrystalDecisions.Shared
    Partial Class _Default
        Inherits System.Web.UI.Page
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim ClientDoc As ISCDClientDocument
            Dim logonPb As New CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag()
            Dim table_Old As New CrystalDecisions.ReportAppServer.DataDefModel.Table()
            Dim table_New As New CrystalDecisions.ReportAppServer.DataDefModel.Table()
            'Open the report object to initialize the ReportClientDocument
            Dim rd As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
            rd.Load("C:\Users\Administrator\Desktop\Report1.rpt")
            ClientDoc = rd.ReportClientDocument()
            table_old = ClientDoc.Database.Tables(0)
            'Clone the original table in the report
            table_new = table_old.Clone(True)
            ' Get the connection information from the report document for the first table in the collection.
            logonPb = table_new.ConnectionInfo.Attributes("QE_LogonProperties")
    'set the path for new mdb
            logonPb.Item("Database Name") = "C:\Users\Administrator\Desktop\New folder\efashion1.mdb"
            ' Set a new table for the report, set the old table to the new one.
            ClientDoc.DatabaseController.SetTableLocation(table_old, table_new)
            'view the report
            CrystalReportViewer1.ReportSource = rd
        End Sub
    End Class
    Hope this clears the doubts

  • Read access mdb file in labview via ADO/DAO problem

    Hi guys,
    I am now facing one problem that I want to import ACCESS database (ver2000) files into labview and turn it into tables.
    but if I use ADO(actually using LABSQL) I have to create the ODBC in control panel, if I use DAO, I don't know how to call the activeX method.
    I would like to realize like this:
    choose in a directory which mdb file I would like to open, and then open it and show it in a labview table, but using AD0 I have to create connection for each file, does it stand a chance to open it without specify the connection in control panel?
    He Liang

    You can use a Connection String defined by you like this
    You can get the basic connection string by creating a UDL file and editing that file in Wordpad.
    Hope this helps
    David
    Message Edited by David Crawford on 11-27-2006 01:04 PM
    Attachments:
    Connection String.jpg ‏13 KB

  • Accessing client files and is there any a folder dialog

    The client will provide a directory path in a text box of the some UIX page. The application which is stored in the server has to access the all the files in that directory. What if that directory doesnt has the acess permission to the server.
    One more query:
    Like file dialog is there any component in the UIX to select a perticular folder/directoy
    Regards
    Pradeep

    Try spotlight.   If you have it, EasyFind is an excellent free app from the app store.  Just feed in the file names and all will be revealed.

  • Powershell script to search a network drive for .mdb files and export them to CSV file

    Hello all,
    I'm trying to search one of our network drives for old .mdb files, I want to write the name, location and date last modified to a csv file.
    Get-WmiObject -Class CIM_DataFile -Filter "Drive='S:' And Extension='mdb'
     AND ObjFile.drive
     AND objFile.FileName
     AND objFile.FileSize
     AND objFile.LastWriteTime" |
    Export-CSV c:\mdb_search\mdbfiles.csv\
    Obviously this isn't working or I wouldn't be posting.  I've tried many different examples from the net with no joy for now.
    Thanks for any help you can offer.

    Thanks, that did the job.
    Cheers, you're welcome.
    How do I get the powershell cursor to return to C:> ?
    Should I use "exit" or "break" ?
    Neither, the console will return to a prompt when the search has been completed.
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • Accessing CVS files and sorting

    Hi
    I'm working on a small program that will basicly allow me to access a cvs file of statistics and analyse it sorting it into the numbers that appear the most often.
    So far i have been able to create the GUI and the FileDialog function allowing the user to choose their cvs file and then its directory is displated in a text area.
    My question is: how do i get the program to access that particular file which has been selected and then begin sorting. Having looked into this i have the option of either choosing an ArrayList, Vectors or something called a 'StringTokenizer' which im not sure as to what it is.
    i would appreciate any help you can offer, as ive been banging my head against the computer all week trying to figour this out.
    Thanx

    Well, i think i've got that FileChooser thing down. At the click of a button you get a dialog box that opens allowing you to select whatever file you want from your computer.
    As for the array; which do you think would be more appropriate
    double [] lotto = new double [48];or
    double [] lotto = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
                   11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
                   21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
                   31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
                   41, 42, 43, 44, 45, 46, 47, 48, 49};The only processing i need to do is find out which of these numbers occurs the most through out that file. Its supposed to be a lottery result analysis program; with the use of a CSV file that contains all the results from previous draws i just need to get the program to select the file (which ive done with the FileChooser) and then searching through it finding the 6 most occuring numbers.
    Its supposed to get me a better understanding of number crunching and number storing.

Maybe you are looking for

  • Visual Studio 2013 slows down + crashes when using Source Control features.

    I have spent two full days trying to resolve this issue but no luck so here we go, I have created a project using Visual Studio Team Foundation Server plug-in in the past. Later on I switched to Microsoft Git Provider. Now when I connect to that proj

  • Imported swfs display different every time

    Hello - I have tried importing swfs, and each time it displays different when published. The first time, it resized and could be seen completely within the window. The second time, it did not resize so only the top left of the image could be seen. Th

  • Process of login with ADF security

    Hi, I was looking at how to implement the process of Login with the ADF security using JDev 11g and I feel very good... My question is if it is possible to use this tool in case of use a container as Tomcat 6.x or JBoss. If it is possible to use ADF

  • Satellite S855-S5264 not reading DVDs or CDs

    The computer will play Blu Rays but it will not read anything else from the optical drive.  I have uninstalled the driver, restarted the computer and still nothing.  I have also ran the Microsoft Fixit tool and it cannot repair the issue but suggests

  • How do you set up groups/folders on iphone 4s?

    I just recently got an iphone 4s and am just wondering how to set up folders/groups, like the existing one for utilities? do I do that on the phone, or do I have to set it up initially through the sync menu in itunes?