From: "Eddie Kukiela"


Here is the source code:

<%@ Page Language="VBScript" Debug="true" %>
Dim Connection


Connection = Server.CreateObject("ADODB.Connection")
Connection.Open("DSN=master")

If Connection.Errors.Count = 0 Then
   Response.Write("Connected to DB okay")
End If
%>

The above code is ASP not ASP.NET.

Search the internet for ASP.NET database examples in VB.NET.

http://www.vbdotnetheaven.com/
http://www.vbdotnetheaven.com/Code/May2004/dbexplorer_vb.asp

Then try again with mod_aspdotnet.

By the way, Apache can run the above
code but not written like the above ASP
example.


You need to use CGI and Windows Scripting.

Learn to Script
http://www.microsoft.com/technet/scriptcenter/learnit.mspx

Find a Script
http://www.microsoft.com/technet/scriptcenter/findit.mspx

Jeff



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to