Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CannotConnectException Class

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.


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

[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
[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.
© 2015 Microsoft