CannotConnectException Class

Represents an exception that is thrown when the Business Data Catalog cannot successfully make a connection to the back-end business application.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.ApplicationRegistry.Runtime.RuntimeException
      Microsoft.Office.Server.ApplicationRegistry.Runtime.CannotConnectException

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class CannotConnectException _
    Inherits RuntimeException
'Usage
Dim instance As CannotConnectException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class CannotConnectException : RuntimeException

Remarks

If you get this exception, check the connection parameters and ensure you can successfully connect to the back-end application.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CannotConnectException Members

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace