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