RE: 0x80004005 - you need permission to view its data

From: Sophie Guo [MSFT] (v-sguo_at_online.microsoft.com)
Date: 09/22/05

  • Next message: Dan Guzman: "Re: dbo permissions"
    Date: Thu, 22 Sep 2005 02:30:24 GMT
    
    

    Hello Jeff,

    It is MSSQLsvc. I have tested the issue on my side and it works fine.
    When creating the Access linked server, make sure the data source using UNC
    path instead of mapped drive. On my side, the UNC path like this:
    \\envm-w2k3entsp1.test.com\sophie\northwind.mdb

    Error 7399 is a general error and many factors can cause the issue. I
    suggest that you perform the following steps to narrow down the issue:

    1. Make sure you can query data on the Access linked server locally on the
    the SQL server( Both SQL authentication and Windows Authentication work).

    2. Use SQL authentication to connect to the SQL server, then run select
    statement to query data on the Access linked server to make sure it works
    under SQL authentication. Please let me know the detailed results.

    When using Windows Authentication, client security will be impersonated.
    Does not matter the login is a sysadmin or not. OLEDB provider is created
    with security context of client user.

    When using SQL Authentication, no impersonation is done. OLEDB provider is
    created with security context of SQL Server.

    If SQL authentication doesn't work, skip the remainning steps and post
    here the exact error message. We need to make sure SQL authentication
    works before performing further troubleshooting.

    3. Define a new SQL linked server in SQL server 2000 on machine B. The
    linked server is installed on machine C. Make sure you can query data on
    the SQL linked server locally on the the SQL server(Both SQL authentication
    and Windows Authentication work).

    (User A)Machine A -----------> Machine B --------------> Machine C
                                                                (SQL server
    2000, (data source in shared folder, New SQL server
    instance)
                                                                    linked
    server)

    Use Windows authentication to connect to the SQL server, then run select
    statement to query data on the SQL linked server. If it works fine,
    Kerberos works fine.

    If Kerberos doesn't work, refer to the following articles to troubleshoot
    the issue:

    a.
    262177 How to enable Kerberos event logging
    (http://support.microsoft.com/kb/262177/)

    Enable Kerberos event log. Reproduce the issue and check the system log.

    b. Download the Kerbtray and verify Kerberos tickets from any of the
    associated computers that are being used.

    http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/kerbtray
    -o.asp

    4. Ping DNS from both the client machine and the SQL machine to make sure
    DNS settings and other networks settings are correct.

    I look forward to hearing from you.

    Sophie Guo
    Microsoft Online Partner Support

    Get Secure! - www.microsoft.com/security

    =====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.


  • Next message: Dan Guzman: "Re: dbo permissions"

    Relevant Pages

    • Linked Servers - Real Post
      ... I am running SQL 2k on Win 2k. ... a front end for our SQL database. ... added the linked server I want, and SQL queries it fine, ... leaving the "local server login to remote server login" ...
      (microsoft.public.sqlserver.programming)
    • Linked Server - Issue
      ... I have to access a Linked Server S2 (SQL 2000). ... In S1 I have setup a linked server using sp_addlinkedserver pointing to S2. ... Both MyAccount and SpecialAccount has access permissions to S2. ... Reason Not associated with a Trusted SQL ...
      (microsoft.public.sqlserver.programming)
    • OLE DB provider MSIDXS reported an error. Access denied.
      ... I've added a linked server to a development box. ... I ran the same command on my local Sql box. ... OLE DB error trace [OLE/DB Provider 'MSIDXS' ICommandPrepare::Prepare ... The development sql instance is running under a local system account. ...
      (microsoft.public.sqlserver.fulltext)
    • Re: Transfering only updated data (from as400 to SQL2000)
      ... Rifat, ... Create a linked server of the AS400. ... > will identify rows that require moving at ETL time. ... >> as400 to SQL. ...
      (microsoft.public.sqlserver.dts)
    • Re: Connecting to FoxPro data
      ... Since you want to "mix" the Fox tables with the SQL tables it sounds like ... Note that when you select data from a VFP linked server you need the three ... the data source string in the example is for a FoxPro DBC or "database ...
      (microsoft.public.sqlserver.connect)