D
David Li
Hi all,
I was trying to read/write to a file under the ASP.NET web application's
root directory. After some configurations, e.g. Enabling 'Impersonate',
Assigning correct pemissions to ASPNET accounts for this file, the program
ran very well. However when I put it on another server, it appears the
system is trying to locate the file under "C:\Winnt\System32" and I got
"Unauthorized Exception". This file IS under the web application root
directory, and I tried to put "~/" or "./" before the file name, it didn't
work either! Any ideas? Thank you in advance!!!
David
I was trying to read/write to a file under the ASP.NET web application's
root directory. After some configurations, e.g. Enabling 'Impersonate',
Assigning correct pemissions to ASPNET accounts for this file, the program
ran very well. However when I put it on another server, it appears the
system is trying to locate the file under "C:\Winnt\System32" and I got
"Unauthorized Exception". This file IS under the web application root
directory, and I tried to put "~/" or "./" before the file name, it didn't
work either! Any ideas? Thank you in advance!!!
David