Why Does an Error Occur When I Try to Add a Field or Control in AgileForms?

Summary

When I attempt to add a field or control in AgileForms, the following error occurs: "Object reference not set to an instance of an object."

Applies To

Details

When I attempt to add a field or control in AgileForms, the following error occurs: "Object reference not set to an instance of an object." This error occurs when the .NET Framework is installed before IIS on the AgileForms Server machine.

To fix this issue, do the following:

  1. In a command prompt, change directories to C:\Windows\Microsoft.NET\Framework\v2.0.50727.
  2. Run the command aspnet_regiis -i.
  3. In IIS, open the properties for the AFProxy web application.
  4. On the Documents tab, add default.aspx, and move it to the top of the list.