AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Datenbanken Delphi Probleme mit Native Client 10 und Transactions
Thema durchsuchen
Ansicht
Themen-Optionen

Probleme mit Native Client 10 und Transactions

Ein Thema von mmoeller1 · begonnen am 5. Mai 2009 · letzter Beitrag vom 27. Mai 2009
 
mmoeller1

Registriert seit: 5. Mai 2009
4 Beiträge
 
#5

Re: Probleme mit Native Client 10 und Transactions

  Alt 27. Mai 2009, 13:54
Hier weitere Informationen:


http://social.msdn.microsoft.com/For...b-6e77e2219c67


Zitat:
OK, I have reproduced the problem.
Thank you for your patience.

The error here happens because ADO issues a metadata discovery request which proved to be problematic.
We are actively working to improve this area in the next release of the SQL Server to make it more robust.

As a workaround in VBScript you should be able to set ActiveConnection again like:


cn.BeginTrans
cmd.ActiveConnection = cn
cmd.CommandText = "test"
cmd.commandtype=4
cmd.Parameters.Refresh
cmd.Execute
cn.CommitTrans


cn.BeginTrans
cmd.ActiveConnection = cn
cmd.CommandText = "test"
cmd.commandtype=4
cmd.Parameters.Refresh
cmd.Execute
cn.CommitTrans


I suppose Delphi has an equivalent of setting active connection, could you try it?
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:48 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz