You are on page 1of 1

<?xml version="1.0" encoding="utf-8"?><exception>System.Web.Services.Protocols.

S
oapException: System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> System.Data.SqlClient.SqlException: Invalid length paramet
er passed to the SUBSTRING function.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolea
n breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception
, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObj
ect stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cm
dHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, Tds
ParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.HasMoreRows()
at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout)
at System.Data.SqlClient.SqlDataReader.Read()
at Service.GetDocumentLocation(Int32 pDocId)
at Service.GetDocument(Int32 pDocId)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
ntMessage message, WebResponse response, Stream responseStream, Boolean asyncCal
l)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN
ame, Object[] parameters)
at UnisaWfWs.Service.GetDocument(Int32 pDocId) in c:\WINDOWS\Microsoft.NET\Fr
amework\v2.0.50727\Temporary ASP.NET Files\rcmclient\00e33b1d\1edf139b\App_WebRe
ferences.uf6wld9q.1.cs:line 147
at _Default.OpenDocument(Int32 pId, String pName) in C:\Inetpub\wwwroot\RCMCl
ient\Default.aspx.vb:line 44
at _Default.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\RCMCl
ient\Default.aspx.vb:line 20</exception>