Hi Curt
thanks for ur reply
Here is the code
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----
<%@ Language=VBScript %>
<%Option explicit%>
<%
Dim Intra
Dim Login, pass
Dim stringSQL, results
Session("UserLoggedIn") = FALSE
Application("Conn") = "IT_Report"
Application("Usr") = ""
Application("Pwd") = ""
Set Intra = Server.CreateObject("ADODB.Connection")
Intra.Open Application("Conn"),Application("Usr"),Application ("Pwd")
..
..
..
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:O6****************@tk2msftngp13.phx.gbl...
what was the error?
Sounds like you misnamed the DSN to me. Try not using a DSN though,
declare your conn string in your ASA or in the page.
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Ice Man" <eh***@hotmail.com> wrote in message
news:Op**************@TK2MSFTNGP10.phx.gbl... Hi all
I created a DSN called IT_REPORT which points to an access database
then I tried using asp code to open connection to it but the server gave
me error
when I changed the name to ITREPORT it worked fine
I have a personal laptop running windows 2000
what might be the problem?
Thanks in advance