Visual studio relies on these settings to properly contact any service or site. One symptom you may see is you can browse the sites with Internet explorer but you will be prompted to put in your credentials and it will let you in. If the trusted sites are not setup properly you may get this error when testing the workspace web service URL you may see this error:
"The request failed with HTTP status 401: Unauthorized" when testing connection of the workflow web service URL in K2 Designer.
Also, you may also get the following error when trying to browse the K2 object category servers:
“Object Reference not set to an instance of an object”
Here are the complete configuration settings for internet options taken from the getting started guide in section K2 [blackpearl] Installation Guide > Troubleshooting the Installation > Settings for Internet Explorer:
First, you will need to turn on Windows Integrated Authentication:
1. Open Internet Explorer
2. From the Internet Explorer menu, select Tools > Internet Options
3. Click on the Advanced tab, and then scroll down to the Security section
4. Check the Enable Integrated Windows Authentication check box
5. Click OK
6. Close Internet Explorer
Secondly, you have a choice to make. There are two options, you can either add the K2 Workspace URL to the Local Intranet Zone, or to the Trusted Sites and allow pass through integration of the user's credentials. These options are described below. Please note, you can only select one of the options (meaning, Local Intranet Zone or Trusted Sites, but not both).
Local Intranet Zone
To add the K2 Workspace site to the Local Intranet Zone, perform the following steps:
1. Open Internet Explorer
2. From the Internet Explorer menu, select Tools > Internet Options
3. Click on the Security tab, and then select the Local Intranet Zone
4. Click Sites
5. Click Advanced to open the list of sites in the Local Intranet Zone
6. Type in the K2 Workspace URL and click Add
7. After the site has been added, click Close and then OK twice to exit the Internet Options dialog
Trusted Sites
To add the K2 Workspace site to the Trusted Sites, perform the following steps:
1. Open Internet Explorer
2. From the Internet Explorer menu, select Tools > Internet Options
3. Click on the Security tab, and then select the Trusted Sites
4. Click Sites
5. Click Advanced to open the list of sites in the Local Intranet Zone
6. Type in the K2 Workspace URL and click Add
7. After the site has been added, click Close
8. Click on the Custom level... button on the Security tab
9. Scroll down to the User Authentication section, and select Automatic logon with current user name and password
10. Click OK twice to exit the Internet Options dialog
Cheers,
Franco
The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.