Print Page | Close Window

All DSN connection Information

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=10307
Printed Date: 28 March 2026 at 7:50pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: All DSN connection Information
Posted By: meteor
Subject: All DSN connection Information
Date Posted: 05 May 2004 at 3:14pm

Hi All
With This Little Script You Can See All Information About Your DSN Connection. only Change the DSN Name And if exist username and pass word and See Resault


<%
Set AdoCon = Server.CreateObject("ADODB.Connection")
AdoCon.Open "DSN NAME",username,Password

For Each Obj in AdoCon.Properties
        response.Write Obj.Name & " : " & Obj.Value & "<BR>"
Next

AdoCon.close
Set AdoCon = Nothing

%>

 



-------------
Sincerely
--------------------
http://www.TacPlusPlus.com - PowerFull Scripts For NTTacPlus



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net