469,571 Members | 1,696 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,571 developers. It's quick & easy.

ASP.NET Code Impersonation - accessing NAS from W2K

Hi,

We have a Windows Server 2000 (SP4) as web server and are trying to upload
documents to a NAS using code impersonation, following the sample as can be
found at: http://support.microsoft.com/default...b;EN-US;306158 .

ACL's are correctly set, and the domain account credentials we use are
correct as well. The ASP.NET app works fine on Windows 2003 (tested on two
W2K3 boxes). On Windows 2000 however (also tested on two boxes),
impersonation fails miserably.

On Windows 2000, it always fails with the following Win32 API error message:
"The specified procedure could not be found."

Subsequent calls (after web app startup) result in either one of two Win32
API error messages:

"Overlapped I/O operation is in progress."

Or

"The system cannot find the file specified."

The directory to upload to has been added as virtual directory with the path
to the NAS and the right credentials. ASPNET account has privileges 'Act as
part of OS'.

Any idea why this is working fine on Windows 2003, but not on Windows 2000?

Thanks,
Wim Hollebrandse
Nov 18 '05 #1
0 905

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Craig Neuwirt | last post: by
1 post views Thread by Itai Raz | last post: by
4 posts views Thread by Sheldon Penner | last post: by
11 posts views Thread by Phil | last post: by
2 posts views Thread by jeremiah johnson | last post: by
4 posts views Thread by =?Utf-8?B?QXZhRGV2?= | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.