28 novembre 2003 alle 03:33:23 Qualcuno sa dirmi come posso configurare il sito su questo spazio free [url]http://www.1aspost.com ]/[url] mi da il seguente errore
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
28 novembre 2003 alle 09:09:30 Leggendo le FAQ di 1asphost, recitano testualmente: Per evitare l'errore di query del tuo database, devi inserirlo nella cartella DATABASE che ha i permessi di scrittura..... Quindi, al momento del setup, controlla che l'indirizzo a cui punta il setup sia più o meno questo: /database oppure se hai inserito il portale in una cartella di nome ASPNUKE, sarà /aspnuke/database
Ciauzz DJ
--------------- A lavare la testa ai somari, ci si rimette l'acqua e il sapone!
01 dicembre 2003 alle 07:02:19 Modificato il 01 dicembre 2003 alle 07:07:44vado su una sezione e leggo i seguenti messaggi
Before using the ADO Objects to access your database you need to load them into memory from the ADODB library. For ASP this is different than in VisualBASIC. To load the ADO Objects you are going to use into memory you must first declare the variable names with the Dim statement. Then use the Set statement and Server.CreateObject function to create them.
Example:
Dim Conn, RS 'Declares the Conn (Connection) and RS (Recordset) variables
Set Conn = Server.CreateObject("ADODB.Connection") Set RS = Server.CreateObject("ADODB.Recordset")
Once you have made your database objects, next you must connect to a database and open table or run a query on a table. The table or query will get your RecordSet, a set of records that matches a special set of rules. These records may be updated, or you can add new records to the table that the record set was queried from, if it was queried from one table.
To connection to a database you need to give the ADO's Connection object a DSN. In the case of DomainDLX that would be a DSN string that returns a DSN-Less connection. (confusing huh?) Well, we do this by calling the Open method.
ADODB.Connection.Open DSNString
To continue from the Starting Point page we would do the following to open a database:
Now, your database is opened, you just need to open or query a table... This is a little trickier. A little SQL knowledge will help here. Here we will use SELECT * (to select any field) FROM Table (from the table Table) WHERE (((Table.Field)='Value') AND ((Table.Field2)='Value2')) (where the Field from Table = Value and the Field2 from Table = Value2). This will explain querying. The only time when you will use WHERE is when you want to query a select set of record where certain rules apply and in ( ) you place those rules. Once your table is selected and your rules set and put in a string you need to call the Open method for the Recordset object.
SQLStatement = "SELECT * FROM Table WHERE " SQLStatement = SQLStatement & (((Table.Field)='Value) AND ((Table.Field2)='Value2')) RS.Open SQLStatement, Conn, 3, 3 'These options will open the database for writing while allowing others to still read it.
01 dicembre 2003 alle 10:58:24 Ti rispondo qui, per evitare un doppione, ho installato un AspNuke di base su 1asphost a questo URL: http://aa.1asphost.com/djveleno/aspnuke/default.asp e ho inserito un articolo in merito all'installazione, e una news che pubblicizza l'articolo, non ho trovato alcuna problematica, mi riservo di continuare nel test inserendo in seguito alcuni mod aggiuntivi.
Ciauzz DJ
--------------- A lavare la testa ai somari, ci si rimette l'acqua e il sapone!