Share via

Issue with SetNamedSecurityInfo Returning Error Code 59 on Shared File

Anonymous
2024-09-27T10:21:54+00:00

Hello,

I am encountering an issue with the SetNamedSecurityInfo API while attempting to modify the security settings of shared files. I have five shared files, and the API works as expected on four of them. However, for one specific shared file, the API returns error code 59 (ERROR_UNEXP_NET_ERR: An unexpected network error occurred), even though the file is fully accessible via the Microsoft Management Console (MMC).

Could you please advise on why this specific file would trigger error 59 in SetNamedSecurityInfo while being accessible through MMC, and how I can resolve this issue?

***moved from Windows / Other/Unknown / Programs***

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2024-09-30T08:29:25+00:00

Hello Rishi C,

thank you for posting on the Microsoft Community Forums.

Based on the description, I understand that your issue is related to API.

Since there are no engineers dedicated to API in this forum. In order to be able to deal with your questions quickly and efficiently, I recommend that you repost your questions in the Q&A forum, where there will be a dedicated engineer to provide you with a professional and effective response.

Here is a link to the Q&A forum: https://learn.microsoft.com/en-us/answers/questions/

Have a nice day.

Best regards,

Zunhui

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2024-09-30T09:07:25+00:00

    Zunhui, Thanks for the information.

    Was this answer helpful?

    0 comments No comments