KP, >From MSDN, using try/catch: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/h tml/vclrfTryStatementsS.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/h tml/vclrfTheTrycatchStatement.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/h tml/vclrfUsingCatchFinallyTogether_PG.asp And if you want to just cover all exceptions in your whole program: http://www.codeproject.com/dotnet/ExceptionHandling.asp HTH, Dave
-----Original Message----- From: kpraoasp [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 4:36 PM To: [email protected] Subject: [ASP] LDAP calls in .NET application Hi, I am testing an application using .NET and C#. I am getting a SsecurityEexception when i run this app. I am making LDAP calls to read from the active directory. Does anyone know how to trap this error? Thanks, KP --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [email protected] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- _____ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] ibe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . [Non-text portions of this message have been removed] --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [email protected] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> 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/
