We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

VBA Question

InfoTeam
InfoTeam asked
on
Medium Priority
306 Views
Last Modified: 2013-11-25
I'm trying to run this code to lookup email address from an LDAP server based on an employee id (gpid).  I'm getting the following error when I run this code: "There is already an open DataReader associated with this Command which must be closed first."  

It does progress when I add a second connection but then when it loops through a 3rd time it gives the same error.  Thanks for the help.
 Default.aspx.vb
Comment
Watch Question

Software Engineer
CERTIFIED EXPERT
Top Expert 2011
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.