Grazie per rispondermi.
Questo codice me l'aveva scritto un amico circa 10 anni fa, su Brinkster funzionava. Ora ho dovuto spostare su altro server (Jabry.net) e da l'errore.
1 sto testando in rete (sito.com/utente/file.asp)
2 non saprei, come lo vedo?
3 la cartella "db" ha i permessi
4 direi 2...
5 The use of CreateObject to create a COM component in an Active Server Pages (ASP) page may result in the following error:      Microsoft VBScript runtime error '800a01ad'
   ActiveX component can't create object 
  This error is usually generated because dynamic-link libraries (DLLs) on which the COM object depends are one of the following:  
- Missing from the system
 - Not in the system path
 - Not accessible by the system because of security settings 
 
6 ho provato questo, anche su altro server
	codice:
	<% 
MyFile = Server.MapPath( Request.Querystring ("codice") &".txt" )
'il file in cui sono salvati i risultati è contatore.txt
Set FileObject = CreateObject("Scripting.FileSystemObject") 
on error resume next 
Set InStream = FileObject.OpenTextFile(MyFile, 1, true) 
totali = CInt(Instream.ReadLine) + 1 
Instream.Close 
set instream = Nothing 
Set OutStream = FileObject.OpenTextFile(MyFile, 2, true) 
Outstream.WriteLine totali 
Outstream.Close 
Set OutStream = Nothing
set FileObject = Nothing
Response.Redirect ( Request.QueryString("url") ) 
%>
 
	codice:
	<a href="data/contaclick.asp?codice=contatore&url=http://utente.1apps.com/data/lunaio15.zip">
<!--#include file="data/contatore.txt"-->