Ich bräuchte mal Hilfe bei dieser Fehlermeldung.


Ich bräuchte mal Hilfe bei dieser Fehlermeldung. 
Sie tritt nur auf wenn in einer MSSQL-Datenbank ein VARCHAR(MAX) Feld mit Daten gefüllt ist. 
Solange das Feld leer ist, gibt es kein Problem. Auch das erfassen von Daten und Wechseln der Datensätze ist kein Problem. 
Ich kann auch das Unterform zur Erfassung der Daten schließen und wieder öffnen. 
Sobald ich aber die Anwendung komplett verlasse und wieder aufrufe bekomme ich die abgebildete Fehlermeldung. 
Wenn ich dann mit Hilfe des SQL Management Studios die Daten wieder aus dem VARCHAR(Max) Feld lösche, kann ich das Form wieder aufrufen. 
Ich bräuchte mal Hilfe dabei herauszufinden warum ich keine DBMemo Felder verarbeiten kann.

Comments

  1. I recommend posting in English to make the post understandable for a bigger audience.

    ReplyDelete
  2. I'd use SSMS activity monitor to check for deadlocks.

    ReplyDelete
  3. Lars Fosdal Ok. Then I will try to explain my problem in english. Thanks for the tip.
    I have a MSSQL2008 Database with a Table that includes a BLOB (varchar(max)). As long as nothing is inserted into this field everything works fine. But as soon as this field has any data, even just one character I cannot open my Form anymore. 
    I tried to insert into the table and then leave the record after a post and applyUpdates and this works all fine. After I leave the complete Application I get the stated error. 
    Please help me with this, because I ran out of ideas what the Problem is.

    ReplyDelete
  4. Which DB connection do you use?  ADO? ODBC? Is MARS on?AnyDAC? Do you use threading? Is it possible that you try to do a second transaction on the same connection that you already are processing the result set from? 

    Searching for 
    https://www.google.com/search?q=connection+is+busy+with+results+for+another+command
    yields some potentially interesting results from StackOverflow.

    ReplyDelete
  5. I use DBExpress to Connect to my Database and have a different sqldataset for each table. for each SQLDataset I have a different Dataprovider connecting to a clientdataset. 
    I do not use threading as far as I know. 
    What is MARS? I don't have AnyDAC. 
    I am using RAD Studio XE3 Update 2. 
    I also have a request for a table of personell but that opens to help with a Master-detail link.

    ReplyDelete
  6. Thank you so much Lars Fosdal . This MARS just solved my problem.

    ReplyDelete

Post a Comment