AaronT 11/13/2010 11:36:02 AM

eConnect 2010 The creator of this fault did not specify a Reason

The creator of this fault did not specify a Reason.

I wonder if the capital 'R' is reason is significant.

I haven't figured this out yet, I'll post again if I get it.

I caused it by creating a call to the eConnect WCF service and intentionally causing an error. The error code that is returned is... not all that useful. Anyone have any ideas?

Here's my code:

Public Sub CreateEntity(ByVal Doc As String, ByVal Server As String, ByVal DB As String)
 Dim oeConnectClient As New ServiceReference1.eConnectClient("eConnectServiceEndpoint")
   
 Try
     Dim strConnectionString As String = String.Format("Data Source={0};Integrated Security=SSPI;Persist Security Info=False;Initial Catalog={1};", Server, DB)
     Dim bResult As Boolean
     bResult = oeConnectClient.CreateEntity(strConnectionString, Doc)
 Catch ex As System.ServiceModel.FaultException(Of ServiceReference1.eConnectFault)
     Throw ex
 Catch ex As System.ServiceModel.FaultException(Of ServiceReference1.eConnectSqlFault)
     Throw ex
 Catch ex As Exception
     Throw ex
 Finally
     oeConnectClient.Dispose()
 End Try
  
End Sub

 

 

Version: Unknown or N/A
Section: eConnect


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3