Setup: Custom authentication module: 500 – Internal server error


#1

Issue

When I test my custom authentication module with WorkflowGen I get this error:

500 Internal server error.
There is a problem with the resource you are looking for, and it cannot be
displayed.

Solutions

Please find below the right web.config settings according to your configuration:

Case 1: IIS 7.0+ and App Pool is in “Integrated pipeline” mode

 <system.webServer>  
 <modules>  
 <add name="MyAuthModuleName" type=" MyAuthModuleName.MyModule, MyAuthModuleName "/>  
 </modules>  
 </system.webServer>  
</configuration>```
  
Case 2: IIS 5.0, IIS 6.0 and (IIS 7.0+ and the App Pool is in "Classic pipeline" mode)  
```