We are provisionign Network share for our customers which involves creating directory, share and setting permissions for the share on a remote file server.
We have used the MPS SDK File System Provider API's for all the calls.
However when we call SetShareProperties on a share made on the remote machine we can see that the share comments are set on the remote share but for the permissions the API is looking for a local share with the same name. if one is present it sets the permissions
on that else fails with error code 2301.
This is a very wierd issue and seems like a bug in MS code for this API.
Has anyone faced such a similar issue, and if there is a workaround please help
AnupamaNair
0 Points
1 Post
SetShareProperties MPS SDK
May 10, 2010 08:25 AM|LINK
Hi,
We are provisionign Network share for our customers which involves creating directory, share and setting permissions for the share on a remote file server.
We have used the MPS SDK File System Provider API's for all the calls.
However when we call SetShareProperties on a share made on the remote machine we can see that the share comments are set on the remote share but for the permissions the API is looking for a local share with the same name. if one is present it sets the permissions on that else fails with error code 2301.
This is a very wierd issue and seems like a bug in MS code for this API.
Has anyone faced such a similar issue, and if there is a workaround please help
Thanks
MPS shareproperties
ashishghadi
Member
2 Points
1 Post
Re: SetShareProperties MPS SDK
May 11, 2010 10:55 AM|LINK
We are facing the same issue.Can Someone help?