Hi,
We're trying to implement a SQL Server 2000 back end website and are receiving the following error message during testing
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][Named Pipes]Access denied.
/inc_home_ticker.asp, line 10
To our knowledge, the ODBC connection is configured correctly with the correct SQL Server login info but still no connection is possible.
The code for the .asp page is as follows:
The ODBC connection is configured as follows:
Can anyone suggest a fix for this as i have zero SQL DB/Web knowledge.
Thanks in advance.
Leigh Moore
Business Systems Manager
Vets4Pets Veterinary Group
We're trying to implement a SQL Server 2000 back end website and are receiving the following error message during testing
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][Named Pipes]Access denied.
/inc_home_ticker.asp, line 10
To our knowledge, the ODBC connection is configured correctly with the correct SQL Server login info but still no connection is possible.
The code for the .asp page is as follows:
Code:
<%
Dim rsTicker, DD, MM, YY, today
DD = Left(Now,2)
MM = Mid(Now,4 ,2)
YY = Mid(Now,7, 4)
strToday = (MM & "/" & DD & "/" & YY)
'Response.Write(strToday)
Set rsTicker = Server.CreateObject("ADODB.Recordset")
[b]rsTicker.ActiveConnection = vets4petsdb1_conn[/b]
rsTicker.Source = "SELECT * FROM ticker WHERE (expiry_dat >= '" & strToday & "') AND (active_int <> 0)"
rsTicker.CursorType = 0
rsTicker.CursorLocation = 2
rsTicker.LockType = 1
rsTicker.Open()
%>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
<marquee behavior="scroll" direction="left" loop="-1" scrollamount="1" scrolldelay="10" truespeed height="20" class="tickertext">
<<
<%
While Not rsTicker.EOF AND Not rsTicker.BOF
%>
<a href="article_viewer.asp?dbid=<%=(rsTicker("dbid"))%>"><%=(rsTicker("title_vch"))%></a> <<
<%
rsTicker.MoveNext()
Wend
%>
</marquee></td>
</tr>
<tr>
<td><img src="images/spacer.gif" width="760" height="1"></td>
</tr>
</table>
<%
rsTicker.Close()
Set rsTicker = Nothing
%>
The ODBC connection is configured as follows:
Code:
DSN=vets4pets_db1_conn; uid = V4PWeb; pwd=V4PW3b;
Can anyone suggest a fix for this as i have zero SQL DB/Web knowledge.
Thanks in advance.
Leigh Moore
Business Systems Manager
Vets4Pets Veterinary Group