If setting the size is causing an issue, what happens when you don't set the 
size?


<parameter>
 <parameterName value="@message" />
 <dbType value="String" />
 <layout type="log4net.Layout.PatternLayout">
  <conversionPattern value="%message" />
 </layout>
</parameter>


----- Original Message ----

From: Kim Therkelsen <[EMAIL PROTECTED]>

To: [email protected]

Sent: Friday, August 24, 2007 9:48:04 AM

Subject: Error in SqlCeParameter causes error in log4net



Hi,

   I am having this error:

   http://csharponphone.blogspot.com/2006/08/sqlceparameter-bug.html

     

   Are there any fixes for this?

     

   Another thing is that if I adjust my column to a max size of 255 I still get 
an error if I try to insert more than 255 characters – how do I get log4net to 
automatically reduce the size of the message to 255 (to cut the last part of 
the message)?

     Best regards

 Lyngsoe Systems A/S 


Reply via email to