<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SharePoint Geek &#187; web.config</title>
	<atom:link href="http://sharepoint-geek.com/category/web-config/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepoint-geek.com</link>
	<description>SharePoint Tips &#38; Tricks</description>
	<lastBuildDate>Thu, 29 Jul 2010 19:19:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>A potentially dangerous Request.Form value</title>
		<link>http://sharepoint-geek.com/2010/01/07/a-potentially-dangerous-request-form-value/</link>
		<comments>http://sharepoint-geek.com/2010/01/07/a-potentially-dangerous-request-form-value/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 18:00:00 +0000</pubDate>
		<dc:creator>stewart</dc:creator>
				<category><![CDATA[MOSS]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[logs]]></category>
		<category><![CDATA[sharepoint security]]></category>
		<category><![CDATA[web.config]]></category>
		<category><![CDATA[wss]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://sharepoint-geek.com/2010/01/07/a-potentially-dangerous-request-form-value/</guid>
		<description><![CDATA[We were having trouble adding a user to a site collection.&#160; Every time we hit the search button or clicked the check userid button the system would just sit there and spin. I added the following section of the web.config to resolve the issue. &#60;/compilation&#62; &#60;pages enableSessionState=&#34;false&#34; enableViewState=&#34;true&#34; enableViewStateMac=&#34;true&#34; validateRequest=&#34;false&#34; pageParserFilterType=&#34;Microsoft.SharePoint.ApplicationRuntime.SPPageParserFilter, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>We were having trouble adding a user to a site collection.&#160; Every time we hit the search button or clicked the check userid button the system would just sit there and spin. I added the following section of the web.config to resolve the issue.</p>
<div style="border-right: #ccc 1px solid; border-top: #ccc 1px solid; overflow: auto; border-left: #ccc 1px solid; width: 100%; border-bottom: #ccc 1px solid; height: 200px">
<pre class="csharpcode"><span class="kwrd">&lt;/</span><span class="html">compilation</span><span class="kwrd">&gt;</span>
  <span class="kwrd">&lt;</span><span class="html">pages</span> <span class="attr">enableSessionState</span><span class="kwrd">=&quot;false&quot;</span> <span class="attr">enableViewState</span><span class="kwrd">=&quot;true&quot;</span> <span class="attr">enableViewStateMac</span><span class="kwrd">=&quot;true&quot;</span> <span class="attr">validateRequest</span><span class="kwrd">=&quot;false&quot;</span> <span class="attr">pageParserFilterType</span><span class="kwrd">=&quot;Microsoft.<a href="http://sharepoint-geek.com/tag/sharepoint/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Sharepoint">SharePoint</a>.ApplicationRuntime.SPPageParserFilter, Microsoft.<a href="http://sharepoint-geek.com/tag/sharepoint/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Sharepoint">SharePoint</a>, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot;</span> <span class="attr">asyncTimeout</span><span class="kwrd">=&quot;7&quot;</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;</span><span class="html">namespaces</span><span class="kwrd">&gt;</span>
      <span class="kwrd">&lt;</span><span class="html">remove</span> <span class="attr">namespace</span><span class="kwrd">=&quot;System.Web.UI.WebControls.WebParts&quot;</span> <span class="kwrd">/&gt;</span>
    <span class="kwrd">&lt;/</span><span class="html">namespaces</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;</span><span class="html">tagMapping</span><span class="kwrd">&gt;</span>
      <span class="kwrd">&lt;</span><span class="html">add</span> <span class="attr">tagType</span><span class="kwrd">=&quot;System.Web.UI.WebControls.SqlDataSource, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot;</span> <span class="attr">mappedTagType</span><span class="kwrd">=&quot;Microsoft.<a href="http://sharepoint-geek.com/tag/sharepoint/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Sharepoint">SharePoint</a>.WebControls.SPSqlDataSource, Microsoft.<a href="http://sharepoint-geek.com/tag/sharepoint/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Sharepoint">SharePoint</a>, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot;</span> <span class="kwrd">/&gt;</span>
    <span class="kwrd">&lt;/</span><span class="html">tagMapping</span><span class="kwrd">&gt;</span>
  <span class="kwrd">&lt;/</span><span class="html">pages</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">siteMap</span> <span class="attr">defaultProvider</span><span class="kwrd">=&quot;SPSiteMapProvider&quot;</span> <span class="attr">enabled</span><span class="kwrd">=&quot;true&quot;</span><span class="kwrd">&gt;</span></pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
</div>
<p>The error that we were getting in the trace logs is similar to below.</p>
<div style="border-right: #ccc 1px solid; border-top: #ccc 1px solid; overflow: auto; border-left: #ccc 1px solid; width: 100%; border-bottom: #ccc 1px solid; height: 50px">
<pre class="csharpcode">Exception Type: System.Web.HttpRequestValidationException  Exception Message: A potentially dangerous Request.Form value was detected from the client (ctl00$PlaceHolderDialogBodySection$ctl04$OriginalEntities=&quot;&lt;Entities /&gt;&quot;).</pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
</div>
<p>via <a href="http://blog.solien.com/archive/2009/10/27/sharepoint-a-potentially-dangerous-request.form-value-was-detected-from-the.aspx" target="_blank">Solien Technology</a></p>

	Tags: <a href="http://sharepoint-geek.com/category/errors/" title="errors" rel="tag">errors</a>, <a href="http://sharepoint-geek.com/category/logs/" title="logs" rel="tag">logs</a>, <a href="http://sharepoint-geek.com/category/moss/" title="MOSS" rel="tag">MOSS</a>, <a href="http://sharepoint-geek.com/tag/sharepoint/" title="Sharepoint" rel="tag">Sharepoint</a>, <a href="http://sharepoint-geek.com/category/sharepoint-security/" title="sharepoint security" rel="tag">sharepoint security</a>, <a href="http://sharepoint-geek.com/tag/sql/" title="sql" rel="tag">sql</a>, <a href="http://sharepoint-geek.com/category/web-config/" title="web.config" rel="tag">web.config</a>, <a href="http://sharepoint-geek.com/category/wss/" title="wss" rel="tag">wss</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://sharepoint-geek.com/2009/11/05/sharepoint-alerts-not-working/" title="SharePoint Alerts Not Working (November 5, 2009)">SharePoint Alerts Not Working</a> (5)</li>
	<li><a href="http://sharepoint-geek.com/2009/10/07/wssremovefeaturefromsite-bat-file/" title="WssRemoveFeatureFromSite + BAT File (October 7, 2009)">WssRemoveFeatureFromSite + BAT File</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2009/10/07/wss-v3-moss-2007-features/" title="WSS v3 &amp; MOSS 2007 Features (October 7, 2009)">WSS v3 &amp; MOSS 2007 Features</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2009/11/06/unable-to-enable-office-sharepoint-server-publishing/" title="Unable To Enable Office SharePoint Server Publishing (November 6, 2009)">Unable To Enable Office SharePoint Server Publishing</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2009/05/21/unable-to-activate-office-sharepoint-server-publishing-infrastructure/" title="Unable To Activate Office SharePoint Server Publishing Infrastructure (May 21, 2009)">Unable To Activate Office SharePoint Server Publishing Infrastructure</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://sharepoint-geek.com/2010/01/07/a-potentially-dangerous-request-form-value/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
