# Setup: Workflow Application: Raise Exception: Error "InternalServerError"

**URL:** <https://discuss.workflowgen.com/t/setup-workflow-application-raise-exception-error-internalservererror/474>\
**Category:** Workflow Applications\
**Created:** [December 20, 2013, 1:59am UTC](https://discuss.workflowgen.com/t/setup-workflow-application-raise-exception-error-internalservererror/474 "2013-12-20T01:59:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [December 20, 2013, 1:59am UTC](https://discuss.workflowgen.com/t/setup-workflow-application-raise-exception-error-internalservererror/474/1 "2013-12-20T01:59:06Z")

</div>

This article only applies for WorkflowGen version 5.6.2 and earlier.  
As of version 5.6.3, RAISEEXCEPTION doesn’t use authentication parameters defined in the workflow application and in the `web.config` file.

### Issue

When you launch a RAISEEXCEPTION action an error is triggered with the following error displayed in the Portal Action Follow-up form:

```auto
CODE : ErrorWebprocCall (#205)SOURCE : WebProcExecuteMESSAGE : Error Unauthorized ....

```

### Solution

1. Edit the RAISEEXCEPTION configuration file (`/wfgen/wfapps/webservices/raiseexception/web.config`) and check the following entries:

2. Add the following entry in the same `web.config` file if not already defined:

### Notes

- The RAISEEXCEPTION workflow application has to be secured with Basic authentication; form authentication is not supported. The same authentication requirement applies to all workflow applications in the `/wfgen/wfapps/WebServices` folder.

- For WorkflowGen versions prior to v5.6.3, the RAISEEXCEPTION workflow application doesn’t work when the WorkflowGen Portal is secured with Form authentication.
