Operating system error code 5(failed to retrieve text for this error. Reason: 15105).

Rabia Kurnaz 386 Reputation points
2022-08-18T11:28:49.3+00:00

Operating system error code 5(failed to retrieve text for this error. Reason: 15105). how do I fix it??

SQL Server Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Bjoern Peters 8,921 Reputation points
    2022-08-18T14:05:55.063+00:00

    Maybe you should give us more information on your environment and what your are trying to do?

    Do you try to start your SQL Server and it stuck as it cant access the datafiles?
    Do you try to import a CSV/JSON into your SQL and can't read the file?
    What kind of SQL Server?
    Who is executing it? Is it a manual TSQL, powershell or an Agent job?

    There are so many variables in this question, in order to answer adequate we need more information.

    1 person found this answer helpful.
    0 comments No comments

  2. Tom Phillips 17,771 Reputation points
    2022-08-18T17:48:31.7+00:00

    Error 5 is access denied.

    1 person found this answer helpful.
    0 comments No comments

  3. YufeiShao-msft 7,146 Reputation points
    2022-08-19T06:01:00.237+00:00

    Hi @Rabia Kurnaz ,

    What operation did you encounter this issue while performing? The useful information you provided is too little, you need to add your information more clearly.

    Error 5 is Access is denied, so now is a suggestion, if your operation is involved, you should check if specify the file exactly with the file name and extension, or you do not have enough permissions to the file/directory, it may need you add the SQL account on the file folders

    -------------

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.