C
cmrchs
Hi,
executing the following on a local drive works fine :
FileStream wLog = File.OpenRead("c:\Log.txt")
FileStream wLog = File.OpenRead("h:\Log.txt")
but executing the same code on a network drive creates a FileIOPermission-exception.
although the user has full control on the drive where the application is running.
Actually, any IO-statement creates an exception ???
Is it some kind of .NET permission that must be set or something else ?
any help greatly appreciated !!
thanks
Chris
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
executing the following on a local drive works fine :
FileStream wLog = File.OpenRead("c:\Log.txt")
FileStream wLog = File.OpenRead("h:\Log.txt")
but executing the same code on a network drive creates a FileIOPermission-exception.
although the user has full control on the drive where the application is running.
Actually, any IO-statement creates an exception ???
Is it some kind of .NET permission that must be set or something else ?
any help greatly appreciated !!
thanks
Chris
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...