<?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>SteelBytes.NeT</title>
	<atom:link href="http://www.steelbytes.net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.steelbytes.net</link>
	<description>Converting bytes to knowledge</description>
	<lastBuildDate>Thu, 19 Apr 2012 10:04:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Logon error: &#8220;The User Profile Service service failed the logon&#8221;</title>
		<link>http://www.steelbytes.net/logon-error-the-user-profile-service-service-failed-the-logon</link>
		<comments>http://www.steelbytes.net/logon-error-the-user-profile-service-service-failed-the-logon#comments</comments>
		<pubDate>Thu, 19 Apr 2012 08:40:57 +0000</pubDate>
		<dc:creator>Paolo</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[failed to logon]]></category>
		<category><![CDATA[logon error]]></category>
		<category><![CDATA[logon fail]]></category>
		<category><![CDATA[user profile service]]></category>

		<guid isPermaLink="false">http://www.steelbytes.net/logon-error-the-user-profile-service-service-failed-the-logon</guid>
		<description><![CDATA[An user may receive an error “The User Profile Service service failed the logon. User profile cannot be loaded.” when logging on to a Windows machine. This problem can be solved in two ways. Solution 1: Follow the steps in this article: http://support.microsoft.com/kb/947215 This solution includes renaming of the registry keys which contain the profile [...]]]></description>
			<content:encoded><![CDATA[<p>An user may receive an error “The User Profile Service service failed the logon. User profile cannot be loaded.” when logging on to a Windows machine. </p>
<p><a href="http://www.steelbytes.net/wp-content/uploads/2012/04/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.steelbytes.net/wp-content/uploads/2012/04/image_thumb.png" width="469" height="238" /></a></p>
<p>This problem can be solved in two ways. </p>
<p><strong>Solution 1:</strong></p>
<p>Follow the steps in this article: <a title="http://support.microsoft.com/kb/947215" href="http://support.microsoft.com/kb/947215">http://support.microsoft.com/kb/947215</a></p>
<p>This solution includes renaming of the registry keys which contain the profile information. If this solution does not work, try the following solution.</p>
<p><strong>Solution 2:</strong></p>
<p>The security rights on the ‘Default’ user folder must be corrected. Follow these steps:</p>
<p>1. Login with the local administrator account (if not possible, try to open a remote connection to the administrative share which contains the Users folder: <a href="file://\\computername\c$">\\computername\c$</a>)     <br />2. Navigate to your %systemdrive%\Users folder (commonly C:\Users).     <br />3. Open the <em>Properties</em> of the folder and select <em>Security</em>.     <br />4. Click <em>Advanced.      <br />5. </em>Click <em>Change Permissions.      <br /></em>6. Check<em> Include inheritable permissions from this object&#8217;s parent </em>and<em> Replace all child object permissions with inheritable permissions from this object </em>and click <em>OK </em>twice.</p>
<p><a href="http://www.steelbytes.net/wp-content/uploads/2012/04/image1.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.steelbytes.net/wp-content/uploads/2012/04/image_thumb1.png" width="576" height="524" /></a></p>
<p>Security on the Default user folder is now properly set. Try to logon again.</p>
<div id="crp_related"><h5>Related Posts:</h5><ul><li><a href="http://www.steelbytes.net/exfolders-error-exception-the-active-directory-user-wasnt-found" rel="bookmark" class="crp_title">Exfolders error: &ldquo;Exception: The Active Directory user wasn&#8217;t found&rdquo;</a></li><li><a href="http://www.steelbytes.net/windows-7-proxy-server-and-network-awareness-no-internet-access" rel="bookmark" class="crp_title">Windows 7 proxy server and Network Awareness (&lsquo;No Internet access&rsquo;)</a></li><li><a href="http://www.steelbytes.net/windows-server-2008-you-are-logged-on-with-a-temporary-user-profile" rel="bookmark" class="crp_title">Windows Server 2008 &lsquo;You are logged on with a temporary user profile&rsquo;</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.steelbytes.net/logon-error-the-user-profile-service-service-failed-the-logon/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set ownership on user profile or home folders script</title>
		<link>http://www.steelbytes.net/set-owner-rights-on-user-profile-or-home-folders-script</link>
		<comments>http://www.steelbytes.net/set-owner-rights-on-user-profile-or-home-folders-script#comments</comments>
		<pubDate>Tue, 24 Jan 2012 16:34:59 +0000</pubDate>
		<dc:creator>Paolo</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[home folder ownership]]></category>
		<category><![CDATA[owner permissions]]></category>
		<category><![CDATA[ownership script]]></category>
		<category><![CDATA[profile folder ownership]]></category>
		<category><![CDATA[set ownership]]></category>
		<category><![CDATA[user folders]]></category>

		<guid isPermaLink="false">http://www.steelbytes.net/set-owner-rights-on-user-profile-or-home-folders-script</guid>
		<description><![CDATA[After spending half a day to create a Powershell script to set owner rights on the home folders of our users, I found out Powershell is unable to set owner permissions by showing the error “The security identifier is not allowed to be the owner of this object&#8221; every time. So the Powershell script below [...]]]></description>
			<content:encoded><![CDATA[<p>After spending half a day to create a Powershell script to set owner rights on the home folders of our users, I found out Powershell is unable to set owner permissions by showing the error “<em>The security identifier is not allowed to be the owner of this object</em>&#8221; every time. </p>
<p>So the Powershell script below won’t work for me and  I decided to try it the old fashion way: cmd with icacls.</p>
<p>In no less then a hour I had a working script with just three effective lines. The cmd scripts first creates a list of user folders and puts them in a text file. Then each line from the text file is being read and by using icacls the ownership of each folder is changed to the appropriate user. The only condition is that your user folder name must be the same as the user account, which is usually the case with user folders such as home or profile folders.</p>
<p><strong>CMD script:</strong></p>
<pre class="brush: shell; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;">@echo off

REM Create list of folders
dir /a:d /b X:\users >C:\temp\users.txt

REM Read each line from just created text file...
for /f "tokens=*" %%G in (C:\temp\users.txt) do (

REM ...and set ownership for each folder
icacls "X:\Users\%%G" /setowner "domainname\%%G"

echo.

)</pre>
<p><strong>Powershell script:</strong></p>
<pre class="brush: powershell; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;"># Home drive folder
$homeDrivesDir="X:\Users"

# Your domain name
$domainName = "domainname"

#Save work directory
pushd .

# Location homedrive
set-location $homeDrivesDir

# For every folder in the $homeDrivesDir folder
foreach($homeFolder in (Get-ChildItem $homeDrivesDir | Where {$_.psIsContainer -eq $true})) {

 # Place ACL in a variable
 $Acl = (Get-Item $homeFolder).GetAccessControl("Access")

 Write-host "Settings rights for:" $homeFolder

 # Create the Access Rule
            $acct=New-Object System.Security.Principal.NTAccount($domainName,$homeFolder.name)

 Write-host "Owner of folder will be:"	$acct
 Write-host ""

 # Apply the access rule to the ACL
 $Acl.SetOwner($acct)
 Set-Acl $homeFolder.FullName $Acl
 Get-Acl $homeFolder.FullName  | Format-List

}

# Cleanup
popd</pre>
<div id="crp_related"><h5>Related Posts:</h5><ul><li><a href="http://www.steelbytes.net/pfdavadmin-error-could-not-expand-httpmailbox-folders-on-windows-7" rel="bookmark" class="crp_title">PFDAVadmin error: Could not expand http://(mailbox folders) on Windows 7</a></li><li><a href="http://www.steelbytes.net/exfolders-error-exception-the-active-directory-user-wasnt-found" rel="bookmark" class="crp_title">Exfolders error: &ldquo;Exception: The Active Directory user wasn&#8217;t found&rdquo;</a></li><li><a href="http://www.steelbytes.net/windows-server-2008-you-are-logged-on-with-a-temporary-user-profile" rel="bookmark" class="crp_title">Windows Server 2008 &lsquo;You are logged on with a temporary user profile&rsquo;</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.steelbytes.net/set-owner-rights-on-user-profile-or-home-folders-script/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Exfolders error: &#8220;Exception: The Active Directory user wasn&#8217;t found&#8221;</title>
		<link>http://www.steelbytes.net/exfolders-error-exception-the-active-directory-user-wasnt-found</link>
		<comments>http://www.steelbytes.net/exfolders-error-exception-the-active-directory-user-wasnt-found#comments</comments>
		<pubDate>Fri, 20 Jan 2012 10:58:51 +0000</pubDate>
		<dc:creator>Paolo</dc:creator>
				<category><![CDATA[Exfolders]]></category>
		<category><![CDATA[Microsoft Exchange 2007]]></category>
		<category><![CDATA[Microsoft Exchange 2010]]></category>
		<category><![CDATA[exchange folders]]></category>
		<category><![CDATA[exfolders]]></category>
		<category><![CDATA[exfolders connection]]></category>
		<category><![CDATA[exfolders user]]></category>
		<category><![CDATA[public folders]]></category>

		<guid isPermaLink="false">http://www.steelbytes.net/exfolders-error-exception-the-active-directory-user-wasnt-found</guid>
		<description><![CDATA[When you try to connect to your public folders, the following error appears: “Exception: The Active Directory user wasn&#8217;t found.” This error occurs because there are server objects present from an earlier Exchange 2003 version. If there are no Exchange 2003 servers anymore in your organization, follow these steps: 1. Open ADSI Edit 2. Connect [...]]]></description>
			<content:encoded><![CDATA[<p>When you try to connect to your public folders, the following error appears:</p>
<p><em>“Exception: The Active Directory user wasn&#8217;t found.”</em></p>
<p>This error occurs because there are server objects present from an earlier Exchange 2003 version. If there are no Exchange 2003 servers anymore in your organization, follow these steps:</p>
<p>1. Open ADSI Edit   <br />2. Connect to the Configuration Naming Context    <br />3. Navigate to CN=Your domain \ CN=Services \ CN=Microsoft Exchange \ CN=Your domain \ CN=Administrative Groups \ CN=Your Administrative Group \ CN=Servers    <br />4. Delete this container only if it’s empty    <br />5. Connection to your public folders with Exfolders should now work</p>
<p><a href="http://www.steelbytes.net/wp-content/uploads/2012/01/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.steelbytes.net/wp-content/uploads/2012/01/image_thumb.png" width="602" height="593" /></a></p>
<div id="crp_related"><h5>Related Posts:</h5><ul><li><a href="http://www.steelbytes.net/out-of-memory-java-heap-space-error-oracle-discoverer" rel="bookmark" class="crp_title">&lsquo;Out of memory&rsquo; Java heap space error Oracle Discoverer</a></li><li><a href="http://www.steelbytes.net/logon-error-the-user-profile-service-service-failed-the-logon" rel="bookmark" class="crp_title">Logon error: &ldquo;The User Profile Service service failed the logon&rdquo;</a></li><li><a href="http://www.steelbytes.net/dynamics-ax-client-setup-fails-windows-7" rel="bookmark" class="crp_title">Dynamics AX client setup fails Windows 7</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.steelbytes.net/exfolders-error-exception-the-active-directory-user-wasnt-found/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clear DNS cache Forefront TMG</title>
		<link>http://www.steelbytes.net/clear-dns-cache-forefront-tmg</link>
		<comments>http://www.steelbytes.net/clear-dns-cache-forefront-tmg#comments</comments>
		<pubDate>Thu, 29 Sep 2011 09:11:17 +0000</pubDate>
		<dc:creator>Paolo</dc:creator>
				<category><![CDATA[Microsoft Forefront TMG]]></category>
		<category><![CDATA[clear dns cache tmg]]></category>
		<category><![CDATA[clear dns tmg]]></category>
		<category><![CDATA[dns cache tmg]]></category>
		<category><![CDATA[forefront tmg cache]]></category>
		<category><![CDATA[update dns tmg]]></category>

		<guid isPermaLink="false">http://www.steelbytes.net/clear-dns-cache-forefront-tmg</guid>
		<description><![CDATA[If, for example, a host record changes in your local DNS server, Forefront TMG does not directly uses the updated DNS entry, even if you use the command ipconfig /flushdns (in an elevated cmd).  This command works only for the locally logged on user. The DNS entry will only be updated until the TTL has [...]]]></description>
			<content:encoded><![CDATA[<p>If, for example, a host record changes in your local DNS server, Forefront TMG does not directly uses the updated DNS entry, even if you use the command ipconfig /flushdns (in an elevated cmd).  This command works only for the locally logged on user. The DNS entry will only be updated until the TTL has expired (which can be found in the settings of your DNS server TMG is using). If you want TMG to use the new DNS entry directly, follow the steps below.</p>
<p><strong>Solution</strong></p>
<p>In the TMG 2010 Tools &amp; Software Development Kit you can find several useful tools. One of them is DNSToolsPack. You can find it here: <a href="http://www.microsoft.com/download/en/details.aspx?id=11183">http://www.microsoft.com/download/en/details.aspx?id=11183</a></p>
<p>1. Download the DNSToolsPack and extract the archive. It contains a .doc file, .rtf file and DNSTools.exe.</p>
<p>2. Copy the DNSTools.exe to the installation directory of ForeFront TMG (by default C:\Program Files\Microsoft Forefront Threat Management Gateway).</p>
<p>3. Open an command prompt (with an user account which has the appropriate rights for ForeFront TMG) and type in: <em>dnstools /c </em>which clears the DNS cache of TMG. Every new DNS request will now use the updated DNS entry.</p>
<p><a href="http://www.steelbytes.net/wp-content/uploads/2011/09/clip_image002.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image002" src="http://www.steelbytes.net/wp-content/uploads/2011/09/clip_image002_thumb.jpg" border="0" alt="clip_image002" width="579" height="354" /></a></p>
<p>There are several other commands available. Just type in <em>dnstools </em>to see what you might need.</p>
<div id="crp_related"><h5>Related Posts:</h5><ul><li><a href="http://www.steelbytes.net/out-of-memory-java-heap-space-error-oracle-discoverer" rel="bookmark" class="crp_title">&lsquo;Out of memory&rsquo; Java heap space error Oracle Discoverer</a></li><li><a href="http://www.steelbytes.net/windows-7-proxy-server-and-network-awareness-no-internet-access" rel="bookmark" class="crp_title">Windows 7 proxy server and Network Awareness (&lsquo;No Internet access&rsquo;)</a></li><li><a href="http://www.steelbytes.net/google-update-installation-failed-with-error-0x800b010e-when-installing-google-earth-plugin" rel="bookmark" class="crp_title">&lsquo;Google Update installation failed with error 0x800b010e&rsquo; when installing Google Earth plugin</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.steelbytes.net/clear-dns-cache-forefront-tmg/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Security warning &#8220;Do you want to view only the webpage content that was delivered securely?&#8221;</title>
		<link>http://www.steelbytes.net/security-warning-do-you-want-to-view-only-only-the-webpage-content-that-was-delivered-securely</link>
		<comments>http://www.steelbytes.net/security-warning-do-you-want-to-view-only-only-the-webpage-content-that-was-delivered-securely#comments</comments>
		<pubDate>Tue, 20 Sep 2011 08:26:09 +0000</pubDate>
		<dc:creator>Paolo</dc:creator>
				<category><![CDATA[Internet Explorer 7]]></category>
		<category><![CDATA[Internet Explorer 8]]></category>
		<category><![CDATA[Internet Explorer 9]]></category>
		<category><![CDATA[content delivered securely]]></category>
		<category><![CDATA[internet explorer content]]></category>
		<category><![CDATA[mixed content]]></category>
		<category><![CDATA[security warning content]]></category>
		<category><![CDATA[webpage content]]></category>

		<guid isPermaLink="false">http://www.steelbytes.net/security-warning-do-you-want-to-view-only-only-the-webpage-content-that-was-delivered-securely</guid>
		<description><![CDATA[When you are browsing a web page, you receive the security warning: “Do you want to view only the webpage content that was delivered securely?” This problem can occur when HTTPS webpages use images, such as banners or product images from a HTTP site. The warning is shown because theoretically it would be possible the [...]]]></description>
			<content:encoded><![CDATA[<p>When you are browsing a web page, you receive the security warning: </p>
<p><em>“Do you want to view only the webpage content that was delivered securely?”</em></p>
<p>This problem can occur when HTTPS webpages use images, such as banners or product images from a HTTP site. The warning is shown because theoretically it would be possible the unsecured content can gain information from the protected (HTTPS) content. Using HTTP and HTTPS on the same page is known as ‘mixed content’.</p>
<p>However, if you know what you are doing this warning can be very, very annoying if it appears on every webpage you’re clicking. You can disable the warning by following the steps below:</p>
<p><strong>Solution</strong></p>
<p>1. Navigate to <em>Tools &gt; Internet Options      <br /></em>2. Open the <em>Security </em>tab     <br />3. Select the <em>Internet </em>zone     <br />4. Click on <em>Custom level…      <br /></em>5. Under <em>Miscellaneous, </em>you can find <em>Display mixed content      <br /></em>6. Select <em>Enable      <br /></em>7. Click <em>OK </em>and click <em>Yes </em>if you receive the warning <em>“Are you sure you want to change the settings for this zone?” </em>and click <em>OK </em>again to close the Internet options windows.</p>
<p>All done now. You will not receive the warning again. If necessary, you can configure these setting for other zones too (like <em>Local intranet</em> or<em> Trusted websites</em>).</p>
<div id="crp_related"><h5>Related Posts:</h5><ul><li><a href="http://www.steelbytes.net/logon-error-the-user-profile-service-service-failed-the-logon" rel="bookmark" class="crp_title">Logon error: &ldquo;The User Profile Service service failed the logon&rdquo;</a></li><li><a href="http://www.steelbytes.net/exfolders-error-exception-the-active-directory-user-wasnt-found" rel="bookmark" class="crp_title">Exfolders error: &ldquo;Exception: The Active Directory user wasn&#8217;t found&rdquo;</a></li><li><a href="http://www.steelbytes.net/cannot-open-pdf-directly-sharepoint-2010" rel="bookmark" class="crp_title">Cannot open PDF directly SharePoint 2010</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.steelbytes.net/security-warning-do-you-want-to-view-only-only-the-webpage-content-that-was-delivered-securely/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Not possible to run two different versions of ASP.NET in the same IIS process</title>
		<link>http://www.steelbytes.net/not-possible-to-run-two-different-versions-of-asp-net-in-the-same-iis-process</link>
		<comments>http://www.steelbytes.net/not-possible-to-run-two-different-versions-of-asp-net-in-the-same-iis-process#comments</comments>
		<pubDate>Wed, 14 Sep 2011 10:32:31 +0000</pubDate>
		<dc:creator>Paolo</dc:creator>
				<category><![CDATA[IIS6]]></category>
		<category><![CDATA[application pool]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[asp.net versions]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[iis process]]></category>
		<category><![CDATA[separate process iis]]></category>

		<guid isPermaLink="false">http://www.steelbytes.net/not-possible-to-run-two-different-versions-of-asp-net-in-the-same-iis-process</guid>
		<description><![CDATA[You receive an ASP.NET error in your Event Viewer while using IIS 6.0 on your server: “It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process.” IIS 6.0 uses the process [...]]]></description>
			<content:encoded><![CDATA[<p>You receive an ASP.NET error in your Event Viewer while using IIS 6.0 on your server:</p>
<p><em>“It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process.”</em></p>
<p>IIS 6.0 uses the process <em>w3wp.exe</em>.<em> </em>One or more application can run together in one ore more processes within the same application pool by ‘application pooling’, an isolation feature of IIS. Each pool has it’s own worker processes which handles requests. When you are using multiple versions of ASP.NET on your server, these processes will conflict with each other if using the same application pool. Therefore each ASP.NET version has to use it’s own application pool.</p>
<p><strong></strong></p>
<p><strong>Solution</strong></p>
<p>Open your IIS manager by using <em>Start</em> &gt; <em>Run</em> &gt; <em>inetmgr</em></p>
<p>Open the Properties of your Virtual Directory by right-clicking it and check the Application pool being used under the tab <em>Virtual Directory:</em></p>
<p><a href="http://www.steelbytes.net/wp-content/uploads/2011/09/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.steelbytes.net/wp-content/uploads/2011/09/image_thumb.png" width="398" height="395" /></a></p>
<p>Now check the ASP.NET version being used under the tab <em>ASP.NET:</em></p>
<p><a href="http://www.steelbytes.net/wp-content/uploads/2011/09/image1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.steelbytes.net/wp-content/uploads/2011/09/image_thumb1.png" width="399" height="400" /></a></p>
<p>Now make sure each Virtual Directory using the same ASP.NET version also uses the same application pool.</p>
<p>If necessary, create a new application pool in IIS Manager by right-clicking <em>Application Pools</em> &gt; <em>New</em> &gt; <em>Application Pool…</em></p>
<p><a href="http://www.steelbytes.net/wp-content/uploads/2011/09/image2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.steelbytes.net/wp-content/uploads/2011/09/image_thumb2.png" width="313" height="179" /></a></p>
<p>This should do the trick!</p>
<div id="crp_related"><h5>Related Posts:</h5><ul><li><a href="http://www.steelbytes.net/print-spooler-crashes-faulting-module-eqpce-dll-equitrac" rel="bookmark" class="crp_title">Print spooler crashes &#8211; faulting module EQPCE.dll (Equitrac)</a></li><li><a href="http://www.steelbytes.net/oracle-jinitiator-and-internet-explorer-8" rel="bookmark" class="crp_title">Oracle Jinitiator and Internet Explorer 8</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.steelbytes.net/not-possible-to-run-two-different-versions-of-asp-net-in-the-same-iis-process/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 as default website</title>
		<link>http://www.steelbytes.net/sharepoint-2010-as-default-website</link>
		<comments>http://www.steelbytes.net/sharepoint-2010-as-default-website#comments</comments>
		<pubDate>Tue, 19 Jul 2011 09:38:55 +0000</pubDate>
		<dc:creator>Paolo</dc:creator>
				<category><![CDATA[IIS7]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[alternate access mappings]]></category>
		<category><![CDATA[iis sharepoint]]></category>
		<category><![CDATA[sharepoint 2010 default website]]></category>
		<category><![CDATA[sharepoint bindings]]></category>
		<category><![CDATA[sharepoint default website]]></category>

		<guid isPermaLink="false">http://www.steelbytes.net/sharepoint-2010-as-default-website</guid>
		<description><![CDATA[When you are connecting to a SharePoint server, you’re redirected to the default website (for IIS7 you will see the IIS7 image). IIS can listen on port 80 for multiple websites. If the given hostname corresponds with the configured binding in IIS, IIS will show the correct website. But SharePoint only listens on the hostnames [...]]]></description>
			<content:encoded><![CDATA[<p>When you are connecting to a SharePoint server, you’re redirected to the default website (for IIS7 you will see the IIS7 image). </p>
<p>IIS can listen on port 80 for multiple websites. If the given hostname corresponds with the configured binding in IIS, IIS will show the correct website. But SharePoint only listens on the hostnames which are configured within the alternate access mappings. Follow the steps below to configure the bindings in IIS and alternate access mappings within SharePoint.    </p>
<p><strong>Configure bindings IIS manager</strong></p>
<p>1. Open the IIS manager (Start &gt; Run &gt; <em>inetmgr</em>)     <br />2. In <em>Sites</em>, right-click the SharePoint site and click <em>Edit Bindings…</em></p>
<p><a href="http://www.steelbytes.net/wp-content/uploads/2011/07/image3.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.steelbytes.net/wp-content/uploads/2011/07/image_thumb3.png" width="392" height="199" /></a></p>
<p>3. Click on <em>Edit…      <br /></em>    <br /><a href="http://www.steelbytes.net/wp-content/uploads/2011/07/image4.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.steelbytes.net/wp-content/uploads/2011/07/image_thumb4.png" width="345" height="209" /></a></p>
<p>4. Type the host name of the corresponding name in DNS.</p>
<p><strong>Set alternate access mappings SharePoint</strong></p>
<p>1. Open you SharePoint Central Administration site    <br />2. On the main page, click <em>Configure alternate access mappings</em></p>
<p><a href="http://www.steelbytes.net/wp-content/uploads/2011/07/image5.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.steelbytes.net/wp-content/uploads/2011/07/image_thumb5.png" width="609" height="252" /></a><em></em></p>
<p>3. Click on <em>Edit Public URLs </em>or <em>Add Internal URLs</em>&#160; if none are defined yet</p>
<p><a href="http://www.steelbytes.net/wp-content/uploads/2011/07/image6.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.steelbytes.net/wp-content/uploads/2011/07/image_thumb6.png" width="504" height="340" /></a></p>
<p>4. Type the URL in the field <em>Default</em>. You could also fill in the other fields, like <em>Internet </em>or<em> Extranet</em> when your SharePoint site is published to the outside world.</p>
<div id="crp_related"><h5>Related Posts:</h5><ul><li><a href="http://www.steelbytes.net/cannot-open-pdf-directly-sharepoint-2010" rel="bookmark" class="crp_title">Cannot open PDF directly SharePoint 2010</a></li><li><a href="http://www.steelbytes.net/set-default-keyboard-layout-through-registry" rel="bookmark" class="crp_title">Set default keyboard layout through registry</a></li><li><a href="http://www.steelbytes.net/sharepoint-2010-proxy-authentication-required-rss-feed" rel="bookmark" class="crp_title">SharePoint 2010 RSS feed and TMG: &ldquo;Proxy Authentication required&rdquo; error</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.steelbytes.net/sharepoint-2010-as-default-website/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cannot open PDF directly SharePoint 2010</title>
		<link>http://www.steelbytes.net/cannot-open-pdf-directly-sharepoint-2010</link>
		<comments>http://www.steelbytes.net/cannot-open-pdf-directly-sharepoint-2010#comments</comments>
		<pubDate>Mon, 18 Jul 2011 09:29:47 +0000</pubDate>
		<dc:creator>Paolo</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[browser file handling]]></category>
		<category><![CDATA[directly open pdf sharepoint]]></category>
		<category><![CDATA[open file sharepoint]]></category>
		<category><![CDATA[open pdf sharepoint]]></category>
		<category><![CDATA[save pdf sharepoint]]></category>

		<guid isPermaLink="false">http://www.steelbytes.net/cannot-open-pdf-directly-sharepoint-2010</guid>
		<description><![CDATA[When you’re clicking a PDF file on one of your SharePoint sites, the file can only be saved and not opened directly. Cause This is by default a SharePoint security setting to prevent scripting or PDF attacks. The setting can be found in the Browser File Handling section which is set to Strict as default. [...]]]></description>
			<content:encoded><![CDATA[<p>When you’re clicking a PDF file on one of your SharePoint sites, the file can only be saved and not opened directly.</p>
<p><strong>Cause</strong></p>
<p>This is by default a SharePoint security setting to prevent scripting or PDF attacks. The setting can be found in the <em>Browser File Handling </em>section which is set to <em>Strict </em>as default. If you do not have a problem with possible security risks, you can change the default behavior by following the steps below.</p>
<p><strong>Solution</strong></p>
<p>1. Open your SharePoint Central Administration site (<em>http://servername:adminport/default.aspx</em>) 2. Click on <em>Manage web applications</em> &gt; <em>Your SharePoint site name </em>&gt; Menu <em>General settings</em> &gt; <em>General settings</em> &gt;<em> </em>Section<em> Browser File Handling      <br /></em>3. Change the setting<em> Strict </em>to <em>Permissive </em>and click<em> OK</em></p>
<p><a href="http://www.steelbytes.net/wp-content/uploads/2011/07/image2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.steelbytes.net/wp-content/uploads/2011/07/image_thumb2.png" width="587" height="691" /></a></p>
<p>That’s it. PDF files can now be opened directly from your SharePoint site.</p>
<div id="crp_related"><h5>Related Posts:</h5><ul><li><a href="http://www.steelbytes.net/sharepoint-2010-as-default-website" rel="bookmark" class="crp_title">SharePoint 2010 as default website</a></li><li><a href="http://www.steelbytes.net/clear-dns-cache-forefront-tmg" rel="bookmark" class="crp_title">Clear DNS cache Forefront TMG</a></li><li><a href="http://www.steelbytes.net/sharepoint-2010-proxy-authentication-required-rss-feed" rel="bookmark" class="crp_title">SharePoint 2010 RSS feed and TMG: &ldquo;Proxy Authentication required&rdquo; error</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.steelbytes.net/cannot-open-pdf-directly-sharepoint-2010/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#8216;Out of memory&#8217; Java heap space error Oracle Discoverer</title>
		<link>http://www.steelbytes.net/out-of-memory-java-heap-space-error-oracle-discoverer</link>
		<comments>http://www.steelbytes.net/out-of-memory-java-heap-space-error-oracle-discoverer#comments</comments>
		<pubDate>Fri, 15 Jul 2011 08:47:19 +0000</pubDate>
		<dc:creator>Paolo</dc:creator>
				<category><![CDATA[Jinitiator]]></category>
		<category><![CDATA[Oracle applications]]></category>
		<category><![CDATA[Oracle Discoverer]]></category>
		<category><![CDATA[discoverer heap space]]></category>
		<category><![CDATA[discoverer out of memory]]></category>
		<category><![CDATA[java heap space]]></category>
		<category><![CDATA[java.lang.OutOfMemoryError]]></category>
		<category><![CDATA[out of memory error]]></category>

		<guid isPermaLink="false">http://www.steelbytes.net/out-of-memory-java-heap-space-error-oracle-discoverer</guid>
		<description><![CDATA[When users try to run big queries in Oracle Discoverer, they receive an ‘Out of memory’ error. In the Java console you will see an error: ‘Exception occurred during event dispatching: java.lang.OutOfMemoryError: Java heap space’. These errors are very clear and such an error indicates the application does not have enough memory assigned even if [...]]]></description>
			<content:encoded><![CDATA[<p>When users try to run big queries in Oracle Discoverer, they receive an ‘<em>Out of memory</em>’ error. In the Java console you will see an error: </p>
<p><em>‘Exception occurred during event dispatching: java.lang.OutOfMemoryError: Java heap space’.</em></p>
<p>These errors are very clear and such an error indicates the application does not have enough memory assigned even if your machine has loads of memory. By default Java assigns 64 MB. Therefore you have to increase the assigned memory.</p>
<p><strong>Solution</strong></p>
<p>First you have to figure out which Java Runtime the application is using. In my case it’s Oracle Jinitiator version 1.3.1.22 which has it’s own Java environment. Or you are just using the regular Sun Java Runtime Environment, the standard edition which can be freely downloaded. Below you will find the methods to adjust memory size for either Java or Jinitiator.</p>
<p><strong>Adjusting memory size Java</strong></p>
<p>1. Navigate to your control panel and start the Java control panel or start <em>C:\Program Files (x86)\Java\jre6\bin\javacpl.exe</em> (64-bit) or <em>C:\Program Files\Java\jre6\bin\javacpl.exe </em>(32-bit).     <br />2. Click on the tab <em>Java</em> and fill in the the desired memory values at start parameters, such as <em>-Xms256M –Xmx1024M</em>. </p>
<p>Xms = initial heap size (memory size at start of the application)    <br />Xmx = maximum heap size (maximum memory size the application can use)     </p>
<p><a href="http://www.steelbytes.net/wp-content/uploads/2011/07/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.steelbytes.net/wp-content/uploads/2011/07/image_thumb.png" width="486" height="338" /></a></p>
<p>3. Click OK twice.    <br />4. The settings are stored in ‘<em>%userprofile%\AppData\LocalLow\Sun\Java\Deployment\deployment.properties’. </em>If you want to push this settings to all of your users, you could use user Group Policy preferences to replace the file in the user directory with the new settings.</p>
<p><strong>     <br />Adjusting memory size Jinitiator</strong></p>
<p>1. Start C:\Windows\SysWOW64\plugincpl13122.cpl (64-bit) or C:\Windows\system32\plugincpl13122.cpl (32-bit) or navigate to your Control Panel and start it from there.    <br />2. In the tab <em>Basic </em>at <em>Java Runtime Parameters,&#160; </em>fill in the desired values like the image below:</p>
<p><a href="http://www.steelbytes.net/wp-content/uploads/2011/07/image1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.steelbytes.net/wp-content/uploads/2011/07/image_thumb1.png" width="416" height="361" /></a></p>
<p>Xms = initial heap size    <br />Xmx = maximum heap size     </p>
<p>I discovered the maximum heap size cannot be set at 1024M, this will crash the application. So I used 768M, which also must be enough memory space.</p>
<p>3. Click <em>Apply.      <br /></em>4. Settings are stored in a file ‘<em>properties13122’</em>. It can be found in the folder <em>‘.jinit’</em> in the home folder or user profile of the user. If you want to push this settings to all of your users, you could use user Group Policy preferences to replace the file in the user directory with the new settings.     </p>
<p>Put it to the test to check if the new memory settings are effective. Try to run a big query which generated the ‘<em>out of memory’</em> error before. You may have to try this a few times. If there are no errors anymore, it will spare you a lot of complaints and users will be thankful (or just thinking you’re doing your work).</p>
<div id="crp_related"><h5>Related Posts:</h5><ul><li><a href="http://www.steelbytes.net/oracle-jinitiator-and-internet-explorer-8" rel="bookmark" class="crp_title">Oracle Jinitiator and Internet Explorer 8</a></li><li><a href="http://www.steelbytes.net/toad-for-oracle-10-appv-error-no-argument-for-format-s" rel="bookmark" class="crp_title">Quest Toad for Oracle 10 AppV error : No argument for format &#8216;%s&#8217;</a></li><li><a href="http://www.steelbytes.net/java-applications-not-working-in-internet-explorer-8" rel="bookmark" class="crp_title">Java applications not working in Internet Explorer 8</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.steelbytes.net/out-of-memory-java-heap-space-error-oracle-discoverer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 RSS feed and TMG: &#8220;Proxy Authentication required&#8221; error</title>
		<link>http://www.steelbytes.net/sharepoint-2010-proxy-authentication-required-rss-feed</link>
		<comments>http://www.steelbytes.net/sharepoint-2010-proxy-authentication-required-rss-feed#comments</comments>
		<pubDate>Thu, 07 Jul 2011 09:30:46 +0000</pubDate>
		<dc:creator>Paolo</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[isa sharepoint]]></category>
		<category><![CDATA[proxy authentication required]]></category>
		<category><![CDATA[rss feed sharepoint]]></category>
		<category><![CDATA[sharepoint rss tmg]]></category>
		<category><![CDATA[tmg sharepoint]]></category>

		<guid isPermaLink="false">http://www.steelbytes.net/sharepoint-2010-proxy-authentication-required-rss-feed</guid>
		<description><![CDATA[Problem: When you configure a webpart for RSS feeds in a SharePoint 2010 site, you receive the following error: ProtocolError occured trying to complete the request. The server returned a status code of : ProxyAuthenticationRequired and the status description is : &#34;Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong></p>
<p>When you configure a webpart for RSS feeds in a SharePoint 2010 site, you receive the following error:</p>
<p><strong><em>ProtocolError occured trying to complete the request. The server returned a status code of : ProxyAuthenticationRequired and the status description is : &quot;Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )&quot; </em>      <br /></strong><strong></strong></p>
<p><strong>     <br />Solutions:</strong></p>
<p>There are two things you can do, but maybe just one will work. In my case, solution 2 was in the end the only solution after testing and investigating half a day.</p>
<p><strong>Solution 1</strong></p>
<p>1. Navigate to the virtual directory of the SharePoint site, like: C:\inetpub\wwwroot\wss\VirtualDirectories\yoursitename</p>
<p>2. In the root you will find the file web.config. Edit this file and search for the line with <em>&lt;system.net&gt;</em>. Now copy and paste the following lines and make sure you change the value <em>proxyaddress </em>to the address of your own proxy server:</p>
<div id="codeSnippetWrapper">
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 10pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 10pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">&lt;</span><span style="color: #800000">system.net</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 10pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">&lt;</span><span style="color: #800000">defaultProxy</span> <span style="color: #ff0000">enabled</span><span style="color: #0000ff">=&quot;true&quot;</span> <span style="color: #ff0000">useDefaultCredentials</span><span style="color: #0000ff">=&quot;true&quot;</span><span style="color: #0000ff">&gt;</span> </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 10pt; border-left-style: none; overflow: visible; padding-top: 0px">        <span style="color: #0000ff">&lt;</span><span style="color: #800000">proxy</span> <span style="color: #ff0000">bypassonlocal</span><span style="color: #0000ff">=&quot;true&quot;</span> <span style="color: #ff0000">proxyaddress</span>=<span style="color: #ff0000">http:</span>//<span style="color: #ff0000">10</span>.<span style="color: #ff0000">1</span>.<span style="color: #ff0000">2</span>.<span style="color: #ff0000">3:80</span> <span style="color: #0000ff">/&gt;</span> </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 10pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">&lt;/</span><span style="color: #800000">defaultProxy</span><span style="color: #0000ff">&gt;</span> </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 10pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">&lt;/</span><span style="color: #800000">system.net</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></div>
</p></div>
<div>
    </div>
</div>
<p>3. Save the file and restart IIS. To reset IIS, click <em>Start &gt;</em>&#160;<em>All Programs</em> &gt; <em>Accessories</em> &gt; right-click <em>Command Prompt</em>, select <em>Run as administrator</em>, type in <em>iisreset</em>, and press <em>ENTER</em>.</p>
<p><strong>Solution 2</strong></p>
<p>Configure ISA/TMG to allow unauthenticated traffic to the Internet. Just add a rule which allows the SharePoint frontend server to navigate to the Internet (network <em>External</em>) over port 80.&#160; Rule settings:</p>
<p>Action: <em>Allow<br />
    <br /></em>Protocols: <em>HTTP </em>(80) </p>
<p>From / Listener: <em>hostname of your frontend server<br />
    <br /></em>To: <em>External </em>(Internet)</p>
<div id="crp_related"><h5>Related Posts:</h5><ul><li><a href="http://www.steelbytes.net/cannot-open-pdf-directly-sharepoint-2010" rel="bookmark" class="crp_title">Cannot open PDF directly SharePoint 2010</a></li><li><a href="http://www.steelbytes.net/exfolders-error-exception-the-active-directory-user-wasnt-found" rel="bookmark" class="crp_title">Exfolders error: &ldquo;Exception: The Active Directory user wasn&#8217;t found&rdquo;</a></li><li><a href="http://www.steelbytes.net/sharepoint-2010-as-default-website" rel="bookmark" class="crp_title">SharePoint 2010 as default website</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.steelbytes.net/sharepoint-2010-proxy-authentication-required-rss-feed/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

