Export (0) Print
Expand All

CannotConnectException Class

NOTE: This API is now obsolete.

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

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)

[SerializableAttribute]
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
	false)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class CannotConnectException : RuntimeException

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

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