
Technical Notes |
|
When Verastream Host Integrator (VHI) Development Kit and Microsoft Windows SharePoint Services (WSS) are installed on the same machine, Verastream .NET web applications may fail to build. This technical note explains how to edit the trust level set in the web.config file to resolve this issue.
With Microsoft Windows SharePoint Services 2.0 Service Pack 2 installed (a prerequisite for Microsoft BizTalk Server 2006), VHI Web Builder may fail to build .NET Web applications. This issue is a result of an insufficient trust level in web.config being set by SharePoint. When this problem occurs, Web Builder (and the build log) displays an error such as:
"/<project name>/Controller.aspx(2): error ASPPARSE: The current trust level does not allow use of the 'culture' attribute"To resolve this issue, follow these steps to modify the web.config file properties.
<trust level="WSS_Medium"/><pages enableSessionState="true"></pages><httpModules><clear/><add name="Session" type="System.Web.SessionState.SessionStateModule"/></httpModules>The following example shows all of the web.config properties set to enable Verastream web application builds.
<configuration><system.web><httpModules><clear/><add name="Session" type="System.Web.SessionState.SessionStateModule"/></httpModules><pages enableSessionState="true"></pages><trust level="WSS_Medium"/></system.web></configuration>After completing the above steps, re-build your project in Web Builder.