Hola
 
La mayor consideración que has de tener es que el servidor lo admita 
Esto te sirve para saber si el servidor admite ese componente. Puedes agregar a la función cualquier otro    
Código asp:
Ver original- <% 
- Dim theComponent(5) 
- Dim theComponentName(5) 
-      
- theComponent(0) = "ADODB.Connection" 
- theComponent(1) = "Scripting.FileSystemObject" 
- theComponent(2) = "CDONTS.NewMail" 
- theComponent(3) = "Persits.Upload.1" 
- theComponent(4) = "CDO.Message" 
-      
- theComponentName(0) = "ADODB" 
- theComponentName(1) = "FileSystemObject" 
- theComponentName(2) = "CDONTS" 
- theComponentName(3) = "Persits Upload" 
- theComponentName(4) = "CDOSYS" 
-      
- Function IsObjInstalled(strClassString) 
- On Error Resume Next 
- IsObjInstalled = False 
- Err = 0 
- Dim xTestObj 
- Set xTestObj = Server.CreateObject(strClassString) 
- If 0 = Err Then IsObjInstalled = True 
- Set xTestObj = Nothing 
- Err = 0 
- End Function 
-   
-   
- Dim i 
- For i=0 to UBound(theComponent) 
- If Not IsObjInstalled(theComponent(i)) Then 
- Else 
- Response.Write "<tr>" & vbCrLf 
- Response.Write "<td width=""100%"">" & vbCrLf 
- Response.Write "<b>" & theComponentName(i) & "</b><br>" & vbCrLf 
- Response.Write "</td>" & vbCrLf 
- Response.Write "</tr>" & vbCrLf 
- End If 
- Next  
- %> 
Suerte