Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP.NET and drive mappings

Reply
Thread Tools

ASP.NET and drive mappings

 
 
AA
Guest
Posts: n/a
 
      11-10-2003
I want to copy a file from within an ASP.NET page using
File.Copy(file1,file2). Both file1 and file2 are given in UNC
notation, like "\\MACHINE1\c$\xyz\file.txt". The ASP.NET page
impersonates a user that has access to those files. I get an error
stating that the file does not exist. If I try from within a windows
app I have no problem. I think the problem is that aspnet_wp.exe runs
under ASPNET's identity.
Can you give me further help?
Thx,
Alejandro
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASA 5510 with 8.2(1) drive mappings work, then fail on LAN connections Infosys2008 Cisco 1 07-19-2011 03:36 AM
Application Mappings and IIS Mutley ASP .Net 0 02-06-2006 01:00 PM
Redirects with ASP.NET 2.0 and wildcard mappings SlimFlem ASP .Net 7 12-22-2005 09:26 PM
W98 PC's Dropping Drive Mappings. oh ee NZ Computing 2 05-24-2005 03:28 AM
Lexar Card Reader Drive Mappings conflict with Network Mappings Eric Digital Photography 5 01-16-2004 05:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57