geia sas.
exo auto to parakato minima:Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x14bc Thread 0xd90 DBC 0x1412024 Jet'.
/gallery/inc_search_form.asp, line 4
to script pou anaferete sti grammi 4 einai kai ti na allakso:
<%
set rsCount = Server.CreateObject("ADODB.Recordset")
rsCount.ActiveConnection = MM_connDUgallery_STRING
rsCount.Source = "SELECT (SELECT COUNT(*) FROM PICTURES WHERE PIC_APPROVED =1) AS PIC_COUNT, COUNT(*) AS TYPE_COUNT FROM TYPES"
rsCount.CursorType = 0
rsCount.CursorLocation = 2
rsCount.LockType = 3
rsCount.Open()
rsCount_numRows = 0
%>
Υπάρχουν <%=(rsCount.Fields.Item("PIC_COUNT").Value)%>φωτογραφίες στις
<%=(rsCount.Fields.Item("TYPE_COUNT").Value)%> κατηγορίες
<%
rsCount.Close()
%>
euxaristo poli
Σιγουρέψου πως το path για την database είναι σωστό.
tip: Η υπομονή είναι πικρή , τα αποτελέσματα της όμως είναι γλυκά . * F5 για νέο tip