-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: NetBala
Message 1 in Discussion

Hi all,
 
 I  am Running a Windows Service  on XP Pro Machine which moves files from One Folder 
to Another using C# as code. This works fine when the Folders are on the Same Machine.
I have a Windows 2003 Server Running on the Network. I have a Folder with all the 
Perms in the server and I log in as Administrator.
 
When the Service tries to copy the file from local machine to a Machine on the 
Network, I get the following Error.
System.UnauthorizedAccessException: Access to the path "\\\\198.148.12.16\\File 
Room\\Corporate\\IT\\ToTest\\filewatcher.txt" is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean 
overwrite)   at FileMoverService.FileMover.CopyFile(String fileName, String SPath)

I have used File.Copy Method and 
\\\\192.168.2.6\\FileRoom has been Mapped to F: which i convert it to the Physical 
Path.
 
Its driving me crazy. anybody pls help
 
 
Bala
 
 
Access Hotmail from your mobile now. Click here. 

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to