Alpha Software Blog

Tracking Down Why a Request Failed Under IIS

The Alpha Anywhere Application Server for IIS is currently in beta. For more information on the Alpha Anywhere Application Server for IIS, check out this overview webinar on-demand.

Sometimes a request can fail for reasons outside of the Alpha Anywhere Application Server for IIS. IIS has a component call Failed Request Tracing that can be used to track down why a request is failing.

Alpha Anywhere LogoIn fact, the Alpha Anywhere Application Server for IIS participates in failed request tracing, meaning that it will write messages to the failed request log too. Though if there was a problem rendering an .a5w page finer details will be in the Xbasic error and/or trace logs.

This installation guide recommends including the Tracing feature when configuring IIS. If you included the Tracing feature under Health and Diagnostics you're 98% of the way to using Failed Request Tracing. If you didn't, go back and add that feature.

Here is a quick primer on using Failed Request Tracing. You can Google "IIS Failed Request Tracing" for more details.

  1. Select your web site in IIS Manager.
  2. In the right hand "Actions" pane click on "Failed Request Tracing..." and then enable it. Change the log path if needed.
Alpha Software

A web application published from Alpha Anywhere Developer Edition already has its web.config set to trace HTTP response codes of 400 and above so enabling Failed Request Tracing should be all that needs to done. This setting can be seen by selecting web application and then the Failed Request Tracing item in the IIS group.

Alpha Software

Now make the request from the browser to load the page. Once you’ve gotten the error go to the failed request logs folder to and double click on the frxxxxx.xml file and to view it.

Note: If you want to clean up the request logs only delete the .xml files. Don't delete the freb.xsl. The freb.xsl file is a pain in the neck to recreate.

IIS server tutorials
A Quick Overview of Application Security Built Into Alpha Anywhere
TeamGlobal Builds Offline App for LA School District Using Alpha

About Author

Terry Smith
Terry Smith

Lead IIS Engineer at Alpha Software

Related Posts
Setting Up App Security Just Got Easier
Setting Up App Security Just Got Easier
Alpha Anywhere
Alpha Anywhere "Developer2Developer" Interview Series: Alex Collier
Alpha Software Helps Evolytix Achieve  Up to 75% Productivity Boost
Alpha Software Helps Evolytix Achieve  Up to 75% Productivity Boost

The Alpha platform is the only unified mobile and web app development and deployment environment with distinct “no-code” and “low-code” components. Using the Alpha TransForm no-code product, business users and developers can take full advantage of all the capabilities of the smartphone to turn any form into a mobile app in minutes, and power users can add advanced app functionality with Alpha TransForm's built-in programming language. IT developers can use the Alpha Anywhere low-code environment to develop complex web or mobile business apps from scratch, integrate data with existing systems of record and workflows (including data collected via Alpha TransForm), and add additional security or authentication requirements to protect corporate data.