<?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>Dev Team Assemble &#187; IIS</title>
	<atom:link href="http://www.calvinirwin.net/category/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.calvinirwin.net</link>
	<description>Evil beware!</description>
	<lastBuildDate>Mon, 06 Feb 2012 18:42:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SharePoint, Webservices and URL Rewrite&#8230;</title>
		<link>http://www.calvinirwin.net/2010/07/28/sharepoint-webservices-and-url-rewrite/</link>
		<comments>http://www.calvinirwin.net/2010/07/28/sharepoint-webservices-and-url-rewrite/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 12:55:01 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[url rewriter]]></category>
		<category><![CDATA[WebServices]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=255</guid>
		<description><![CDATA[So I was having a strange problem in SharePoint the other day trying to run a webservice from a client script.  Every time I called the service (in this case and .asmx in the layouts dir) it was doing nothing...no communication at all with the service.  What made this particularly strange is that this exact [...]]]></description>
			<content:encoded><![CDATA[<p>So I was having a strange problem in SharePoint the other day trying to run a webservice from a client script.  Every time I called the service (in this case and .asmx in the layouts dir) it was doing nothing...no communication at all with the service.  What made this particularly strange is that this exact same setup was working fine for everyone else in my team...figures.</p>
<p>When I ran the web methods from the service page itself (which loaded just fine) I got the following error :<a href="/ThreadNavigation.aspx?PostID=1278431&amp;NavType=Previous"><span> </span></a> <strong>Request format is unrecognized for URL unexpectedly ending in  '/[webmethod_name]'.</strong> Didn't make sense...I checked my web configuration and compared it against the other people in my team and all was well.  I tried following Microsoft's recommendation of adding the following snippet to the system.web section of the config file.</p>
<p>&lt;<span>webServices</span>&gt;<br />
&lt;<span>protocols</span>&gt;<br />
&lt;<span>add</span><span> name=</span><span>"HttpGet"</span>/&gt;<br />
&lt;<span>add</span><span> name=</span><span>"HttpPost"</span>/&gt;<br />
&lt;/<span>protocols</span>&gt;<br />
&lt;/<span>webServices</span>&gt;</p>
<p>All the above did was give me a 500 error.</p>
<p>After spending waaaaaaaaay to much time on the problem...a colleague of mine and I finally discovered that it was due to the Lower case rewrite inbound rule (converts the entire address to lower case).  Apparently webmethod names are case sensitive in the address bar (this was not a SharePoint problem)...the documentation is here on msdn:  <a href="http://msdn.microsoft.com/en-us/library/0c515353(VS.71).aspx">http://msdn.microsoft.com/en-us/library/0c515353(VS.71).aspx </a></p>
<p>So turning off the rule and everything started to work again.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/url+rewriter' rel='tag' target='_self'>url rewriter</a>, <a class='technorati-link' href='http://technorati.com/tag/WebServices' rel='tag' target='_self'>WebServices</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2010/07/28/sharepoint-webservices-and-url-rewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>503 Error SharePoint &#8211; Service Unavailable</title>
		<link>http://www.calvinirwin.net/2009/09/08/503-error-sharepoint-service-unavailable/</link>
		<comments>http://www.calvinirwin.net/2009/09/08/503-error-sharepoint-service-unavailable/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 03:32:28 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[wsp builder]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=199</guid>
		<description><![CDATA[I started getting this error recently on my development box after I started using WSP Builder.  I really like this program but I was a little put off by this error.  Obvisouly it is recycling  the worker process or something along those lines (too lazy to look it up).  I am fine with it when it comes [...]]]></description>
			<content:encoded><![CDATA[<p>I started getting this error recently on my development box after I started using WSP Builder.  I really like this program but I was a little put off by this error.  Obvisouly it is recycling  the worker process or something along those lines (too lazy to look it up).  I am fine with it when it comes back online after a few seconds but I was having instances where it was hanging there...stuck in 503 limbo. </p>
<p>Turns out the problem is the application pool is stuck in a stopped state and the fix is simply enough to restart it.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/error' rel='tag' target='_self'>error</a>, <a class='technorati-link' href='http://technorati.com/tag/IIS' rel='tag' target='_self'>IIS</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/wsp+builder' rel='tag' target='_self'>wsp builder</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/09/08/503-error-sharepoint-service-unavailable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>URL Rewriter</title>
		<link>http://www.calvinirwin.net/2009/07/26/url-rewriter/</link>
		<comments>http://www.calvinirwin.net/2009/07/26/url-rewriter/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 18:59:46 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[url rewriter]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=25</guid>
		<description><![CDATA[I came across this neat tool (well a colleague of mine did and told me about it) from Helicon called URL Rewriter. Basically it allows you to use an ISAPI filter to rewrite the url that the server uses to work with in IIS and is essentially a copy of the mod_rewrite utility available in [...]]]></description>
			<content:encoded><![CDATA[<p>I came across this neat tool (well a colleague of mine did and told me about it) from Helicon called<a href="http://www.helicontech.com/"> URL Rewriter</a>. Basically it allows you to use an ISAPI filter to rewrite the url that the server uses to work with in IIS and is essentially a copy of the mod_rewrite utility available in Apache.</p>
<p>It uses Regular expressions...so if you are not an expert in those (as I am clearly not) then this little tidbit of code may help. It allows you to rewrite the url that comes in as subdomain.domain.com as domain.com/subdomain. The top portion is the header and sets up logging and such...the real meat is the last two lines.</p>
<p>Here it is</p>
<p># Helicon ISAPI_Rewrite configuration file<br />
# Version 3.1.0.48<br />
RewriteEngine On<br />
RewriteCompatibility2 On<br />
RepeatLimit 200<br />
RewriteBase<br />
ReWriteLog C:\rewrite.log<br />
RewriteLogLevel 9</p>
<p>RewriteCond %{HTTP_HOST} ^(?!www)(\w+).christiedigital\.com<br />
RewriteRule (.*) /%1/$1 [L]</p>
<p>Hope this helps</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Development' rel='tag' target='_self'>Development</a>, <a class='technorati-link' href='http://technorati.com/tag/IIS' rel='tag' target='_self'>IIS</a>, <a class='technorati-link' href='http://technorati.com/tag/mod_rewrite' rel='tag' target='_self'>mod_rewrite</a>, <a class='technorati-link' href='http://technorati.com/tag/url+rewriter' rel='tag' target='_self'>url rewriter</a>, <a class='technorati-link' href='http://technorati.com/tag/Windows' rel='tag' target='_self'>Windows</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/07/26/url-rewriter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access Denied &#8211; Enabling Publishing Features in SharePoint</title>
		<link>http://www.calvinirwin.net/2009/07/26/access-denied-enabling-publishing-features-in-sharepoint/</link>
		<comments>http://www.calvinirwin.net/2009/07/26/access-denied-enabling-publishing-features-in-sharepoint/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 18:53:26 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=20</guid>
		<description><![CDATA[This is kind of of a weird error and it didn't make sense to me at first (still doesn't really). The best workaround I could find on the net was to temporarily change the application to run in the application pool of the central admin site.
Steps:

Change the AppPool for the app to be the same [...]]]></description>
			<content:encoded><![CDATA[<p>This is kind of of a weird error and it didn't make sense to me at first (still doesn't really). The best workaround I could find on the net was to temporarily change the application to run in the application pool of the central admin site.</p>
<p>Steps:</p>
<ol>
<li>Change the AppPool for the app to be the same as the Central Admin site (Home Directory tab in IIS website properties).</li>
<li>Reset IIS or at the very least do an %systemroot%\system32\iisapp.vbs /a "apppoolname" /r (not sure if the iisapp.vbs method will work but cant see why not).</li>
<li>Activate the publishing infrastructure.</li>
<li>Set the app pool back to normal.</li>
<li>repeat step 2.</li>
</ol>
<p>Enjoy!</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/error' rel='tag' target='_self'>error</a>, <a class='technorati-link' href='http://technorati.com/tag/IIS' rel='tag' target='_self'>IIS</a>, <a class='technorati-link' href='http://technorati.com/tag/Security' rel='tag' target='_self'>Security</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/07/26/access-denied-enabling-publishing-features-in-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

