In Windows 2003, I mapped a network drive G:. In ASP Net, there is a code snippet:
Dim a, b as boolean
Dim objDOM as new XmlDocument
a = System.IO.File.Exists("C:\LocalFolders\SomeFiles.xml")
b = System.IO.File.Exists("G:\NetFolders\SomeFiles.xml")
objDOM.load("G:\NetFolders\SomeFiles.xml")
C: is the local hard drive. Variable 'a' returns 'true' and variable 'b' returns
'false'. This is run under IIS. ASP .Net worker process is impersonated under
'myPowerUser', which is member of Power Users group.
If I create a small windows application and copy/paste the same code snippet and run,
of course, under my windows logon account, which is member of Administrators. Then,
Variable 'a' returns 'true' and variable 'b' returns 'true'.
However, if I assign 'myPowerUser' to be member of Administrators, it still does not
work.
The whole thing works on the another Windows 2000 server, but not this Windows 2003
server. Does anyone know what is going on? Thanks.
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/