• Regolamento Macrocategoria DEV
    Prima di aprire un topic nella Macrocategoria DEV, è bene leggerne il suo regolamento. Sei un'azienda o un hosting/provider? Qui sono anche contenute informazioni per collaborare con Sciax2 ed ottenere l'accredito nella nostra community!

[AIUTO] Snitz Forum 3.4.5 [AIUTO]

Magio95

Utente bannato
Autore del topic
11 Dicembre 2007
419
0
Miglior risposta
0
Ho seguito la guida Tutorial di MabboLuigi, ma quella versione arretrata di Snitz Forum non mi accontentava, quindi sono passato alla 3.4.5.

Solo che mi continua a dare l'errore seguente:

There has been an error !!

The database could not be opened !!
Check your config.asp file and set the
strConnString so it points to the database.
Also check if strDBType is set to the right databasetype.


Code : 80004005

Error Description :
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

Io ho editato il file config.asp in questo modo (vi inserisco solo le cose che devono essere modificate altrimenti è lunghissimo):

<!--#INCLUDE FILE="inc_adovbs.asp"-->
<%
'#################################################################################
'## Snitz Forums 2000 v3.4.05
'#################################################################################
'## Copyright (C) 2000-05 Michael Anderson, Pierre Gorissen,
'## Huw Reddick and Richard Kinser
'##
'## This program is free software; you can redistribute it and/or
'## modify it under the terms of the GNU General Public License
'## as published by the Free Software Foundation; either version 2
'## of the License, or (at your option) any later version.
'##
'## All copyright notices regarding Snitz Forums 2000
'## must remain intact in the scripts and in the outputted HTML
'## The "powered by" text/logo with a link back to
'##
Perfavore, Entra oppure Registrati per vedere i Link!
in the footer of the pages MUST
'## remain visible when the pages are viewed on the internet or intranet.
'##
'## This program is distributed in the hope that it will be useful,
'## but WITHOUT ANY WARRANTY; without even the implied warranty of
'## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
'## GNU General Public License for more details.
'##
'## You should have received a copy of the GNU General Public License
'## along with this program; if not, write to the Free Software
'## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
'##
'## Support can be obtained from our support forums at:
'##
Perfavore, Entra oppure Registrati per vedere i Link!

'##
'## Correspondence and Marketing Questions can be sent to:
'## manderson@snitz.com
'##
'#################################################################################

Session.LCID = 1033 '## Do Not Edit
Response.Buffer = true

dim strDBType, strConnString, strTablePrefix, strMemberTablePrefix, strFilterTablePrefix '## Do Not Edit
Dim counter, ConnErrorNumber, ConnErrorDesc, blnSetup '## Do Not Edit

'#################################################################################
'## SELECT YOUR DATABASE TYPE AND CONNECTION TYPE (access, sqlserver or mysql)
'#################################################################################
'strDBType = "sqlserver"
strDBType = "access"
'strDBType = "mysql"

'## Make sure to uncomment one of the strConnString lines and edit it so that it points to where your database is!
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/USERNAME/db/snitz_forums_2000.mdb") '## MS Access 2000 on Brinkster
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 2000
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("snitz_forums_2000.mdb") '## MS Access 97 using virtual path
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/USERNAME/db/snitz_forums_2000.mdb") '## MS Access 97 on Brinkster
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 97
'strConnString = "Provider=SQLOLEDB;Data Source=SERVER_NAME;database=DB_NAME;uid=UID;pwd=PWD;" '## MS SQL Server 6.x/7.x/2000 (OLEDB connection)
'strConnString = "driver={SQL Server};server=SERVER_NAME;uid=UID;pwd=PWD;database=DB_NAME" '## MS SQL Server 6.x/7.x/2000 (ODBC connection)
'strConnString = "driver=MySQL;server=SERVER_IP;uid=UID;pwd=PWD;database=DB_NAME" '## MySQL w/ MyODBC v2.50
'strConnString = "driver={MySQL ODBC 3.51 Driver};option=4;server=SERVER_IP;user=UID;password=PWD;DATABASE=DB_NAME;" '##MySQL w/ MyODBC v3.51
'strConnString = "DSN_NAME" '## DSN

strTablePrefix = "FORUM_"
strMemberTablePrefix = "FORUM_"
strFilterTablePrefix = "FORUM_" 'used for BADWORDS and NAMEFILTER tables

guardate le cose in grassetto.

la prima (strDBType = "access") non ha come le altre 2 (mysql, sqlserver) la ' virgoletta davanti, ciò vuol dire che è selezionato.

la seconda (snitz_forums_2000.mdb) è il file di database, non ha una directory specifica infatti è in mezzo a tutti gli altri file...


sciax almeno tu ke lo avevi mi sapresti dire il problema?


greazieeeeeeeeeeeeeeeeee
 
nn so aiutarti

nn trovo l errore cosi a prima vista

se aspetti provo ad istallarne 1 anchio e ti faccio sapere
 
ti do la soluzione magio :emoji_slight_smile:


'################################################# ################################
'## SELECT YOUR DATABASE TYPE AND CONNECTION TYPE (access, sqlserver or mysql)
'################################################# ################################
'strDBType = "sqlserver"
strDBType = "access"
'strDBType = "mysql"

'## Make sure to uncomment one of the strConnString lines and edit it so that it points to where your database is!
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("snitz_forums_2000.mdb") '## MS Access 2000 using virtual path


togli ' davanti a 'strConnString

consiglio mio personale onde evitare che ti attacchino il forum con il tuo accaunt modifica il nome del file del databse in access al posto di snitz_forums_2000.mdb inventati una bella parola con numeri e lettere ad esempio fjfefjdjdspfj.mdb e poi logicamnte modifica la stringa :

'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("fjfefjdjdspfj.mdb") '## MS Access 2000 using virtual path

se hai problemi ti do assistenza privata
 
come ti viene detto bisogna togliere il commento anche alla stringa del percorso di dove risiede il db, così dovrebbe andare:
## 'Make sure to uncomment one of the strConnString lines and edit it so that it points to where your database is!
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
Perfavore, Entra oppure Registrati per vedere i Link!
.MapPath("snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
Perfavore, Entra oppure Registrati per vedere i Link!
.MapPath("/USERNAME/db/snitz_forums_2000.mdb") '## MS Access 2000 on Brinkster
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 2000
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Perfavore, Entra oppure Registrati per vedere i Link!
.MapPath("snitz_forums_2000.mdb") '## MS Access 97 using virtual path
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Perfavore, Entra oppure Registrati per vedere i Link!
.MapPath("/USERNAME/db/snitz_forums_2000.mdb") '## MS Access 97 on Brinkster
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 97
'strConnString = "Provider=SQLOLEDB;Data Source=SERVER_NAME;database=DB_NAME;uid=UID;pwd=PW D;" '## MS SQL
Perfavore, Entra oppure Registrati per vedere i Link!
6.x/7.x/2000 (OLEDB connection)
'strConnString = "driver={SQL
Perfavore, Entra oppure Registrati per vedere i Link!
};
Perfavore, Entra oppure Registrati per vedere i Link!
=SERVER_NAME;uid=UID;pwd=PWD;databas e=DB_NAME" '## MS SQL
Perfavore, Entra oppure Registrati per vedere i Link!
6.x/7.x/2000 (ODBC connection)
'strConnString = "driver=
Perfavore, Entra oppure Registrati per vedere i Link!
;
Perfavore, Entra oppure Registrati per vedere i Link!
=SERVER_IP;uid=UID;pwd=PWD;dat abase=DB_NAME" '##
Perfavore, Entra oppure Registrati per vedere i Link!
w/ MyODBC v2.50
'strConnString = "driver={
Perfavore, Entra oppure Registrati per vedere i Link!
ODBC 3.51 Driver};option=4;
Perfavore, Entra oppure Registrati per vedere i Link!
=SERVER_IP;user=UID;passwor d=PWD;DATABASE=DB_NAME;" '##
Perfavore, Entra oppure Registrati per vedere i Link!
w/ MyODBC v3.51
'strConnString = "DSN_NAME" '## DSN
ovviamente devi verificare che il percorso di dove risiede il db sia quello corretto
 
be sciax come avevo detto io inoltre e meglio non lasciare il classico nome del databse prima che te lo scovino e se lo scaricano e trovino le psw
 
raga ho cambiato versione uso quella identica a quella vekkia dis ciax credo sia la snitz titanium 06