K
Kevin Jackson
I'm getting the following exception throw when trying to copy a file from a
network share to a local folder.
1. The process that is doing the copying is running under a user
sqa-powerway\PDP3AppStaging
2. This user sqa-powerway\PDP3AppStaging was granted full control to the
destination folder and SHOULD have the correct access rights
3. The user has full control to the share point (on both share and security
tabs)
4. The process that is doing the copying is a server DLLHOST COM+
application running under sqa-powerway\PDP3AppStaging
The problem isn't with the share, it's with the destination file.
We can copy from the folder to the share no problem, but we cannot copy from
the share to the local folder.
The filename is a GUID
This makes no sense whatsoever!!!
Here's the exception.
General Information
*********************************************
Additional Info:
ExceptionManager.MachineName: SQA-V3-WA01
ExceptionManager.TimeStamp: 3/15/2006 9:20:19 AM
ExceptionManager.FullName: Microsoft.ApplicationBlocks.ExceptionManagement,
Version=3.0.0.0, Culture=neutral, PublicKeyToken=3d0dc145a66e9e9a
ExceptionManager.AppDomainName: DefaultDomain
ExceptionManager.ThreadIdentity:
ExceptionManager.WindowsIdentity: SQA-POWERWAY\PDP3AppStaging
1) Exception Information
*********************************************
Exception Type: System.UnauthorizedAccessException
Message: Access to the path
"C:\WebDocStaging\Download\6dd31723-b671-44e3-8938-34d1aebfcd46" is denied.
TargetSite: Void WinIOError(Int32, System.String)
HelpLink: NULL
Source: mscorlib
StackTrace Information
*********************************************
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.File.InternalCopy(String sourceFileName, String
destFileName, Boolean overwrite)
at
Powerway.Service.DocumentManagement.MoveFileComponent.MoveFileFromStaging(String
sourceFileName, String destinationPath, String collisionFileName)
network share to a local folder.
1. The process that is doing the copying is running under a user
sqa-powerway\PDP3AppStaging
2. This user sqa-powerway\PDP3AppStaging was granted full control to the
destination folder and SHOULD have the correct access rights
3. The user has full control to the share point (on both share and security
tabs)
4. The process that is doing the copying is a server DLLHOST COM+
application running under sqa-powerway\PDP3AppStaging
The problem isn't with the share, it's with the destination file.
We can copy from the folder to the share no problem, but we cannot copy from
the share to the local folder.
The filename is a GUID
This makes no sense whatsoever!!!
Here's the exception.
General Information
*********************************************
Additional Info:
ExceptionManager.MachineName: SQA-V3-WA01
ExceptionManager.TimeStamp: 3/15/2006 9:20:19 AM
ExceptionManager.FullName: Microsoft.ApplicationBlocks.ExceptionManagement,
Version=3.0.0.0, Culture=neutral, PublicKeyToken=3d0dc145a66e9e9a
ExceptionManager.AppDomainName: DefaultDomain
ExceptionManager.ThreadIdentity:
ExceptionManager.WindowsIdentity: SQA-POWERWAY\PDP3AppStaging
1) Exception Information
*********************************************
Exception Type: System.UnauthorizedAccessException
Message: Access to the path
"C:\WebDocStaging\Download\6dd31723-b671-44e3-8938-34d1aebfcd46" is denied.
TargetSite: Void WinIOError(Int32, System.String)
HelpLink: NULL
Source: mscorlib
StackTrace Information
*********************************************
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.File.InternalCopy(String sourceFileName, String
destFileName, Boolean overwrite)
at
Powerway.Service.DocumentManagement.MoveFileComponent.MoveFileFromStaging(String
sourceFileName, String destinationPath, String collisionFileName)