Vi mando il codice di una pagina dbconnect.asp di un pacchetto news...che non riesco a far andare; in ...Source=c:\inetpub\texarredo\database\wisannounc e.mdb;",
c'è il termine inetpub, cos'è?
<% Dim annDSN
' We prefer to use the physical path so you can keep your database outside of your default web site
' which will not allow anyone to be able to download the database.
' Make sure to uncomment one of the lines!
'--> MS Access 2000 using virtual path
annDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/fpdb/wisannounce.mdb")
'--> MS Access 2000 using full path - (Default - use database outside of web for security)
'annDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\texarredo\database\wisannounce.m db;"
'--> MS Access 2000 using DSN connection
'annDSN = "DSN=WISAnnounce"
'annDSN = "DSN=WISAnnounce;UID=Admin;PWD=Test" ' If using a UID and PWD
'--> MS SQL Server 7 - (not yet implemented)
'annDSN = "driver={SQL Server};server=SERVER_NAME;uid=SQL_USER;pwd=PASSWO RD;database=DATABASE_NAME"
%>