Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    aiuto! pagine asp non funzionanti

    Salve a tutti! Premetto di non sapere nulla o quasi di informatica e in particolare della tecnologia asp mentre me la cavicchio con il codice html... Ultimamente avevo intenzione di aggiungere al mio sito qualche pagina dinamica; per iniziare ho quindi deciso di testare qualche codice asp messo a disposizione da siti come html.it (ed anche da questo).
    Il server che ospita gratuitamente le mie pagine è websamba.com. Il problema è che non riesco a visualizzare neanche una pagina .asp a meno che non si tratti di una pagina con codice molto semplice come response.write
    Tra i servizi che offre websamba però sono compresi anche Standard ASP Scripts e Free ODBC System DSN Setup (dovrebbe quindi leggere il codice asp standard..) anche se non so bene cosa intenda per standard...
    Ho provato a caricare diverse pagine con diversi codici, ecco l'errore che maggiormente compare:
    Microsoft VBScript runtime error '800a01ad'
    ActiveX component can't create object: 'Scripting.FileSystemObject'
    /biobo/poll.asp, line 23
    dove la linea 23 è Set fs = CreateObject("Scripting.FileSystemObject")
    diversi codici, quasi sempre lo stesso errore: viene interrotta la "lettura" perchèAvtive X non può creare l'oggetto. Io non sono un'esperta di codici, ho letto altre discussioni in cui si consigliava al malcapitato di installare un determinato oggetto ma sinceramente non ho trovato un chiarimento più preciso. Non essendo un'informatica ma costruendo pagine per hobby volevo chiedere se qualcuno di voi mi può spiegare molto semplicemente quello che devo fare perchè è da giorni che navigo il web per una risposta ma sto impazzendo sempre più. Ringrazio in precedenza per il disturbo e ringrazio tutti coloro che si siano adoperati comunque per leggere tutto il papiro che ho scritto

  2. #2
    evidentemente l'host offre una raccolta di oggetti mooooolto limitata...non sapevo che si potesse non poter utilizzare il fileSystemObject

    prova a cambiare host. su brinkster.com mi sembra che offrano uno spazio gratuito di qualche mega

  3. #3
    Utente di HTML.it L'avatar di fraude
    Registrato dal
    Feb 2004
    Messaggi
    2,870
    Quando si prendono hoster asp free è sempre buona norma (prima di iniziare a lavorarci su) capire quali componenti il server permette di utilizzare.

    Per fare ciò è sufficiente questo semplicissimo script:

    codice:
    <%
    
    	REM	Project:		COM Checker
    	REM	Creator:		James Lindën
    	REM	Date:		6/25/2001 12:14am
    
    	'*****************************************************************
    
    	'	COM Checker version 1.0
    	'	© 2001 Ticluse Teknologi, All rights reserved.
    
    	'	This class may be redistributed, as long as copyright and development
    	'	information remain intact with class source code. Bug reports and / or
    	'	comments may be directed to jlinden@intelidev.com.
    
    	'*****************************************************************
    
    	Dim comList(41)
    		comList(0) = Array( "AB Mailer","ABMailer.Mailman" )
    		comList(1) = Array( "ABC Upload","ABCUpload4.XForm" )
    		comList(2) = Array( "ActiveFile","ActiveFile.Post" )
    		comList(3) = Array( "ActiveX Data Object","ADODB.Connection" )
    		comList(4) = Array( "Adiscon SimpleMail","ADISCON.SimpleMail.1" )
    		comList(5) = Array( "ASP HTTP","AspHTTP.Conn" )
    		comList(6) = Array( "ASP Image","AspImage.Image" )
    		comList(7) = Array( "ASP Mail","SMTPsvg.Mailer" )
    		comList(8) = Array( "ASP Simple Upload","ASPSimpleUpload.Upload" )
    		comList(9) = Array( "ASP Smart Cache","aspSmartCache.SmartCache" )
    		comList(10) = Array( "ASP Smart Mail","aspSmartMail.SmartMail" )
    		comList(11) = Array( "ASP Smart Upload","aspSmartUpload.SmartUpload" )
    		comList(12) = Array( "ASP Tear","SOFTWING.ASPtear" )
    		comList(13) = Array( "ASP Thumbnailer","ASPThumbnailer.Thumbnail" )
    		comList(14) = Array( "ASP WhoIs","WhoIs2.WhoIs" )
    		comList(15) = Array( "ASPSoft NT Object","ASPSoft.NT" )
    		comList(16) = Array( "ASPSoft Upload","ASPSoft.Upload" )
    		comList(17) = Array( "CDO NTS","CDONTS.NewMail" )
    		comList(18) = Array( "Chestysoft Image","csImageFile.Manage" )
    		comList(19) = Array( "Chestysoft Upload","csASPUpload.Process" )
    		comList(20) = Array( "Dimac JMail","JMail.Message" )
    		comList(21) = Array( "Distinct SMTP","DistinctServerSmtp.SmtpCtrl" )
    		comList(22) = Array( "Dundas Mailer","Dundas.Mailer" )
    		comList(23) = Array( "Dundas Upload","Dundas.Upload.2" )
    		comList(24) = Array( "Dynu Encrypt","Dynu.Encrypt" )
    		comList(25) = Array( "Dynu HTTP","Dynu.HTTP" )
    		comList(26) = Array( "Dynu Mail","Dynu.Email" )
    		comList(27) = Array( "Dynu Upload","Dynu.Upload" )
    		comList(28) = Array( "Dynu WhoIs","Dynu.Whois" )
    		comList(29) = Array( "Easy Mail","EasyMail.SMTP.5" )
    		comList(30) = Array( "File System Object","Scripting.FileSystemObject" )
    		comList(31) = Array( "Ticluse Teknologi HTTP","InteliSource.Online" )
    		comList(32) = Array( "Last Mod","LastMod.FileObj" )
    		comList(33) = Array( "Microsoft XML Engine","Microsoft.XMLDOM" )
    		comList(34) = Array( "Persits ASP JPEG","Persits.Jpeg" )
    		comList(35) = Array( "Persits ASPEmail","Persits.MailSender" )
    		comList(36) = Array( "Persits ASPEncrypt","Persits.CryptoManager" )
    		comList(37) = Array( "Persits File Upload","Persits.Upload.1" )
    		comList(38) = Array( "SMTP Mailer","SmtpMail.SmtpMail.1" )
    		comList(39) = Array( "Soft Artisans File Upload","SoftArtisans.FileUp" )
    		comList(40) = Array( "Image Size", "ImgSize.Check" )
    		comList(41) = Array( "Microsoft XML HTTP", "Microsoft.XMLHTTP" )
    
    	'This function was modified from the work of Rob Risner.
    	'http://www.planetsourcecode.com/xq/ASP/txtCodeId.6731/lngWId.4/qx/vb/scripts/ShowCode.htm
    
    	Function IsAvailable( comIdentity )
    		On Error Resume Next
    		IsAvailable = False
    		Err = 0
    		Set xTestObj = Server.CreateObject( comIdentity )
    		If Err = 0 Then IsAvailable = True
    		Set xTestObj = Nothing
    		Err = 0
    	End Function
    
    	Public Function CheckCOM()
    		Avail = 0
    		strTxt = "<table cellpadding=3 cellspacing=3 border=0 align=center width=300>" & vbNewLine
    		For Idx = LBound( comList ) To UBound( comList )
    			Provider = Idx
    			strTxt = strTxt & vbTab & "<tr><td width=200><font class=norm>" & comList(Idx)(0) & "</font></td>"
    			strTxt = strTxt & "<td align=right width=20><font class=norm>[</font></td>"
    			If IsAvailable( comList(Idx)(1) ) Then
    				strTxt = strTxt & "<td align=center><font face=tahoma size=2 color=blue>Available</font></td>"
    				Avail = Avail + 1
    			Else
    				strTxt = strTxt & "<td align=center><font class=norm>Unavailable</font></td>"
    			End If
    			strTxt = strTxt & "<td align=left width=20><font class=norm>]</font></td></tr>" & vbNewLine
    		Next
    		strTxt = strTxt & vbTab & "<tr><td colspan=4 height=30><font class=norm><font color=blue>" & Avail & "</font> of "
    		strTxt = strTxt & UBound( comList ) + 1 & " supported components are available.</font></td></tr>" & vbNewLine
    		CheckCOM = strTxt & "</table>" & vbNewLine
    	End Function
    
    	Response.Write( CheckCOM() )
    %>
    <p align=center>
    	<font class=arial size=2><a href=http://www.intelidev.com/goto.asp?comchecker>COMChecker</a> version 1.1 - by James Lindën
    © 2001 Ticluse Teknologi, All rights reserved.</font>

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.