> I have a NTD application running over the web with Full Trust. I have > no problem accessing the configuration file using the > ConfigurationSetting class. However, when I attempt to access it > using > > private static TraceSwitch _moduleTrace = new > TraceSwitch("ModuleTraceSwitch", "Production Module Trace Switch"); > > I receive the error message > System.Reflection.TargetInvocationException --> > System.Security.SecurityException: Requires for the permission of > type System.Security.Permissions.FileIOPermission. > > Any suggestions on how I'd resolve this would be greatly appreciated. > > Thanks, > > Aaron > > > > > This message is a private communication. It may contain information that is confidential and legally protected from disclosure. If you are not an intended recipient, please do not read, copy or use this message or any attachments, and do not disclose them to others. Please notify the sender of the delivery error by replying to this message, and then delete it and any attachments from your system. Thank you, Solucient LLC (rev eXclaimer 2x)
=================================== This list is hosted by DevelopMentorŪ http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com