Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Security / November 2007

Tip: Looking for answers? Try searching our database.

Unable to copy file to a shared path on remote server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ashish vasudev - 28 Nov 2007 07:47 GMT
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 ?

Signature

Thanks
ashish

coolCoder - 28 Nov 2007 14:46 GMT
On Nov 28, 12:47 pm, ashish vasudev
<ashishvasu...@discussions.microsoft.com> wrote:
> Hi all
>
[quoted text clipped - 13 lines]
> 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.
ashish vasudev - 29 Nov 2007 04:18 GMT
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.

Signature

Thanks
ashish

> On Nov 28, 12:47 pm, ashish vasudev
> <ashishvasu...@discussions.microsoft.com> wrote:
[quoted text clipped - 30 lines]
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> If you find this post helpful, please rate it.
coolCoder - 30 Nov 2007 11:09 GMT
On Nov 29, 9:18 am, ashish vasudev
<ashishvasu...@discussions.microsoft.com> wrote:
> Hi
>
[quoted text clipped - 41 lines]
> > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> > If you find this post helpful, please rate it.

May be you can try giving ASP. NET account full control and also
IIS_WGM (just check the name once)

the second account - IIS_WGM is only available on Windows 2003 Server
operating systems.
coolCoder - 30 Nov 2007 11:09 GMT
On Nov 29, 9:18 am, ashish vasudev
<ashishvasu...@discussions.microsoft.com> wrote:
> Hi
>
[quoted text clipped - 41 lines]
> > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> > If you find this post helpful, please rate it.

May be you can try giving ASP. NET account full control and also
IIS_WGM (just check the name once)

the second account - IIS_WGM is only available on Windows 2003 Server
operating systems.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.