I have created an ASP page to execute an LDAP query that works sometimes, but not all of the time. When it does not work, it returns "unspecified error" and references the line of code where the query is being executed (oConn.Execute). Within IIS, the page is configured to use only Basic Authentication and MDAC 2.8 is installed on the server.
After rebooting the server, the ASP page may work or it may not work...anybody's guess. Without modifying the ASP page at all and without changing any server settings, I can get it to work again either by repeatedly restarting the or rebooting countless times. Eventually it just starts working again.
I also recreated the ASP page as a .vbs script. The .vbs script always runs perfectly from server, even when the ASP page refuses to work.
Any ideas?
After rebooting the server, the ASP page may work or it may not work...anybody's guess. Without modifying the ASP page at all and without changing any server settings, I can get it to work again either by repeatedly restarting the or rebooting countless times. Eventually it just starts working again.
I also recreated the ASP page as a .vbs script. The .vbs script always runs perfectly from server, even when the ASP page refuses to work.
Any ideas?