Da wird �ber versucht, via JavaScript und ADO Objekten eine
Datebankverbindung zu �ffnen? Du bist sicher, dass das auf dem Client l�uft?

An Stefan: Ohne Method Angabe ist die Form GET

Gru�, Andreas

> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im Auftrag von K�nig, Oliver
> Gesendet: Donnerstag, 19. Dezember 2002 15:16
> An: '[EMAIL PROTECTED]'
> Betreff: AW: [Coffeehouse] Ich versteh die Welt nicht mehr...
>
>
> Das hier ist die komplette Funktion. Zeile 466 hab ich mit * markiert:
>
> function _RS_open()
>       {
>               if (this._rsADO != null)
>               {
>                       if (!this.isOpen())
>                       {
>
> this._objEventManager.fireEvent(RS_ONBEFOREOPEN);
>                               if (this._params != null)
>                               {
>                                       for (var i=0; i <
> this._params.length; i++)
>                                       {
>                                               if (typeof(this._params[i])
> != 'undefined')
>
> this._rsADO.ActiveCommand.Parameters(Number(i)).value = this._params[i];
>
>                                       }
>                               }
>
>                               // force AbsolutePosition to work in
> server-side cursor for SQL
>                               if (this._rsADO.CursorLocation == 2)
>
> this._rsADO.Properties('IRowsetScroll') = true;
>
>                               // double-check after ONBEFOREOPEN is fired
>
>                               if (!this.isOpen())
>
>
> **********this._rsADO.Open();**********
>
>                               this._objDBConn =
> this._rsADO.ActiveConnection;
>                               this.fields = CreateFields(this._rsADO);
>                               this._bExecuted = true;
>
>                               if (this._bookmark != 0)
>                                       this.setBookmark(this._bookmark);
>                               else
>                                       this._syncBOFandEOF();
>
> // fire initial events
>
> this._objEventManager.fireEvent(RS_ONROWENTER);
>
> this._objEventManager.fireEvent(RS_ONDATASETCHANGED);
>
> this._objEventManager.fireEvent(RS_ONDATASETCOMPLETE);
>                               return true;
>                       }
>               }
>               return false;
>       }
>
>
>
>
> -----Urspr�ngliche Nachricht-----
> Von: Andreas Roth [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 19. Dezember 2002 15:08
> An: [EMAIL PROTECTED]
> Betreff: AW: [Coffeehouse] Ich versteh die Welt nicht mehr...
>
>
> Was steht denn in Zeile 466?
>
> > -----Urspr�ngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]Im Auftrag von K�nig, Oliver
> > Gesendet: Donnerstag, 19. Dezember 2002 15:08
> > An: '[EMAIL PROTECTED]'
> > Betreff: [Coffeehouse] Ich versteh die Welt nicht mehr...
> >
> >
> > Hallo zusammen!
> >
> > Ich steh hier grad ziemlich auf dem Schlauch. Ich bin die
> Intranet-Seiten
> > unserer Firma am �berarbeiten und wollte eben eine Seite umstellen.
> > Faul...�h, clever wie ich nun mal bin, hab ich einfach die alte Seite
> > beibehalten wollen und einige Dateien includet.
> >
> > Diese Includes enthalten unter anderem zwei Formulare. Eines f�r die
> > Index-Suche und eines f�r eine (Javascript-gesteuerte) Quick-Navigation.
> > Sobald ich die Seite nun von der vorherigen Seite aus aufrufe,
> hab ich ein
> > Problem. Statt nem brauchbaren Ergebnis bekomme ich folgende Meldung:
> >
> > Microsoft OLE DB Provider for ODBC Drivers-Fehler '80040e10'
> >
> > [Sybase][ODBC Driver]Wrong number of parameters
> >
> > ../../_ScriptLibrary/Recordset.ASP, Zeile 466
> >
> >
> > In der URL-Zeile wird dann noch folgendes angezeigt:
> >
> >
> > details.asp?_method=_EM__onclientevent&pcount=2&p0=ButtonBestellen
> > &p1=onclic
> > k
> >
> > Ich versteh jetzt grad nicht, wie ein Formular einen ODBC-Fehler
> > verursachen
> > kann!?! Vielleicht k�nnt Ihr mir ja weiterhelfen.
> >
> > cu
> > Olli
> > _______________________________________________
> > Coffeehouse mailing list
> > [EMAIL PROTECTED]
> > http://www.glengamoi.com/mailman/listinfo/coffeehouse
>
> _______________________________________________
> Coffeehouse mailing list
> [EMAIL PROTECTED]
> http://www.glengamoi.com/mailman/listinfo/coffeehouse
> _______________________________________________
> Coffeehouse mailing list
> [EMAIL PROTECTED]
> http://www.glengamoi.com/mailman/listinfo/coffeehouse

_______________________________________________
Coffeehouse mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/coffeehouse

Antwort per Email an