Re: "Err -2147418113 Schwerwiegender Fehler" bei Verbindungsaufbau zu SQL-Server

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Stefan Hensge (stefan_at_bitte_kein_spam_hensge.de)
Date: 08/15/04


Date: Sun, 15 Aug 2004 10:34:58 +0200

Hallo Elmar,

vielen Dank für die Antwort.

> Das könnte http://support.microsoft.com/?kbid=831715
> "Catastrophic failure" error message when you use the "SQL Server Login"
> dialog box to set the database name
> sein, der sich bei MDAC 2.8 eingeschlichen hat.
>
> Möglich allerdings auch das Dein MDAC Stack mackelig ist,
> lass mal den Component Checker darüber laufen.

Was ist ein Component Checker und wo finde ich den ?

> Am besten dafür den MDAC Standard-Dialog verwenden:
> ' Verweis: Microsoft OLE DB Service Component 1.0 Type Library
> Dim ds As MSDASC.DataLinks
> Dim cnn As ADODB.Connection
>
> Set cnn = New ADODB.Connection
> cnn.Provider = "SQLOLEDB.1"
>
> ' ggf. weitere Einstelunen vornehmen
> cnn.Properties("Connect Timeout") = 15
>
> Set ds = New MSDASC.DataLinks
> ds.Hwnd = frm.Hwnd
> If ds.PromptEdit(cnn) Then
> ...
> End If
>
> was vor katastrophalen Fehler, die Microsoft einbaut, zwar auch nicht
> schützt, aber die Verwendung auf die MDAC Komponenten reduziert.
>

Verstehe ich nicht ganz. Wenn es vor katastrophalen Fehlern nicht schützt,
was hat es dann für einen Vorteil ?

> > Also habe ich mir den Beispiel-Code von Peter Götz angesehen ("Server
auflisten"),

(Schnibbel)

> entweder hast Du etwas viel umprogrammiert oder aber Deine
> Konfiguration ist etwas mackelig.
>
Ich glaube, es ist besser, das ich diese Funktion weglasse. Es muss ja auch
so gehen und an lokale Server habe ich gar nicht dedacht. Daher bringt das
sowieso nichts

> > Gibt es ein Update von MS, was ich nicht finde?
>
> siehe oben und immer wieder mal auf
> http://msdn.microsoft.com/data/mdac/default.aspx
>
> Für MDAC gibts dort u. a. einen Security Patch, der zwar auch über
> Windows Update eingespielt wird, aber leider nicht jeder Anwender tuts.

Ich bin mit Windows-Updates eigentlich immer aktuell. Security Patch heißt
für mich immer Sicherheit, aber nicht Bugfix. Wird sowas jetzt von MS
vermischt ?

Wenn ich Dich richtig verstanden habe, liegt es nicht an meinem Connection
String ? Wenn dem so ist, bin ich ja schon mal beruhigt. Dann muss ich nicht
am Code doktorn, sondern hoffen, dass eine Lösung von MS oder aus der NG
kommt.

Viele Grüße
Stefan



Relevant Pages

  • Re: Publisher catelog merge- cannot open data source file
    ... Take a look at your MDAC components. ... MDAC Utility: Component Checker ... outlook message earlier today, but deleted the field I copied before the ... engine failures" error message when you try to perform a mail merge by ...
    (microsoft.public.publisher)
  • Re: Late Binding
    ... The code that uses ADO is necessary code. ... I have looked at the component checker. ... MDAC 2.1 - refers to ActiveX 2.1 ...
    (microsoft.public.access.queries)
  • RE: MDAC 2.8 uninstall
    ... Have you tried to run the Component Checker from the run line with the /d ... to uninstall mdac and install the version you specified. ... the /NR switch along with the /d switch it will not install what ever mdac ...
    (microsoft.public.win2000.setup_deployment)
  • Re: missing DTS connections
    ... I ran the component checker and it reports that MDAC is OK! ... >>All of us have missing connections in the DTS designer. ... >>installation all the connections were available however after applying ...
    (microsoft.public.sqlserver.connect)
  • Re: MDAC 2.8
    ... I have run component checker several times. ... everything I've done indicates that MDAC is okay. ... MDAC Version Number Windows 98 and Windows 98 Second Edition Windows ... Installed with Windows XP SP2, ...
    (microsoft.public.windowsxp.help_and_support)