<?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>IIS7 &#8211; Tjitjing Blog</title>
	<atom:link href="http://localhost/index.php/tag/iis7/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.tjitjing.com/</link>
	<description>This is my blog on technology related stuff and on occation other things too...</description>
	<lastBuildDate>Tue, 24 Jun 2014 19:00:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.16</generator>
	<item>
		<title>Solution: Bootstrap glyphicons-halflings-regular.woff 404 not found</title>
		<link>https://blog.tjitjing.com/index.php/2014/06/solution-bootstrap-glyphicons-halflings-regular-woff-404-not-found.html</link>
					<comments>https://blog.tjitjing.com/index.php/2014/06/solution-bootstrap-glyphicons-halflings-regular-woff-404-not-found.html#comments</comments>
		
		<dc:creator><![CDATA[Max]]></dc:creator>
		<pubDate>Tue, 24 Jun 2014 19:00:44 +0000</pubDate>
				<category><![CDATA[IIS (Internet Information Server)]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Server Admin]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[Bootstrap]]></category>
		<category><![CDATA[Glyphicons]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<guid isPermaLink="false">http://blog.tjitjing.com/?p=668</guid>

					<description><![CDATA[I&#8217;m testing out Bootstrap 3.1.1 by redoing the design of a very old site of mine, running on Php 5.3 on a Windows 2008/IIS 7 server. The new version of the site has been slow at loading the icons (wich are a Glyphicons web font) for buttons and when I check the Javascript console in Chrome&#8230; <a class="more-link" href="https://blog.tjitjing.com/index.php/2014/06/solution-bootstrap-glyphicons-halflings-regular-woff-404-not-found.html">Continue reading <span class="screen-reader-text">Solution: Bootstrap glyphicons-halflings-regular.woff 404 not found</span></a>]]></description>
										<content:encoded><![CDATA[<p>I&#8217;m testing out <a href="http://getbootstrap.com/" target="_blank" rel="noopener noreferrer">Bootstrap 3.1.1</a> by redoing the design of a <a title="GoSeller Gratis CRM" href="http://www.goseller.com/" target="_blank" rel="noopener noreferrer">very old site of mine</a>, running on Php 5.3 on a Windows 2008/IIS 7 server.</p>
<p>The new version of the site has been slow at loading the icons (wich are a <a href="http://glyphicons.com/" target="_blank" rel="noopener noreferrer">Glyphicons</a> web font) for buttons and when I check the Javascript console in Chrome (Ctrl+Shift+J) it shows the following error:</p>
<p>[code]GET /fonts/glyphicons-halflings-regular.woff 404 (Not Found)[/code]</p>
<p>After much testing and Googling it turns out my old IIS server does not have Mime types registered for .woff files.</p>
<p>So I go in to the IIS console, click MIME Types icon and add .woff as application/octet-stream &#8211; problem solved!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.tjitjing.com/index.php/2014/06/solution-bootstrap-glyphicons-halflings-regular-woff-404-not-found.html/feed</wfw:commentRss>
			<slash:comments>18</slash:comments>
		
		
			</item>
		<item>
		<title>ASP.NET 4.0 Chart Control Problems on IIS7</title>
		<link>https://blog.tjitjing.com/index.php/2010/06/asp-net-4-0-chart-control-problems-on-iis7.html</link>
					<comments>https://blog.tjitjing.com/index.php/2010/06/asp-net-4-0-chart-control-problems-on-iis7.html#comments</comments>
		
		<dc:creator><![CDATA[Max]]></dc:creator>
		<pubDate>Mon, 28 Jun 2010 21:41:34 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[VB.NET]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[.NET Framework 4.0]]></category>
		<category><![CDATA[ASP.NET 4.0]]></category>
		<category><![CDATA[ASP.NET Chart Control]]></category>
		<category><![CDATA[ASP.NET Routing]]></category>
		<category><![CDATA[IIS7]]></category>
		<guid isPermaLink="false">http://blog.tjitjing.com/?p=270</guid>

					<description><![CDATA[I have been playing around with the ASP.NET 4.0 Chart Controls for a new web site (Bilvärdet.se &#8211; used car price statistics) When deploying it to IIS7 on my Windows Server 2008 I ran in to a few problems: 1) I did not have .NET 4.0 Framework installed on the server 🙂 It turns out&#8230; <a class="more-link" href="https://blog.tjitjing.com/index.php/2010/06/asp-net-4-0-chart-control-problems-on-iis7.html">Continue reading <span class="screen-reader-text">ASP.NET 4.0 Chart Control Problems on IIS7</span></a>]]></description>
										<content:encoded><![CDATA[<p>I have been playing around with <strong>the <a href="http://code.msdn.microsoft.com/mschart" target="_blank" rel="noopener noreferrer">ASP.NET 4.0 Chart Controls</a></strong> for a new web site (<a href="http://www.bilvardet.se/" target="_blank" rel="noopener noreferrer">Bilvärdet.se &#8211; used car price statistics</a>)</p>
<p>When deploying it to IIS7 on my Windows Server 2008 I ran in to a few problems:</p>
<h3>1) <strong>I did not have .NET 4.0 Framework installed on the server</strong></h3>
<p><img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> It turns out <a href="http://en.wikipedia.org/wiki/.NET_Framework" target="_blank" rel="noopener noreferrer">.NET 4.0 Framework</a> is an optional update in Windows Update and for some reason that I could not figure out failed to install (error code: 80200053) Solution that worked: <a href="http://www.microsoft.com/web/gallery/install.aspx?appid=NETFramework4" target="_blank" rel="noopener noreferrer">Manually installed it</a>. I had to use a tool that was new to me, <a href="http://www.microsoft.com/web/" target="_blank" rel="noopener noreferrer">the Microsoft Web Platform Installer (Web PI)</a>. Seems to be a cool tool to download, install and configure all sorts of software (incl WordPress, Dupral, Joomla) on Windows, will check this out in more detail in the future.<br />
Don&#8217;t forget to change the Application Pool for your Web Site/Web Application in IIS Manager to use .NET Framework 4.0</p>
<h3>2) Next problem, error message: <strong>An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode</strong></h3>
<p>This turned out to be a few lines of code in web.config that seems to be needed on my development machine (Windows7 and Visual Studio 2010) but causes problems on IIS7.</p>
<p>Just removed this section from production web.config on server and it worked:</p>
<p>[code lang=&#8221;xml&#8221;]&lt;httpHandlers&gt;<br />
     &lt;add path=&quot;ChartImg.axd&quot; verb=&quot;GET,HEAD,POST&quot;<br />
     type=&quot;System.Web.UI.DataVisualization.Charting.ChartHttpHandler,<br />
     System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral,<br />
     PublicKeyToken=31bf3856ad364e35&quot; validate=&quot;false&quot;/&gt;<br />
&lt;/httpHandlers&gt; [/code]</p>
<p>Thanks to <a href="http://mnarinsky.blogspot.com/2010/06/aspnet-40-chart-control-breaks-iis-70.html" target="_blank" rel="noopener noreferrer">Michael Narinsky</a> for pointing this out.</p>
<h3>3) Image file directory problems</h3>
<p><strong>First error message: Invalid temp directory in chart handler configuration c:\TempImageFiles\ </strong></p>
<p>Solution: Changed dir in ChartImageHandler app settings in web.config</p>
<p>[code lang=&#8221;xml&#8221;]&lt;appSettings&gt;<br />
     &lt;add key=&quot;ChartImageHandler&quot; value=&quot;storage=file;timeout=20;dir=c:\TempImageFiles\;&quot;/&gt;<br />
&lt;/appSettings&gt; [/code]</p>
<p><strong>Then this error message: The temp directory in chart handler configuration is not accessible</strong><strong> c:\xxx\images\</strong></p>
<p>Followed error message suggestion and added access rights to directory (Properties &#8211; Security tab) for user NETWORK SERVICE</p>
<p><em>[Update: Other error message that can appear:<br />
a) &#8220;Access to the path &#8216;C:\xxx\images\charts\chart.png&#8217; is denied.&#8221; &#8211; this is the same as above, add rights for NETWORK SERVICE<br />
b) &#8220;Could not find a part of the path &#8216;C:\xxx\images\charts\chart.png&#8217;.&#8221;  &#8211; make sure directory exists or create it]<br />
</em></p>
<h3>4) Charts not rendering with ASP.NET Routing</h3>
<p>I&#8217;m using <a href="http://msdn.microsoft.com/en-us/library/cc668201.aspx" target="_blank" rel="noopener noreferrer">ASP.NET 4.0 Routing</a> but this seems to be something Charts are not working well with. Charts are showing up as broken links. If you are using routing, you need to make sure ChartImg.axd is ignored. Add Ignore (or IgnoreRoute) and &#8211; this took me quite some time to figure out &#8211; make sure you add these before any MapPageRoute or it will not work!</p>
<p>This is what I added in VB.NET, add one line per level in virtual/route folder structure &#8211; first line is for root, second line for one subdirectory level, third line for two subdirectory levels.</p>
<p>[code lang=&#8221;vb&#8221;]routes.Ignore(&quot;ChartImg.axd/{*pathInfo}&quot;)<br />
routes.Ignore(&quot;{controller}/ChartImg.axd/{*pathInfo}&quot;)<br />
routes.Ignore(&quot;{controller}/{action}/ChartImg.axd/{*pathInfo}&quot;)[/code]</p>
<p><a href="http://stackoverflow.com/questions/319835/new-asp-net-charting-controls-will-they-work-with-mvc-eventually" target="_blank" rel="noopener noreferrer">Thanks to Simon Steele</a>.</p>
<p>BTW &#8211; <a href="http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx" target="_blank" rel="noopener noreferrer">Another nice link about ASP.NET Chart Control</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.tjitjing.com/index.php/2010/06/asp-net-4-0-chart-control-problems-on-iis7.html/feed</wfw:commentRss>
			<slash:comments>12</slash:comments>
		
		
			</item>
		<item>
		<title>Install cURL PHP Extension on Windows IIS</title>
		<link>https://blog.tjitjing.com/index.php/2010/06/install-curl-php-extension-on-windows-iis.html</link>
					<comments>https://blog.tjitjing.com/index.php/2010/06/install-curl-php-extension-on-windows-iis.html#comments</comments>
		
		<dc:creator><![CDATA[Max]]></dc:creator>
		<pubDate>Mon, 07 Jun 2010 13:46:05 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[IIS7]]></category>
		<guid isPermaLink="false">http://blog.tjitjing.com/?p=245</guid>

					<description><![CDATA[I tried to run a new PHP script that someone else wrote for me on my Windows Server 2008 and got some errors relating to cURL such as this: Fatal error: Call to undefined function curl_multi_init() First I spent a lot of time trying to find information on how to install cURL on a Windows&#8230; <a class="more-link" href="https://blog.tjitjing.com/index.php/2010/06/install-curl-php-extension-on-windows-iis.html">Continue reading <span class="screen-reader-text">Install cURL PHP Extension on Windows IIS</span></a>]]></description>
										<content:encoded><![CDATA[<p>I tried to run a new PHP script that someone else wrote for me on my Windows Server 2008 and got some errors relating to cURL such as this:</p>
<blockquote><p>Fatal error: Call to undefined function curl_multi_init() </p></blockquote>
<p>First I spent a lot of time trying to find information on how to install cURL on a Windows IIS installation, downloaded the cURL package, moved around files, copied to c:\windows\system32, updated php.ini and did all sorts of things described in forums, blogs and manuals but could not get it to work. </p>
<p><strong>Finally I decided to upgrade my PHP from 5.3.1 to the latest 5.3.2 release. I <a target="_blank" href="http://windows.php.net/download/" rel="noopener noreferrer">downloaded the PHP Windows MSI installer</a> and there in the Setup Wizard you can simply select what extensions you want to install. Selected cURL and it worked like a charm <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> I guess it was just to easy&#8230;<br />
</strong></p>
<p>(I post about this not only to let everyone know how stupid I am but since I could not find this info anywhere it could be good to document it)</p>
<p>I also tried running the installer again in &#8220;Change&#8221; mode to add and remove Extensions and the installer seems to be doing a pretty good job at adding and removing files + updating php.ini the way you would expect it to. </p>
<p>At one point I tried installing all Extensions but that got me in to trouble giving me a &#8220;oci.dll not found&#8221; trying to load an Oracle dll. My tip here is to install only the extensions you need or at least not any related to databases you do not use.</p>
<p>After clicking &#8220;Next&#8221; when you have selected what Extensions to install, the setup wizard may tell you files are locked and you have to restart the server after installing. A way to avoid this can be to (before clicking &#8220;Next&#8221;) stop the World Wide Web Publishing Service (from command line: NET STOP W3SVC). Just remember to start it again after!</p>
<p>Extensions available from install package in 5.3.2<br />
bzip2<br />
Curl<br />
Enchant<br />
EXIF<br />
Fileinfo<br />
GD2<br />
Gettext<br />
GMP<br />
IMAP<br />
Internationalization (intl)<br />
LDAP<br />
Multi-Byte String<br />
MySQL<br />
MySQLi<br />
OpenSSL<br />
Oracle (10)<br />
Oracle (11g)<br />
PDO<br />
PostgreSQL<br />
Shared Memory<br />
SNMP<br />
SOAP<br />
Sockets<br />
SQLite<br />
SQLite 3<br />
Tidy<br />
XML-RPC<br />
XSL</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.tjitjing.com/index.php/2010/06/install-curl-php-extension-on-windows-iis.html/feed</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>WordPress on Windows/IIS cannot upgrade, add plugins, upload themes</title>
		<link>https://blog.tjitjing.com/index.php/2010/02/wordpress-on-windowsiis-cannot-upgrade-add-plugins-upload-themes.html</link>
					<comments>https://blog.tjitjing.com/index.php/2010/02/wordpress-on-windowsiis-cannot-upgrade-add-plugins-upload-themes.html#comments</comments>
		
		<dc:creator><![CDATA[Max]]></dc:creator>
		<pubDate>Wed, 24 Feb 2010 15:16:35 +0000</pubDate>
				<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">http://blog.tjitjing.com/?p=232</guid>

					<description><![CDATA[I have been struggling with this one ever since I moved my WordPress installation from my old Windows 2003 server to a new Windows Server 2008 machine. If I try to use &#8220;automatic upgrade&#8221; to upgrade to the latest WordPress release or upgrade or add a new plugin I get to the &#8220;Connection Information&#8221; page&#8230; <a class="more-link" href="https://blog.tjitjing.com/index.php/2010/02/wordpress-on-windowsiis-cannot-upgrade-add-plugins-upload-themes.html">Continue reading <span class="screen-reader-text">WordPress on Windows/IIS cannot upgrade, add plugins, upload themes</span></a>]]></description>
										<content:encoded><![CDATA[<p>I have been struggling with this one ever since I moved my WordPress installation from my old Windows 2003 server to a new Windows Server 2008 machine. If I try to use &#8220;automatic upgrade&#8221; to upgrade to the latest WordPress release or upgrade or add a new plugin I get to the &#8220;Connection Information&#8221; page asking me to fill out ftp host name, user name and password. When I try to upload a new WordPress theme I get 500 Internal Server Error. I have understood that this is a permissions problem in the file system but have failed to be able to solve it.<br />
I have been trying to give various users and groups permissions on the everything from the entire wordpress directory to the wp-content folder.<br />
<strong><br />
However what I did not realize until today is that (at least in my Windows installation) the group IIS_IUSRS does not have any group members but I should instead give the user IUSR permissions. Too easy&#8230; <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
So simply do this: give user IUSR Modify and Write permissions to your WordPress directory.</strong></p>
<p>Finally!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.tjitjing.com/index.php/2010/02/wordpress-on-windowsiis-cannot-upgrade-add-plugins-upload-themes.html/feed</wfw:commentRss>
			<slash:comments>10</slash:comments>
		
		
			</item>
		<item>
		<title>PHP 5.3.1 upgrade on IIS7 and MySQL gives Internal Server Error</title>
		<link>https://blog.tjitjing.com/index.php/2010/02/php-5-3-1-upgrade-on-iis7-and-mysqlgives-internal-server-error.html</link>
					<comments>https://blog.tjitjing.com/index.php/2010/02/php-5-3-1-upgrade-on-iis7-and-mysqlgives-internal-server-error.html#comments</comments>
		
		<dc:creator><![CDATA[Max]]></dc:creator>
		<pubDate>Wed, 24 Feb 2010 14:36:20 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Windows Server]]></category>
		<guid isPermaLink="false">http://blog.tjitjing.com/?p=225</guid>

					<description><![CDATA[Solution After a lot of googling and testing I finally found Bruce Kirkpatrick&#8217;s comment at the end of the PHP install manual Seems it is no longer enough to have localhost in the servers local hosts file (C:\Windows\System32\drivers\etc\hosts) you also have to comment out or remove the IPv6 equivalent. 127.0.0.1 localhost #::1 localhost After I&#8230; <a class="more-link" href="https://blog.tjitjing.com/index.php/2010/02/php-5-3-1-upgrade-on-iis7-and-mysqlgives-internal-server-error.html">Continue reading <span class="screen-reader-text">PHP 5.3.1 upgrade on IIS7 and MySQL gives Internal Server Error</span></a>]]></description>
										<content:encoded><![CDATA[<h2>Solution</h2>
<p>After a lot of googling and testing I finally found <a href="http://www.php.net/manual/en/install.windows.iis7.php">Bruce Kirkpatrick&#8217;s comment at the end of the PHP install manual</a></p>
<p><strong>Seems it is no longer enough to have localhost in the servers local hosts file (C:\Windows\System32\drivers\etc\hosts) you also have to comment out or remove the IPv6 equivalent.</strong></p>
<blockquote><p><code>127.0.0.1       localhost<br />
#::1             localhost</code></p></blockquote>
<p>After I did this everything worked ok again. Thanks Bruce!</p>
<h2>Problem</h2>
<p>I just upgraded PHP on my Windows Server 2008 running IIS7 from PHP 5.2.10 to 5.3.1. Used the non-threaded install package and installed for FastCGI.</p>
<p>After the upgrade installation worked fine for some non-database driven pages and phpinfo worked fine but whenever a page tries to accessed the MySQL database the browser only gave me a 500 Internal Server Error.</p>
<p>Checking the php error log (C:\Windows\Temp\php-errors.log) I get messages like this:</p>
<blockquote><p><code>[24-Feb-2010 13:44:36] PHP Warning:  mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: [2002] A connection attempt failed because the connected party did not  (trying to connect via tcp://localhost:3306) in C:\inetpub\wwwroot\XXX\init_page.inc on line 32<br />
[24-Feb-2010 13:44:36] PHP Warning:  mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.<br />
in C:\inetpub\wwwroot\XXX\init_page.inc on line 32<br />
[24-Feb-2010 13:44:36] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in C:\inetpub\wwwroot\XXX\init_page.inc on line 32</code></p></blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.tjitjing.com/index.php/2010/02/php-5-3-1-upgrade-on-iis7-and-mysqlgives-internal-server-error.html/feed</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
