Home All Groups Group Topic Archive Search About

Unable to copy file to a shared path on remote server

Author
28 Nov 2007 7:47 AM
ashish vasudev
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

Author
28 Nov 2007 2:46 PM
coolCoder
On Nov 28, 12:47 pm, ashish vasudev
<ashishvasu***@discussions.microsoft.com> wrote:
Show quote
> 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.
Author
29 Nov 2007 4:18 AM
ashish vasudev
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


Show quote
"coolCoder" wrote:

> On Nov 28, 12:47 pm, ashish vasudev
> <ashishvasu***@discussions.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.
>

AddThis Social Bookmark Button