<?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>The Firstwave &#187; companyweb</title>
	<atom:link href="http://www.great-one.co.uk/archives/tag/companyweb/feed" rel="self" type="application/rss+xml" />
	<link>http://www.great-one.co.uk</link>
	<description>My corner of the internet</description>
	<lastBuildDate>Tue, 24 Jan 2012 16:42:35 +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>Opening Office 2007 documents from the Companyweb in SBS2003</title>
		<link>http://www.great-one.co.uk/archives/136</link>
		<comments>http://www.great-one.co.uk/archives/136#comments</comments>
		<pubDate>Tue, 08 Feb 2011 14:47:27 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[SBS 2003]]></category>
		<category><![CDATA[companyweb]]></category>
		<category><![CDATA[sbs2003]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://www.great-one.co.uk/?p=136</guid>
		<description><![CDATA[<p>I recently encountered a problem where we couldn&#8217;t open documents using the new office file format when opening them from the Companyweb on SBS2003, and if I tried to save them it saved them as a zip file.</p> <p>After a bit of research I narrowed it down to being mime entries being missing from iis manager, I assumed this is because we are running Sharepoint Services [...]]]></description>
			<content:encoded><![CDATA[<p>I recently encountered a problem where we couldn&#8217;t open documents using the new office file format when opening them from the Companyweb on SBS2003, and if I tried to save them it saved them as a zip file.</p>
<p>After a bit of research I narrowed it down to being mime entries being missing from iis manager, I assumed this is because we are running Sharepoint Services v2 which was part of the sbs install and you can&#8217;t upgrade to WSS3 from 2 but thats a different topic.</p>
<p>Anyway I managed to fix this by running this script on the server, paste this into notepad and save as 2007.vbs if you run this multiple times you will end up with multiple entries in your mime types.</p>
<blockquote><p>&#8216;This script adds the necessary Office 2007 MIME types to an IIS Server.<br />
&#8216;To use this script, just double-click or execute it from a command line.<br />
&#8216;Running this script multiple times results in multiple entries in the IIS MimeMap.</p>
<p>Dim MimeMapObj, MimeMapArray, MimeTypesToAddArray, WshShell, oExec<br />
Const ADS_PROPERTY_UPDATE = 2</p>
<p>&#8216;Set the MIME types to be added<br />
&#8216; MimeTypesToAddArray = Array(&#8220;.manifest&#8221;, &#8220;application/manifest&#8221;, _<br />
&#8216; &#8220;.xaml&#8221;, &#8220;application/xaml+xml&#8221;, &#8220;.application&#8221;, &#8220;application/x-ms-application&#8221;, &#8220;.deploy&#8221;, &#8220;application/octet-stream&#8221;, _<br />
&#8216; &#8220;.xbap&#8221;, &#8220;application/x-ms-xbap&#8221;)<br />
MimeTypesToAddArray = Array( _<br />
&#8220;.docm&#8221;,&#8221;application/vnd.ms-word.document.macroEnabled.12&#8243; , _<br />
&#8220;.docx&#8221;,&#8221;application/vnd.openxmlformats-officedocument.wordprocessingml.document&#8221; , _<br />
&#8220;.dotm&#8221;,&#8221;application/vnd.ms-word.template.macroEnabled.12&#8243; , _<br />
&#8220;.dotx&#8221;,&#8221;application/vnd.openxmlformats-officedocument.wordprocessingml.template&#8221; , _<br />
&#8220;.potm&#8221;,&#8221;application/vnd.ms-powerpoint.template.macroEnabled.12&#8243; , _<br />
&#8220;.potx&#8221;,&#8221;application/vnd.openxmlformats-officedocument.presentationml.template&#8221; , _<br />
&#8220;.ppam&#8221;,&#8221;application/vnd.ms-powerpoint.addin.macroEnabled.12&#8243; , _<br />
&#8220;.ppsm&#8221;,&#8221;application/vnd.ms-powerpoint.slideshow.macroEnabled.12&#8243; , _<br />
&#8220;.ppsx&#8221;,&#8221;application/vnd.openxmlformats-officedocument.presentationml.slideshow&#8221; , _<br />
&#8220;.pptm&#8221;,&#8221;application/vnd.ms-powerpoint.presentation.macroEnabled.12&#8243; , _<br />
&#8220;.pptx&#8221;,&#8221;application/vnd.openxmlformats-officedocument.presentationml.presentation&#8221; , _<br />
&#8220;.xlam&#8221;,&#8221;application/vnd.ms-excel.addin.macroEnabled.12&#8243; , _<br />
&#8220;.xlsb&#8221;,&#8221;application/vnd.ms-excel.sheet.binary.macroEnabled.12&#8243; , _<br />
&#8220;.xlsm&#8221;,&#8221;application/vnd.ms-excel.sheet.macroEnabled.12&#8243; , _<br />
&#8220;.xlsx&#8221;,&#8221;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&#8221; , _<br />
&#8220;.xltm&#8221;,&#8221;application/vnd.ms-excel.template.macroEnabled.12&#8243; , _<br />
&#8220;.xltx&#8221;,&#8221;application/vnd.openxmlformats-officedocument.spreadsheetml.template&#8221; _<br />
)</p>
<p>&#8216;Get the mimemap object<br />
Set MimeMapObj = GetObject(&#8220;IIS://LocalHost/MimeMap&#8221;)</p>
<p>&#8216;Call AddMimeType for every pair of extension/MIME type<br />
For counter = 0 to UBound(MimeTypesToAddArray) Step 2<br />
AddMimeType MimeTypesToAddArray(counter), MimeTypesToAddArray(counter+1)<br />
Next</p>
<p>&#8216;Create a Shell object<br />
Set WshShell = CreateObject(&#8220;WScript.Shell&#8221;)</p>
<p>&#8216;Stop and Start the IIS Service<br />
Set oExec = WshShell.Exec(&#8220;net stop w3svc&#8221;)<br />
Do While oExec.Status = 0<br />
WScript.Sleep 100<br />
Loop</p>
<p>Set oExec = WshShell.Exec(&#8220;net start w3svc&#8221;)<br />
Do While oExec.Status = 0<br />
WScript.Sleep 100<br />
Loop</p>
<p>Set oExec = Nothing</p>
<p>&#8216;Report status to user<br />
WScript.Echo &#8220;Mime Types have been added.&#8221;</p>
<p>&#8216;AddMimeType Sub<br />
Sub AddMimeType (Ext, MType)</p>
<p>&#8216;Get the mappings from the MimeMap property.<br />
MimeMapArray = MimeMapObj.GetEx(&#8220;MimeMap&#8221;)</p>
<p>&#8216; Add a new mapping.<br />
i = UBound(MimeMapArray) + 1<br />
Redim Preserve MimeMapArray(i)<br />
Set MimeMapArray(i) = CreateObject(&#8220;MimeMap&#8221;)<br />
MimeMapArray(i).Extension = Ext<br />
MimeMapArray(i).MimeType = MType<br />
MimeMapObj.PutEx ADS_PROPERTY_UPDATE, &#8220;MimeMap&#8221;, MimeMapArray<br />
MimeMapObj.SetInfo<br />
End Sub</p></blockquote>
<p>I found this on <a href="http://social.answers.microsoft.com/Forums/en-US/InternetExplorer/thread/5986eb70-96e9-4755-bfc2-217698debb7d" target="_blank">Microsoft Answers</a> Credit for this must goto <a rel="nofollow" href="http://social.answers.microsoft.com/Profile/en-US/?user=Brad_Saide&amp;referrer=http%3a%2f%2fsocial.answers.microsoft.com%2fForums%2fen-US%2fInternetExplorer%2fthread%2f5986eb70-96e9-4755-bfc2-217698debb7d&amp;rh=hGDrAuxYxLXleWsJckmD6VR%2bPxlIRWbriSfB2Vmo3D0%3d&amp;sp=forums">Brad_Saide</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.great-one.co.uk/archives/136/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessing Companyweb from the Server Itself after 963027 or Windows 2008 SP 2</title>
		<link>http://www.great-one.co.uk/archives/48</link>
		<comments>http://www.great-one.co.uk/archives/48#comments</comments>
		<pubDate>Wed, 26 Aug 2009 09:57:36 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[SBS 2003]]></category>
		<category><![CDATA[SBS 2008]]></category>
		<category><![CDATA[companyweb]]></category>
		<category><![CDATA[sbs2003]]></category>

		<guid isPermaLink="false">http://www.great-one.co.uk/?p=48</guid>
		<description><![CDATA[<p>I came across an issue on SBS 2003 and SBS 2008 accessing http://companyweb on the server, after installing the cumulative security update for Internet Explorer (963027 or 969897) or Internet Explorer 8.0 or Windows Server 2008 Service Pack 2.</p> <p>To fix the problem</p> SBS2003 <p>On an SBS 2003 server this issue can be fixed by [...]]]></description>
			<content:encoded><![CDATA[<p>I came across an issue on SBS 2003 and SBS 2008 accessing http://companyweb on the server, after installing the cumulative security update for Internet Explorer (963027 or 969897) or Internet Explorer 8.0 or Windows Server 2008 Service Pack 2.</p>
<p>To fix the problem</p>
<h5>SBS2003</h5>
<p>On an SBS 2003 server this issue can be fixed by applying update <a href="http://support.microsoft.com/kb/961143">KB961143</a>.</p>
<p>Note: You must have .NET Framework 2.0 installed before you apply this update.</p>
<h5>SBS2008</h5>
<p>On an SBS 2008 server this issue can be fixed by applying SBS 2008 Update Rollup 2 (960911).  This update is now available on Microsoft Update and WSUS.</p>
<p>Or you can use this method <a href="http://support.microsoft.com/kb/963027" target="_blank">KB963027</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.great-one.co.uk/archives/48/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

