Get SQL Line Number of Error (And Stored Proc Name)


is there way stored proc name , line number of error when there sql error in stored proc (when using wcf-custom adapter in sendport).  example, i'm getting below.  know stored proc sendport calling, might call many sub-stored procs. seems biztalk capture entire sql error info , display back.

neal


system.data.sqlclient.sqlexception (0x80131904): string or binary data truncated.
the statement has been terminated.

server stack trace:
   @ system.runtime.asyncresult.end[tasyncresult](iasyncresult result)
   @ system.servicemodel.channels.servicechannel.sendasyncresult.end(sendasyncresult result)
   @ system.servicemodel.channels.servicechannel.endcall(string action, object[] outs, iasyncresult result)
   @ system.servicemodel.channels.servicechannel.endrequest(iasyncresult result)

exception rethrown @ [0]:
   @ system.runtime.remoting.proxies.realproxy.handlereturnmessage(imessage reqmsg, imessage retmsg)
   @ system.runtime.remoting.proxies.realproxy.privateinvoke(messagedata& msgdata, int32 type)
   @ system.servicemodel.channels.irequestchannel.endrequest(iasyncresult result)
   @ microsoft.biztalk.adapter.wcf.runtime.wcfclient`2.requestcallback(iasyncresult result)





BizTalk Server  >  BizTalk Server Adapters and Adapter Pack



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

How to send non-standard Content-Type header ?