Newsgroup: it.comp.www.asp
Titolo: oggetto COM maledetto

Vi scrivo per un problema un po' strano.
Premetto che lavoro con W2000, pagine ASP/Jscript e connessioni ODBC.
Per un piccolo sito di commercio elettronico ho inserito nella pagina dei
pagamenti lo script fornito da BSella
per il GestPay.
Fatta anteprima mi da qs errore:
---------------------------
 Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/mario.asp, line 624
Invalid class string
-- ------------------------
La linea 624 e' quella in cui viene richiamato l'oggetto COM opportunamente
installato sul mio hosting.
Cioe':
var objCrypt =Server.Createobject("GestPayCrypt.GestPayCrypt");
Sul sito Microsoft ho scovato la seguente faq dove e' riportato lo stesso
mio errore. Ma in quella pagina il probleme sono le connessioni..
Invece la mia pagina non ha connessioni adodb perche' non deve pescare
informazioni da nessun DB!
LA FAQ:
We are an educational site that would like to make ASP files for our Web
site so we can access databases and create active content. However, whenever
we try to establish a connection with the database, we receive this error.
We read through any help articles we could find on your site, but none of
the suggestions seemed to work. We would appreciate any help that you can
provide.
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/Calendar/tblEvents.asp, line 16
Invalid class string
Ernest Dotson
The Web Men reply:
As the error message indicates, there seems to be a problem with the string
you are passing to the CreateObject method. The string you pass to the
method is the class name or ProgID (programmatic identifier) of the COM
object you want to create. Whatever you are passing in the string is not a
COM object that Active Server Pages (ASP) technology recognizes.
To access databases with ASP, you use ActiveX Data Objects (ADO). With ADO,
you can create a connection to a database using a Connection object. The
following ASP script shows how to create a Connection object:
<%
objConn = Server.CreateObject("ADODB.Connection")
%>
Once you create the Connection object, you use its Open method to create the
connection the database.
Working with databases is described in the ASP tutorial included in the
Internet Information Server (IIS) 4.0 documentation. Check out Lesson 3:
Using the Database Access Component of Module 2: Using ActiveX Components.
For more code examples, take a look at the Database Connectivity section in
Developer Samples.
If you continue to run into problems, and you're sure your ASP script is
correct, and your database is set up properly, you could run the Windows NT
Option Pack setup program again, and reinstall the Microsoft Data Access
Components.
VOI COSA PENSATE?
Grazie
stefistefi


Prima cosa:
hai installato la DLL????
Poi dovresti rendere visibili i parametri utilizzati, altrimenti non si
capisce dove sia l'errore (riga 624 = ???)
--
Roberto Scano - 
rsc...@iwa-italy.org
--------------------------------------------------------------------
Presidente Italiano Associazione IWA ITALIA
International Webmasters Association Italia
www.iwa-italy.org
--------------------------------------------------------------------
Coordinatore Italiano IWA
International Webmasters Association
www.iwanet.org