System.UnauthorizedAccessException running Nunit

"Curt Paulson" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <000001c88ac9$bdf3cbf0$9e0200c0@rebuild2>
 
Hello All,
 
I'm working on a system that was written/tested using Nunit. When I try
to run the test defined, I get a:
 
"XmlTransformTests.Transform : System.UnauthorizedAccessException :
Access to the path 'E:\Projects' is denied."
 
In Errors and Failures, it says:
 
   at System.IO.__Error.WinIOError(Int32 errorCode, String
maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32
bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String
msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader..ctor(String path, Encoding encoding,
Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Encoding encoding)
   at System.IO.File.ReadAllLines(String path, Encoding encoding)
   at XmlTransformTests.XmlTransformTests.Transform() in
E:\Projects\...\XmlTransformTests.cs:line 59
 
Needless to say, reading and writing to the directories for all other
programs is not a problem.
 
We have set every sharing flag and given everyone permission virtually
everywhere we could find, and the directories remain 'read only' when
looking at 'properties' When they are re-set, they revert Immediately
back to 'read only'. We are guessing that there might be a firewall
problem that we haven't yet found. Has anyone had this kind of problem
before, and solved the issue? 
 
Thanks in advance,
 
Curt

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.