![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all I am trying to copy file from a win2000 server to a shared directory on win2003 server using a COM component. I have used impersonation and it seems to work fine. But i am getting Access Denied error while copying file from the component. Although i can access the directory. I am using a user which has administrative rights to register the com component and this user is also granted full control on the directory. Can anybody figure out what could be the issue ? -- Thanks ashish |
#3
| |||
| |||
|
|
On Nov 28, 12:47 pm, ashish vasudev ashishvasu... (AT) discussions (DOT) microsoft.com> wrote: Hi all I am trying to copy file from a win2000 server to a shared directory on win2003 server using a COM component. I have used impersonation and it seems to work fine. But i am getting Access Denied error while copying file from the component. Although i can access the directory. I am using a user which has administrative rights to register the com component and this user is also granted full control on the directory. Can anybody figure out what could be the issue ? -- Thanks ashish Hi Ashish, At how many places you have granted full control on the shared folder ? If your File System is NTFS, then you must give full control at 2 places, one on the security tab itself and second using permissions button. You can find the tab and button on the properties page of the shared folder from the Win 2003 machine. Just check it once. Thanks, coolCoder. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ If you find this post helpful, please rate it. |
#4
| |||
| |||
|
|
Hi Thanks for the reply. I have checked permissions on both places. On the permissions button Everyone has been assigned Full control and on permissions tab the Administrators group is assigned Full Control and since the User i am using is a member of Administrators group it should inherit the permissions. -- Thanks ashish "coolCoder" wrote: On Nov 28, 12:47 pm, ashish vasudev ashishvasu... (AT) discussions (DOT) microsoft.com> wrote: Hi all I am trying to copy file from a win2000 server to a shared directory on win2003 server using a COM component. I have used impersonation and it seems to work fine. But i am getting Access Denied error while copying file from the component. Although i can access the directory. I am using a user which has administrative rights to register the com component and this user is also granted full control on the directory. Can anybody figure out what could be the issue ? -- Thanks ashish Hi Ashish, At how many places you have granted full control on the shared folder ? If your File System is NTFS, then you must give full control at 2 places, one on the security tab itself and second using permissions button. You can find the tab and button on the properties page of the shared folder from the Win 2003 machine. Just check it once. Thanks, coolCoder. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ If you find this post helpful, please rate it. |
#5
| |||
| |||
|
|
Hi Thanks for the reply. I have checked permissions on both places. On the permissions button Everyone has been assigned Full control and on permissions tab the Administrators group is assigned Full Control and since the User i am using is a member of Administrators group it should inherit the permissions. -- Thanks ashish "coolCoder" wrote: On Nov 28, 12:47 pm, ashish vasudev ashishvasu... (AT) discussions (DOT) microsoft.com> wrote: Hi all I am trying to copy file from a win2000 server to a shared directory on win2003 server using a COM component. I have used impersonation and it seems to work fine. But i am getting Access Denied error while copying file from the component. Although i can access the directory. I am using a user which has administrative rights to register the com component and this user is also granted full control on the directory. Can anybody figure out what could be the issue ? -- Thanks ashish Hi Ashish, At how many places you have granted full control on the shared folder ? If your File System is NTFS, then you must give full control at 2 places, one on the security tab itself and second using permissions button. You can find the tab and button on the properties page of the shared folder from the Win 2003 machine. Just check it once. Thanks, coolCoder. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ If you find this post helpful, please rate it. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |