logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Psenner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4NET-461) adonetappender
Date Sun, 01 Nov 2015 11:52:27 GMT

    [ https://issues.apache.org/jira/browse/LOG4NET-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984373#comment-14984373
] 

Dominik Psenner commented on LOG4NET-461:
-----------------------------------------

Should be fixed with svn revision 1711736.

> adonetappender 
> ---------------
>
>                 Key: LOG4NET-461
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-461
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.11
>            Reporter: Kelly Elton
>            Assignee: Dominik Psenner
>            Priority: Critical
>
> Basically what happens is you guys store the SqlCommand between all requests. The problem
is, sometimes this prepared statement gets removed from the cache in SqlServer. When this
happens all subsequent requests result in an error "Could not find prepared statement with
handle -1"
> You could resolve this by checking for that specific error on submitting and if you get
it recreate the command and try again, or just recreate and prepare the statement every time.
> This is a pretty major issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message