« One very Syllabus for all sect | Main | Late DaysSyllabus for all sect »

January 26, 2006

Project 1Syllabus for all sect

Please note that if you are working with a machine in one of the labs and using a network drive for your data and the project, that you will probably encounter a SecurityException and see the dialogs shown below. .net is configured to have less trust for programs on the network. The appropriate fix is to copy the code and data to the local drive and do the work there.

securityissue.jpg

Posted by ringger at January 26, 2006 09:54 PM

Comments

Did you find a related microsoft support article on this at all? I'd love to be able to remove the problem and push out a clean image. I'll be looking into this.

Adam (adam at cs.byu.edu)

Posted by: drfindley [TypeKey Profile Page] at January 26, 2006 10:13 PM

This SecurityException results as a product of Code Access Security in .NET. It's .NET's version of the Java sandbox. Learn all about it at this great CodeProject article.



There are a few ways of fixing this problem. The easiest is probably to add the F:\ to Internet Explorer's list of trusted sites. That will automatically get .NET to recognize it as a safe zone and provide elevated privileges to programs running from off that location. IE -> Tools, Options -> Security -> Trusted Sites -> Sites -> Add "file:///f:/" to the list.



Another way is to go into Microsoft .NET Framework 2.0 Configuration under Administrative Tools and create a new Code Zone that includes everything in the F: ("file://f:/*"). Then give that code zone a larger permission set. If all your Windows boxes are on a single Active Directory, you should be able to make this change in the Enterprise level and have it propagate automatically to all the computers, without re-imaging them all.

Posted by: Andrew Arnott [TypeKey Profile Page] at January 27, 2006 06:56 AM

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?