Configuring an Anonymous K2 SmartForms Runtime site

In K2, it is possible to create multiple runtime sites with different authentication types in the same server. In this article we will see how to create an anonymous K2 SmartForms Runtime site with anonymous access for public users.

K2 Automated Testing Software

BenchQA allows full test automation of K2, including fully automated K2 SmartForms and K2 Workflow testing. It promotes test driven development for K2 and ensures continued quality assurance for K2 solutions. Easily apply changes to test cases to accommodate changes to K2 apps and ensure all apps are regression tested to avoid defects and assure continuous quality.

DOWNLOAD NOW

BenchQA Logo

 

Free K2 Five Upgrade Review

 

Step 1

Navigate to K2 server installed location and make a copy of the runtime folder

Step 2

To share the same runtime license key, both runtime folder and anonymous runtime folder must be in the same folder level, So Paste the copied folder into the same location as runtime folder and provide a different name for the folder.

If the copied folder is not in the same location, then you can’t access new runtime URL and you will receive an error.

Step 3

Open IIS Manager and add a new application under K2 Site

Step 4

For New application, select application pool as same as original runtime site

Specify Alias name and copy the anonymous runtime folder location and specify in the physical path.

Step 5

For newly created application, set IIS authentication to ONLY anonymous authentication.

Change the below configurations in web.config file under newly created anonymous runtime folder

  1. Set ConnectAsAppPool to “true”
  2. Under the <authorization> node comment out the <deny users=”?” />
  3. Uncomment the <allow users=”*” />.

Step 6

Verify the new Runtime URL and that should be “https://ServerURL/AliasName/Runtime”

Need further technical advice or support?

Contact Us

You may also like

Please complete the below form and a member of the Velocity IT team will call you back.



INSTANT ESTIMATE