Share via


How to: Resolve Validation Warnings on Deployment Diagrams 

In Deployment Designer, validation errors and warnings are displayed in the Error List window. A red error icon appears on the deployment diagram for any server associated with a validation error or warning. Validation errors are returned from the System Definition Model (SDM) compiler when documents fail to compile. In the majority of cases, you will not see validation errors. Validation warnings are very common and might occur in the following situations:

  • A required communication pathway is missing.

    For example, a Web application that interacts with a database is hosted on an IIS Web server than is not connected to a database server. Alternately, the application might be hosted on logical server with the required connection, but application endpoints might not be bound to the logical server endpoints that support the communication pathway.

  • A setting value on one layer violates a constraint set on another layer.

    For example, the authentication mode for a Web application is set to "Passport", but the IIS Web server hosting the application requires "Forms" authentication.

  • Fixed settings on one layer conflict with fixed settings on another layer.

  • Not all applications within the system are bound to logical servers.

  • Not all application endpoints within the system are bound to logical server endpoints.

If a communication pathway is missing, you will see the following warning: "There is no connection established between <server name> <server endpoint> and any other logical server in the datacenter that allows communication to occur between application <application name> <application endpoint> and application <application name> <application endpoint>." Use the following procedure to fix this warning.

To fix communication pathway warnings

  1. Bind the affected applications to logical servers that provide the necessary communication pathways. For more information about unbinding applications from logical servers, see How to: Unbind Applications from Logical Servers.

    —or—

    If the logical servers are connected, ensure that the application endpoints are bound to the server endpoints that support the communication pathway. To bind application endpoints, use the Binding Details dialog box. For more information, see How to: Specify Binding Details on Deployment Diagrams.

  2. After you have resolved all settings conflicts, return to the deployment diagram and validate the diagram again to see whether all warnings have been fixed.

For another example of how to resolve a communication warning, see Walkthrough: Validating an Application System for Deployment.

Another common warning is related to a setting on an application or server that conflicts with a constraint set on the corresponding layer. Use the following procedure to fix this warning.

To fix validation warnings associated with settings that violate constraints

  1. Double-click the validation warning to navigate to the setting that violates the constraint.

    —or—

    Right-click the validation warning, choose Go To, and then choose <setting name> Setting on <application or server name>.

    Distributed System Designers navigates to the diagram with the conflicting setting, opens the Settings and Constraints Editor, and scrolls to the appropriate setting.

  2. Edit the setting value(s) to resolve the conflict.

  3. After you have resolved all settings conflicts, return to the deployment diagram and validate the diagram again to see whether all warnings have been fixed.

In some cases, it might be appropriate to modify the constraint rather than the setting, as discussed in the following procedure.

To view the constraint associated with the warning

  • Right-click the validation warning, choose Go To, and then choose <constraint name> Constraint on <server or application name>.

    Distributed System Designers navigates to the diagram the constraint was authored in, opens the Settings and Constraints Editor, and scrolls to the appropriate constraint definition.

See Also

Tasks

Walkthrough: Validating an Application System for Deployment
How to: Validate a Deployment Diagram

Other Resources

Validating Deployment Diagrams