<?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>JJClements.co.uk &#187; Office</title>
	<atom:link href="http://www.jjclements.co.uk/index.php/category/office/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jjclements.co.uk</link>
	<description>Clem&#039;s Technical Blog</description>
	<lastBuildDate>Tue, 15 Nov 2011 00:16:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SharePoint 2007 documents not opening in Office 2007</title>
		<link>http://www.jjclements.co.uk/2010/03/24/sharepoint-2007-documents-not-opening-in-office-2007/</link>
		<comments>http://www.jjclements.co.uk/2010/03/24/sharepoint-2007-documents-not-opening-in-office-2007/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 17:39:18 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[owssupp.dll]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=693</guid>
		<description><![CDATA[Our company Intranet was deployed on Microsoft Office SharePoint Server (MOSS) 2007 and has been in operation for a few months. I recently had a user that reported that they were experiencing difficulties opening documents from their Team Site. A quick check revealed this problem actually affected all documents for the user and not just [...]]]></description>
			<content:encoded><![CDATA[<p>Our company Intranet was deployed on Microsoft Office SharePoint Server (MOSS) 2007 and has been in operation for a few months. I recently had a user that reported that they were experiencing difficulties opening documents from their Team Site. A quick check revealed this problem actually affected all documents for the user and not just those in their Team Site. When the user clicked on any SharePoint document to open it they were presented with the dialog box with options to open the document in 'Read Only' or 'Edit' mode. Opening any document in 'Read Only' mode opened the document in the relevant Microsoft Office application but obviously did not allow them to save it directly back into SharePoint. Opening any document in 'Edit' mode failed to launch the Microsoft Office application associated with that document. This was the case for all Microsoft Office document types.</p>
<p><span id="more-693"></span></p>
<p>As the issue did not affect anyone else I made the assumption it was local to the computer. I had a quick look at the Internet Explorer addons that were loaded and could see that the 'SharePointOpenDocuments' was enabled (as it should have been.)</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/03/microsoftsharepointaddon.png" alt="microsoftsharepointaddon.png" /></p>
<p>Since the addon was being loaded and in part seemed to be working I had a quick look to see if multiple versions of owssupp.dll existed. owssupp.dll is the Microsoft Office SharePoint Client Support library used by Internet Explorer as the addon called 'SharePointOpenDocuments'. When the addon is loaded and you attempt to open a document from a SharePoint site it displays a small dialog box prompting the user to choose between opening the document in 'Read Only' or 'Edit' mode.</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/03/sharepointopendialogue.png" alt="sharepointopendialogue.png" /></p>
<p>The library owssupp.dll is installed to C:\Program Files\Microsoft Office\Office(##) and I had heard of issues where multiple versions of the file had existed on a computer (as a result of a Microsoft Office upgrade) and caused issues. I only had one instance of owssupp.dll located in C:\Program Files\Microsoft Office\Office12 so I ruled this out.</p>
<p>The next thing I tried was re-registering the .dll on the computer. I closed all instances of Microsoft Office applications and then at a command prompt I ran the following:</p>
<p>regsvr32 "C:\Program Files\Microsoft Office\Office12\OWSSUPP.DLL"</p>
<p>I received the following error message:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/03/sharepointdllerror.png" alt="sharepointdllerror.png" /></p>
<p>I clicked OK to close the message box. I opened Internet Explorer and navigated to the Team Site. Upon clicking on a document and selecting 'Edit' from the dialog box the correct Microsoft Office application opened and I was able to edit the document normally.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2010/03/24/sharepoint-2007-documents-not-opening-in-office-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KiXtart script to enable Outlook Anywhere or RPC-HTTPS</title>
		<link>http://www.jjclements.co.uk/2009/08/07/kixtart-script-to-enable-outlook-anywhere-or-rpc-https/</link>
		<comments>http://www.jjclements.co.uk/2009/08/07/kixtart-script-to-enable-outlook-anywhere-or-rpc-https/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 16:43:27 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Office]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[outlook anywhere]]></category>
		<category><![CDATA[rpc-https]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=306</guid>
		<description><![CDATA[At work, people were using VPN to access their email out of the office, but I have always thought that logging into a corporate network via VPN for most users is an extra hassle that they could probably do without. I had considered setting up RPC over HTTPS for Exchange 2003 but during a meeting [...]]]></description>
			<content:encoded><![CDATA[<p>At work, people were using VPN to access their email out of the office, but I have always thought that logging into a corporate network via VPN for most users is an extra hassle that they could probably do without. I had considered setting up RPC over HTTPS for Exchange 2003 but during a meeting regarding disaster recovery it became evident it was actually now a necessity. So, after configuring the server for RPC-HTTPS I had the small problem of deploying the settings to Outlook clients en masse.</p>
<p><span id="more-306"></span></p>
<p>I had already used a <a href="http://www.kixtart.org" target="_blank" rel="nofollow">KiXtart</a> logon script to configure 'Cached Mode' for my Outlook 2003/7 clients by modifying some HKCU registry keys for users - <a href="http://www.jjclements.co.uk/index.php/2008/08/21/regkey-to-enable-disable-outlook-2003-cached-mode/" target="_blank" rel="nofollow">Regkey to enable &#038; disable Outlook 2003 cached mode</a>.</p>
<p>After setting up an Outlook client in VMware Workstation I configured RPC-HTTPS and exported the regkey from the post above (see below for the key.) A fresh install of Outlook with a clean profile and the above key imported revealed that the settings for RPC-HTTPS are stored in the same place as those in the post for enabling cached mode. A combination of changing the values in Outlook and using <a href="http://technet.microsoft.com/en-us/sysinternals/bb896652.aspx" target="_blank" rel="nofollow">Regmon</a> allowed me to narrow down exactly what each registry value is used for and the data that each value needs to contain (the data for each registry value is stored as type REG_BINARY which as hexadecimal is unreadable.)</p>
<p>Here is an outline of the registry key and each value with my own description:</p>
<p>HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\(profilename)\13dbb0c8aa05101a9bb000aa002fc45a</p>
<p>00036623 = Enables 'Connect to Microsoft Exchange using HTTP' as well as 'On fast/slow networks...'<br />
00036627 = Sets the proxy server authentication type (data: 01000000 -> Basic, 02000000 -> NTLM)<br />
001f6622 = Sets the 'proxy server for Exchange' (https://) text box<br />
001f6625 = Sets the 'this principle name' text box</p>
<p>One other registry key I had to set (as per <a href="http://support.microsoft.com/kb/820281" target="_blank" rel="nofollow">KB820281</a>) to stop clients being prompted for a username/password was:</p>
<p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa</p>
<p>lmcompatibilitylevel = 3</p>
<p>I amended my <a href="http://www.kixtart.org" target="_blank" rel="nofollow">KiXtart</a> login script as follows with the new registry keys, values and their data. The next time users logged on they were connected using RPC over HTTPS:</p>
<p>WRITEVALUE("HKLM\SYSTEM\CurrentControlSet\Control\Lsa", "lmcompatibilitylevel", "3", "REG_DWORD")<br />
WRITEVALUE("HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\13dbb0c8aa05101a9bb000aa002fc45a", "00036623", "2b000000", "REG_BINARY")<br />
WRITEVALUE("HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\13dbb0c8aa05101a9bb000aa002fc45a", "00036627", "02000000", "REG_BINARY")<br />
WRITEVALUE("HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\13dbb0c8aa05101a9bb000aa002fc45a", "001f6622", "xxxx", "REG_BINARY")<br />
WRITEVALUE("HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\13dbb0c8aa05101a9bb000aa002fc45a", "001f6625", "xxxx", "REG_BINARY")</p>
<p>You can verify that users are connected using RPC over HTTPS by holding down CTRL and SHIFT on the keyboard and using the mouse to right-click the system tray icon. Click on the 'Connection Status...' option and you will see that the 'Conn' column displays multiple connections of type: HTTPS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2009/08/07/kixtart-script-to-enable-outlook-anywhere-or-rpc-https/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Regkey to enable &amp; disable Outlook 2003 cached mode</title>
		<link>http://www.jjclements.co.uk/2008/08/21/regkey-to-enable-disable-outlook-2003-cached-mode/</link>
		<comments>http://www.jjclements.co.uk/2008/08/21/regkey-to-enable-disable-outlook-2003-cached-mode/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 08:38:20 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Office]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[outlook]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=70</guid>
		<description><![CDATA[Pre Microsoft office 2003 SP3, when creating a new MAPI email account in outlook 2003 the default setting was to "Use Cached Exchange Mode". I have noticed that after installing SP3 the default seems to now be disabled when creating an email account. The following registry key allows you to enable it again and can [...]]]></description>
			<content:encoded><![CDATA[<p>Pre Microsoft office 2003 SP3, when creating a new MAPI email account in outlook 2003 the default setting was to "Use Cached Exchange Mode". I have noticed that after installing SP3 the default seems to now be disabled when creating an email account. </p>
<p><span id="more-70"></span></p>
<p>The following registry key allows you to enable it again and can obviously be scripted to run for users at logon:</p>
<p>HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\(profilename)\13dbb0c8aa05101a9bb000aa002fc45a</p>
<p>Change the data stored within the 00036601 (REG_BINARY) value. These are the usable items of data that can be stored within the key value:</p>
<p>84 01 00 00 = cached mode enabled for email (the default setting pre SP3)<br />
84 05 00 00 = cached mode enabled for email, and public folders<br />
04 00 00 00 = cached mode disabled (default setting post SP3)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2008/08/21/regkey-to-enable-disable-outlook-2003-cached-mode/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

