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)
in sql there's no easy way of getting column information, can refer post below:
http://social.msdn.microsoft.com/forums/en/transactsql/thread/ec184168-ddd1-4df5-b2c7-c6671b602a3d
randy aldrich paulo
mcts(biztalk 2010/2006,wcf net4.0), mcpd | my blog
biztalk message archiving - sql , file
automating/silent installation of biztalk deployment framework using powershell >
sending idocs using ssis
BizTalk Server > BizTalk Server Adapters and Adapter Pack
Comments
Post a Comment