Book Image

Microsoft Windows Server AppFabric Cookbook

Book Image

Microsoft Windows Server AppFabric Cookbook

Overview of this book

Windows Server AppFabric provides a set of integrated capabilities that extend IIS and the Windows Server platform making it easier to build, scale and manage composite applications today. Windows Server AppFabric delivers the first wave of innovation within an exciting new middleware paradigm which brings performance, scalability and enhanced management capabilities to the platform for applications built on the .NET Framework using Windows Communication Foundation and Windows Workflow Foundation.'Microsoft Windows Server AppFabric Cookbook' shows you how to get the most from WCF and WF services using Windows Server AppFabric leveraging the capabilities for building composite solutions on the .NET platform. Packed with over 60 task-based and immediately reusable recipes, 'Microsoft Windows Server AppFabric Cookbook' starts by showing you how to set up your development environment to start using Windows Server AppFabric quickly. The book then moves on to provide comprehensive coverage of the most important capabilities provided by Windows Server AppFabric, diving right in to hands-on topics such as deploying WCF and WF applications to Windows Server AppFabric and leveraging the distributed caching, scalable hosting, persistence, monitoring and management capabilities that Windows Server AppFabric has to offer, with recipes covering a full spectrum of complexity from simple to intermediate and advanced.
Table of Contents (16 chapters)
Microsoft Windows Server AppFabric Cookbook
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface

Troubleshooting Windows Server AppFabric — configuration errors


It is not too uncommon to come across errors while installing and configuring Windows Server AppFabric. As long as we know where something wrong, most installation related errors are fairly trivial to fix.

In this recipe we will troubleshoot some common Windows Server AppFabric installation and configuration errors.

How to do it...

The first thing to do is to find the log file under the %temp% folder and then search for errors. Once error(s) are found, we can look up in MSDN for the error details as well as their corresponding resolutions.

  1. 1. To find installation related errors, find a log file created by the AppFabric installer available in the %temp% folder with the file name: AppServerSetup(yyyy-MM-dd H-mm-ss).log.

  2. 2. These errors can either be viewed by clicking on the link in the last page of the installation wizard by or by browsing to the file and then opening it with Notepad (or your favorite text editor).

  3. 3. Search for errors in the text file. Note the error codes and look up their reasons and associated workarounds at this URL: http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx.

    Note

    When using an automated installer, log file options can be provided by using /logfile or /l switch and specifying the file path where the log file should be placed.

  4. 4. Likewise, for configuration errors, find a file under the %temp% folder with the name: Microsoft.ApplicationServer.Configuration (yyyy-MM-dd H-mm-ss) <process code>.log.

  5. 5. Errors mentioned in the configuration log can be looked up for details along with possible remediation at: http://msdn.microsoft.com/en-us/library/ms681381(v=VS.85).aspx.

Note

Configuration errors are AppFabric specific but descriptive enough to point you in the right direction; providing information that let's you know the issue is related to network resource, firewalls, and so on. It is also worth noting that you can see all PowerShell commands that are executed by the wizard logged in this file as well.

How it works...

Windows Server AppFabric uses a very detailed logging mechanism, and writes log entries for configuration and installation related errors in separate physical log files available under the %temp% folder.

Troubleshooting configuration errors revolves around going to a relevant log file and finding the error entries and then looking up each error on the corresponding MSDN help page (as highlighted in the How to do it... section) to find a solution for each issue reported.

For more information on error codes please visit the following MSDN links: