KP:
A simple try / catch will trap this error. Not sure exactly what you are
trying to do, but a try / catch will work. It also will allow you to trap
any error that might occur.
try
{
}
catch (Exception e)
{
}
HTH
Andy
_____
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
<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/
<http://groups.yahoo.com/group/active-server-pages/>
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
* 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/