• yogi123 (11/19/2012)


    Lowell (11/19/2012)


    yeah the error implies either the file or folder is spelled incorrectly, or the filename itself doesn't exist...extra underscore or anything like that a possibility in the name?

    i check the path many times. Its same as it is. I restore same backup file to another server and it works fine.

    I remotely logged into the server and try to access \\data-store-srv\rtibackups, but it don't allow me to access so I guess that's an issue. so may be i need permission to access to that folder right?

    yeah it could be permissions, but i thought the permissions returned error 5(Access denied), and you reported a different error number altoggether.

    check the service account that SQL is running under, and make sure it's a real account that would have access to network shares.

    Remember the service account rules are not all that intuitive; for anything access ed outside of SQL server, SQL Server uses either the account set up as the proxy account, or if that is left blank(the default) it uses account it starts with to try and access the resource:

    or if the above was blank, the account in services:

    That account is often an account which has never logged into the domain, and was never assigned permissions to get to the local disk or network share.

    As a result, you usually need to create a domain account in Active Directory, specifically grant it share access if it doesn't inherit it from Domain\Users or Domain\AuthenticatedUsers and change the account SQL Server starts with to that account.

    Once that is done, and you stop and start the SQL service to make it use that account instead of old running values, your remote shares would work.

    you can prove this is the issue by simply putting in your credentials, with your domain account and password, and confirm the external object you were trying to access/use works when SQL is run your credentials, so you'd know you need a domain account to access the resource.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!