<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7733235</id><updated>2012-02-16T19:42:00.855+10:00</updated><category term='BizTalk'/><category term='Rant'/><category term='Windows'/><category term='Unified Communications'/><category term='SQL'/><category term='WCF'/><category term='Office'/><category term='Sharepoint'/><category term='OCS'/><title type='text'>Eddie Tse</title><subtitle type='html'>Random thoughts</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7733235.post-6501602230765786243</id><published>2010-02-22T09:21:00.001+10:00</published><updated>2010-02-22T09:21:28.719+10:00</updated><title type='text'>RDP and certificate</title><content type='html'>&lt;p&gt;If you have configured RDP on Windows 2008, 7 to use an internal certificate for computer authentication, CRL will only work if the only published location is an HTTP endpoint.&amp;#160; If you have multiple end point, the CRL checking will not work.&lt;/p&gt;  &lt;p&gt;Alternative is force RDO to use legacy encryption by creating a RDP file with&lt;/p&gt;  &lt;p&gt;enablecredsspsupport:i:0   &lt;br /&gt;authentication level:i:0&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-6501602230765786243?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/6501602230765786243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=6501602230765786243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/6501602230765786243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/6501602230765786243'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2010/02/rdp-and-certificate.html' title='RDP and certificate'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-1529054129568780747</id><published>2009-05-04T14:44:00.001+10:00</published><updated>2009-05-04T14:44:07.166+10:00</updated><title type='text'>Note to self, Outlook doesn’t have intellisens</title><content type='html'>&lt;p&gt;Crazy past couple of weeks, been rushing like mad and very much sleep deprived all for work.&amp;#160; So this afternoon while I was replying to an email, I keep hitting Ctrl-Space waiting for intellisense to show up while I was in Outlook.&amp;#160; I went crazy thinking why is my intellisense broken, only realising I’m actually in outlook.&amp;#160; That’s just telling me its time to get some rest.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-1529054129568780747?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/1529054129568780747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=1529054129568780747' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/1529054129568780747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/1529054129568780747'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2009/05/note-to-self-outlook-doesnt-have.html' title='Note to self, Outlook doesn’t have intellisens'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-8012805294439603333</id><published>2008-11-01T05:30:00.001+10:00</published><updated>2008-11-01T05:30:44.840+10:00</updated><title type='text'>PDC 2008</title><content type='html'>&lt;p&gt;I've thoroughly enjoyed my time at the PDC this year, the biggest announcement was obviously the cloud services with the Windows Azure platform.&amp;#160; But the greatest thing is the chance to network with other developers and Microsoft product team members.&lt;/p&gt;  &lt;p&gt;This was my first PDC experience and I had high expectations, I think the conference overall was organised pretty well. But I have to say was disappointed that we don't get a nice show bag, was expecting some kind of nice backpack or laptop bag given the price of the conference ticket, but instead only got a plastic show bag&lt;/p&gt;  &lt;p&gt;It would also be nice if the &amp;quot;Ask the experts&amp;quot; session was slightly better organised.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-8012805294439603333?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/8012805294439603333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=8012805294439603333' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/8012805294439603333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/8012805294439603333'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/11/pdc-2008.html' title='PDC 2008'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-4244524712262050695</id><published>2008-08-07T22:49:00.001+10:00</published><updated>2008-08-07T22:49:48.701+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title type='text'>WCF WSDL and ASMX SOAP Extensions</title><content type='html'>&lt;p&gt;Interesting observation today, if you have an invalid ASMX soap extension registered in your web.config file.&amp;#160; WCF will not render wsdl from its metadata endpoint.&amp;#160; I didn't think the two was related, but there must be some connections between them.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-4244524712262050695?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/4244524712262050695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=4244524712262050695' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/4244524712262050695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/4244524712262050695'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/08/wcf-wsdl-and-asmx-soap-extensions.html' title='WCF WSDL and ASMX SOAP Extensions'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-2130985498061578275</id><published>2008-07-27T12:06:00.001+10:00</published><updated>2008-07-27T12:06:48.001+10:00</updated><title type='text'>MOSS and antivirus scanning exclusion</title><content type='html'>&lt;p&gt;If you're running an OS level antivirus scan on your MOSS production servers, you might run into decreased performance and random lock ups.&amp;#160; Check out &lt;a title="http://support.microsoft.com/kb/952167" href="http://support.microsoft.com/kb/952167"&gt;http://support.microsoft.com/kb/952167&lt;/a&gt; and add in the necessary exclusions to your virus scan to stop your scanner from competing with Sharepoint.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-2130985498061578275?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/2130985498061578275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=2130985498061578275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/2130985498061578275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/2130985498061578275'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/07/moss-and-antivirus-scanning-exclusion.html' title='MOSS and antivirus scanning exclusion'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-2788459330609364698</id><published>2008-07-26T20:28:00.001+10:00</published><updated>2008-07-26T20:28:52.360+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Office'/><title type='text'>Office 2007 on Vista authentication prompts with Sharepoint docments</title><content type='html'>&lt;p&gt;Under Windows Vista, sometimes when you open an Office document stored on a WSS or MOSS site, Vista keeps prompting you for user credentials and integrated security just doesn't seems to work.&amp;#160; This can be caused by a number of different configuration issues in your environment and sometimes you need to have all the stars aligned for it to work.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;First thing to check is make sure your Sharepoint site is working with integrated security to start with, that is you have configured either NTLM or Kerberos correctly.&amp;#160; So when you navigate to your Sharepoint site in Internet Explorer with your desired url, it should not prompt you for username or password.     &lt;br /&gt;      &lt;br /&gt;If you are having trouble here, check these items.      &lt;br /&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Make sure the url you're using is in the Intranet zone and not the Internet zone.&amp;#160; By default on Vista, only Intranet zone does integrated security.&lt;/li&gt;      &lt;li&gt;Check that you are using NTLM on your WFE server.&lt;/li&gt;      &lt;li&gt;If you are using Kerberos, make sure SPN are configured correctly.&amp;#160; Check out this post from &lt;a href="http://blogs.msdn.com/martinkearn/archive/2007/04/23/configuring-kerberos-for-sharepoint-2007-part-1-base-configuration-for-sharepoint.aspx"&gt;Martin Kearn&lt;/a&gt; on kerberos and Sharepoint.        &lt;br /&gt;&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;Now make sure Vista is running SP1, if not, install the hotfix &lt;a href="http://support.microsoft.com/?id=943280"&gt;http://support.microsoft.com/?id=943280&lt;/a&gt; on your clients.      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Add &lt;font face="Courier New" size="3"&gt;AuthForwardServerList&lt;/font&gt; to &lt;font face="Cordia New" size="3"&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters&lt;/font&gt; in the registry.&amp;#160; The value in this key should be the URLs of your sharepoint stie.&amp;#160; Restart the WebClient or for the changes to take effect.&amp;#160; I've used the new group policy preference to deploy this key.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;With everything configured correctly, there shouldn't be any more annoying authentication prompts from Vista when you open an Office 2007 document.&lt;/p&gt;  &lt;div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:f333ee65-c0cf-4bcf-8bcc-86e6a964c23a" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Sharepoint" rel="tag"&gt;Sharepoint&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Vista" rel="tag"&gt;Vista&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Office" rel="tag"&gt;Office&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Authentication" rel="tag"&gt;Authentication&lt;/a&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-2788459330609364698?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/2788459330609364698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=2788459330609364698' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/2788459330609364698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/2788459330609364698'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/07/office-2007-on-vista-authentication.html' title='Office 2007 on Vista authentication prompts with Sharepoint docments'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-4428498065934537149</id><published>2008-05-16T22:51:00.001+10:00</published><updated>2008-05-16T22:51:40.792+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Rant'/><title type='text'>Why are data charges so high?</title><content type='html'>&lt;p&gt;I think it is crazy that you could be charged $1 per MB of data over wireless.&amp;#160; In Australia, if you're not careful in choosing your provider, you could be in for a very nasty surprise.&amp;#160; I feel sorry for SMB owners who are not that technical and sign up for these outrageous prices.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/eddietse/SC2DV_lULcI/AAAAAAAAABU/srF3wMJ-y-0/s1600-h/image%5B5%5D.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="403" alt="image" src="http://lh5.ggpht.com/eddietse/SC2DW_lULdI/AAAAAAAAABg/oerPEs0IBhQ/image_thumb%5B3%5D.png?imgmax=800" width="637" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.telstra.com.au/business/products/internetanddata/mobilebroadbanddataplans/mobilitypacks.htm" href="http://www.telstra.com.au/business/products/internetanddata/mobilebroadbanddataplans/mobilitypacks.htm"&gt;http://www.telstra.com.au/business/products/internetanddata/mobilebroadbanddataplans/mobilitypacks.htm&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-4428498065934537149?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/4428498065934537149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=4428498065934537149' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/4428498065934537149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/4428498065934537149'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/05/why-are-data-charges-so-high.html' title='Why are data charges so high?'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/eddietse/SC2DW_lULdI/AAAAAAAAABg/oerPEs0IBhQ/s72-c/image_thumb%5B3%5D.png?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-9005371258455156156</id><published>2008-05-10T13:05:00.001+10:00</published><updated>2008-05-10T13:05:48.828+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Office'/><title type='text'>OBA Composition Reference Toolkit v2</title><content type='html'>&lt;p&gt;If you develop applications on the Office platform, check out the &lt;a href="http://msdn.microsoft.com/en-us/architecture/cc196391.aspx"&gt;OBA Composition Reference Toolkit&lt;/a&gt;.&amp;#160; It contains some very cool demo and useful reference guides to give you a great starting point to create very powerful composition applications around office applications.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-9005371258455156156?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/9005371258455156156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=9005371258455156156' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/9005371258455156156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/9005371258455156156'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/05/oba-composition-reference-toolkit-v2.html' title='OBA Composition Reference Toolkit v2'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-3840763832001074397</id><published>2008-03-29T20:41:00.001+10:00</published><updated>2008-03-29T20:41:09.399+10:00</updated><title type='text'>Patching the DSDT table for 8510p to reduce fan noise</title><content type='html'>&lt;p&gt;Following the previous post, here are the steps that worked on my Vista SP1 x64 notebook.&amp;#160; Please note this is for reference only, this could damage your machine.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Download the &lt;a href="http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/MS_ASL-Compiler_3.0.1.msi"&gt;Microsoft ASL Compiler v3.0.1&lt;/a&gt; and install it on your notebook.      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Start a command prompt using &amp;quot;Run as administrator&amp;quot; to make sure you have the correction permissions.     &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Create a working directory, I used C:\DsdtPatch.     &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Copy asl.exe from C:\Program Files (x86)\Microsoft ASL Compiler v3.0 to your working directory.     &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Extract your current AML data from your registry.&amp;#160; It is located at HKEY_LOCAL_MACHINE\HARDWARE\ACPI\DSDT\HP____\8510x\00010000.&amp;#160; You need to extract the binary data in the key 00000000 to the file system.&amp;#160; I've written a quick and dirty .Net &lt;a href="http://download.simient.com/et381/extractdsdt.zip"&gt;program&lt;/a&gt; to do that.       &lt;ol&gt;       &lt;li&gt;Unzip ExtractDsdt.exe into your working directory.&lt;/li&gt;        &lt;li&gt;run &lt;font face="Courier New"&gt;ExtractDsdt&lt;/font&gt;, a file 8510x.orig will be created.&amp;#160; Make a backup of this file.          &lt;br /&gt;&lt;/li&gt;     &lt;/ol&gt;   &lt;/li&gt;    &lt;li&gt;&lt;font face="Courier"&gt;copy 8510x.orig 8510x.aml       &lt;br /&gt;&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font face="Courier New"&gt;asl /u 8510x.aml&lt;/font&gt;, the file 8510x.asl will be created.      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Open 8510x.asl in notebook.&amp;#160; Now we begin our patching.     &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Search for the following (note the pattern could be different for your machine).     &lt;br /&gt;      &lt;br /&gt;For my F.0F BIOS the original values are      &lt;br /&gt;      &lt;br /&gt;Name(C357, Package(0x6)      &lt;br /&gt;{      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 0x64,      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 0x4b,      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 0x3c,      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 0x32,      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 0x1e,      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 0x0      &lt;br /&gt;})       &lt;br /&gt;      &lt;br /&gt;I found it easiest to search for &amp;quot;Package(0x6)&amp;quot; from notepad, that should take you to the right section, check that there are 6 hex values within the braces and within the _TZ_ scope.      &lt;br /&gt;      &lt;br /&gt;Each value should represents the % fan speed at each temperature trip point in hex.&amp;#160; I changed mine to.      &lt;br /&gt;      &lt;br /&gt;Name(C357, Package(0x6)      &lt;br /&gt;{      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 0x64,      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 0x4b,      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 0x32,      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 0x1e,      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 0x14,      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 0x0      &lt;br /&gt;})      &lt;br /&gt;      &lt;br /&gt;Save your file after your changes.      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Now we can compile our updated 8510x.asl back to 8510x.aml.&amp;#160; Execute asl &lt;font face="Courier New"&gt;8510x.asl&lt;/font&gt;, I ignored the warnings, but if you get errors, go back and check your syntax.&amp;#160; If you get &lt;font face="Courier New"&gt;&amp;quot;error: expecting Symbol '('&amp;quot;&lt;/font&gt; the number in the brackets is the line number, go to that line in 8510x.asl and add a pair of bracket &lt;font face="Courier New"&gt;() &lt;/font&gt;to the end of the previous line, I had to repeat this a few times before it will compile.      &lt;br /&gt;      &lt;br /&gt;For example, change      &lt;br /&gt;      &lt;br /&gt;&lt;font face="Courier New"&gt;If(LEqual(Arg0, 0x0))       &lt;br /&gt;{        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; C375        &lt;br /&gt;}         &lt;br /&gt;&lt;/font&gt;      &lt;br /&gt;to      &lt;br /&gt;      &lt;br /&gt;&lt;font face="Courier New"&gt;If(LEqual(Arg0, 0x0))       &lt;br /&gt;{        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; C375()        &lt;br /&gt;}&lt;/font&gt;       &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;When you've compiled successfully, the file 8510x.aml will be updated.&amp;#160; Check the timestamp.     &lt;br /&gt;      &lt;br /&gt;Load this file to your system &lt;font face="Courier New"&gt;asl /loadtable 8510x.aml&lt;/font&gt;.      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Now reboot, if everything works, your notebook fan should be slower after a few minutes after things settled down after reboot.&amp;#160; &lt;font color="#c60000"&gt;WARNING: if it doesn't work and you get a blue screen during reboot.&amp;#160; Press F8 and choose the &amp;quot;use last known good&amp;quot; option.&lt;/font&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;font color="#000000"&gt;Hope this works for you if you're like me and was annoyed by the fan noise.&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-3840763832001074397?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/3840763832001074397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=3840763832001074397' title='96 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/3840763832001074397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/3840763832001074397'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/03/patching-dsdt-table-for-8510p-to-reduce.html' title='Patching the DSDT table for 8510p to reduce fan noise'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>96</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-2715906411975268011</id><published>2008-03-29T10:49:00.001+10:00</published><updated>2008-03-29T10:49:16.975+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Rant'/><title type='text'>HP 8510p fan noise</title><content type='html'>&lt;p&gt;For work I've got a HP 8510 p notebook and the fan noise it makes on idle is unbearable.&amp;#160; It was annoying enough I was on a quest to find a solution.&amp;#160; After many hours on the Internet I found the following site &lt;a title="http://www.p35-forum.de/board/notebook-hardware-control/acpi-module/7332-acpi-modul-f&amp;#252;r-hp-8510p/" href="http://www.p35-forum.de/board/notebook-hardware-control/acpi-module/7332-acpi-modul-f&amp;uuml;r-hp-8510p/"&gt;http://www.p35-forum.de/board/notebook-hardware-control/acpi-module/7332-acpi-modul-f&amp;#252;r-hp-8510p/&lt;/a&gt; which talks about overriding the ACPI DSDT table.&lt;/p&gt;  &lt;p&gt;After reading up a bit on the topic and learnt more than I ever wanted to about ACPI, I've managed to change the fan speed on my HP 8510 notebook.&amp;#160; Now Vista SP1 x64 runs like my other notebook, quiet!&amp;#160; Will have to see will it over heat or have any side effects.&lt;/p&gt;  &lt;p&gt;I have no idea why HP releases notebook that are so noisy out of the factory.&amp;#160; Their engineering department should be reeducated that noise should be minimal on the desktop in the office.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-2715906411975268011?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/2715906411975268011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=2715906411975268011' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/2715906411975268011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/2715906411975268011'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/03/hp-8510p-fan-noise.html' title='HP 8510p fan noise'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-2000147251525937531</id><published>2008-03-27T14:10:00.001+10:00</published><updated>2008-03-27T14:10:04.255+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Remote Server Administration Tools (RSAT) Released</title><content type='html'>&lt;p&gt;With the release of the RSAT for Windows Vista SP1, I can finally manage my Windows Servers in Vista directly without hacking the AdminPack to make it go on Vista.&lt;/p&gt;  &lt;p&gt;Both &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=9FF6E897-23CE-4A36-B7FC-D52065DE9960"&gt;32-bit&lt;/a&gt; and &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=D647A60B-63FD-4AC5-9243-BD3C497D2BC5"&gt;64-bit&lt;/a&gt; version are available.&lt;/p&gt;  &lt;p&gt;After install, go to control panel, add remove windows components, and check the admin tools to enable it.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-2000147251525937531?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/2000147251525937531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=2000147251525937531' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/2000147251525937531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/2000147251525937531'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/03/remote-server-administration-tools-rsat.html' title='Remote Server Administration Tools (RSAT) Released'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-4967851440669666906</id><published>2008-03-16T11:37:00.001+10:00</published><updated>2008-03-16T11:37:35.155+10:00</updated><title type='text'>Nokia NSeries PC Suite 2.0 install failed caused by long path</title><content type='html'>&lt;p&gt;I couldn't install the new Nokia NSeries 2.0 PC Suite on my Vista machine.&amp;#160; After a bit of investigation, it turns out that the installer doesn't work if you system path variable is too long.&amp;#160; It doesn't handle the case when the system tells the installer the supplied buffer to store the returned path string isn't big enough.&lt;/p&gt;  &lt;p&gt;To work around, shorten my system path variable, and restore to my normal path after install.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-4967851440669666906?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/4967851440669666906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=4967851440669666906' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/4967851440669666906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/4967851440669666906'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/03/nokia-nseries-pc-suite-20-install.html' title='Nokia NSeries PC Suite 2.0 install failed caused by long path'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-1859692049443084381</id><published>2008-03-11T23:04:00.001+10:00</published><updated>2008-03-12T08:06:34.708+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OCS'/><category scheme='http://www.blogger.com/atom/ns#' term='Unified Communications'/><title type='text'>OCS 2007 and Asterisk integration</title><content type='html'>&lt;p&gt;Spent some time over the last few days trying to put together an OCS 2007 lab environment with Asterisk integrations and it wasn't exactly smooth sailing.&amp;nbsp; I have it mostly working now, but there are still some issues with RTP which I hope to resolve when I have some spare time in the coming weeks.&lt;/p&gt; &lt;p&gt;For my setup I deployed OCS 2007 in 2 VMs, one for OCS itself and another for the mediation server.&amp;nbsp; I used asterisk 1.6-beta5 as it supports TCP SIP and it seems to be working ok.&amp;nbsp; I can dial out through Asterisk using my home ITSP (PennyTel) through both Communicator 2007 and my Linksys SPA942 IP phone.&amp;nbsp; I can also receive calls from my mobile to both Communicator and SPA942.&lt;/p&gt; &lt;p&gt;I found a bug in Asterisk 1.6-beta5 where it was not handling the SIP Invite from OCS mediation server properly.&amp;nbsp; It was causing RTP packets not to be sent from Asterisk to OCS at the start of a call and I traced it back to Asterisk not parsing the "Content-Type" properly.&amp;nbsp; OCS sends extra data in the "Content-Type" field ";encoding=utf8" which Asterisk was not parsing.&amp;nbsp; That was an easy fix, one good thing with Open Source software when you actually have time to debug and fix it yourself.&lt;/p&gt; &lt;p&gt;So things seems to be working *mostly* but I still sometime misses out on voice at the beginning of some calls.&amp;nbsp; I suspect there are still bugs in Asterisk, will post back here for reference if I have to to investigate further.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-1859692049443084381?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/1859692049443084381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=1859692049443084381' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/1859692049443084381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/1859692049443084381'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/03/ocs-2007-and-asterisk.html' title='OCS 2007 and Asterisk integration'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-6138813925987475745</id><published>2008-03-11T22:48:00.001+10:00</published><updated>2008-03-12T08:07:01.476+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Rant'/><title type='text'>Rant about poor Optus service</title><content type='html'>&lt;p&gt;I just cannot believe the poor Optus is providing in Australia.&amp;nbsp; I spent the last two days trying to organise 2 new phone numbers to be added on our existing account and after two days of talking to sale consultants, solution consultants and other call center staffs, I still cannot talk to someone that can take my order to setup 2 new phone numbers for our office.&amp;nbsp; I thought in would be easy, how wrong was I.&lt;/p&gt; &lt;p&gt;It seems to me that in Australia, customer service for the small guys is really poor.&amp;nbsp; You're not spending enough to be provided with a proper account manager, and you wanted service a little bit more complex than the standard SOHO offerings, then no one seems to be able to help you.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-6138813925987475745?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/6138813925987475745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=6138813925987475745' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/6138813925987475745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/6138813925987475745'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/03/rant-about-poor-optus-service.html' title='Rant about poor Optus service'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-5895434752278655309</id><published>2008-02-20T09:58:00.001+10:00</published><updated>2008-02-20T10:33:45.718+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Truncate SQL log on development machines</title><content type='html'>&lt;p&gt;By default the recovery model in SQL Server is full, so if you have a development server that doesn't have scheduled backup, the database log file can potentially grow out of control.&amp;#160; You can either set the recovery model to &amp;quot;simple&amp;quot;, and then truncate the file.&amp;#160; Or keep the recovery model as full and force truncation.&amp;#160; Obviously shouldn't do this blindly in production unless you understand the implications.&amp;#160; This gets asked frequent enough, but not enough to remember the syntax, so this post is here as a memory jogger.&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;USE &lt;em&gt;dbname&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;BACKUP LOG &lt;em&gt;dbname&lt;/em&gt; WITH TRUNCATE_ONLY&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;DBCC SHRINKFILE (&lt;em&gt;logical_log_filename&lt;/em&gt;, 10)&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-5895434752278655309?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/5895434752278655309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=5895434752278655309' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/5895434752278655309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/5895434752278655309'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/02/truncate-sql-log-on-development.html' title='Truncate SQL log on development machines'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-2761378517997793826</id><published>2008-02-17T20:33:00.001+10:00</published><updated>2008-02-17T20:33:24.221+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint'/><title type='text'>Sharepoint VSeWSS 1.1</title><content type='html'>&lt;p&gt;If you are doing WSS or MOSS development, do check out the VSeWSS 1.1 release.&amp;#160; It provides some help to develop .WSP package right inside visual studio.&amp;#160; The new 1.1 release allows you to have more control over the WSP solution creation.&lt;/p&gt;  &lt;p&gt;If you have been only using Sharepoint designer for customising WSS or MOSS or have your own scripts to generate and maintain sharepoint features, give VSeWSS 1.1 a go.&amp;#160; See the sharepoint team blog entry at &lt;a title="http://blogs.msdn.com/sharepoint/archive/2008/02/11/announcing-the-final-release-of-vsewss-1-1-and-the-upcoming-version-1-2.aspx" href="http://blogs.msdn.com/sharepoint/archive/2008/02/11/announcing-the-final-release-of-vsewss-1-1-and-the-upcoming-version-1-2.aspx"&gt;http://blogs.msdn.com/sharepoint/archive/2008/02/11/announcing-the-final-release-of-vsewss-1-1-and-the-upcoming-version-1-2.aspx&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-2761378517997793826?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/2761378517997793826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=2761378517997793826' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/2761378517997793826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/2761378517997793826'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/02/sharepoint-vsewss-11.html' title='Sharepoint VSeWSS 1.1'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-3517715862131216051</id><published>2008-01-22T11:25:00.001+10:00</published><updated>2008-01-22T11:30:32.944+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint'/><title type='text'>Import Spreadsheet with Sharepoint error</title><content type='html'>&lt;p&gt;A customer ran into a problem where he is getting &amp;quot;Method 'Post' of object 'IOWSPostData' failed&amp;quot; when trying to create a sharepoint list via importing a SpreadSheet using Excel.&amp;#160; There are plenty of posts on the Internet about this and the fix is to update EXPTOOWS.XLA to force a different version number.&lt;/p&gt;  &lt;p&gt;The original macro code uses a new method in the Excel 2007 object model Application.SharePointVersion(URL).&amp;#160; That method is returning 0 in the customer's environment causing spreadsheet import not to work.&lt;/p&gt;  &lt;p&gt;As it turns out, Application.SharePointVersion checks the root site for a Sharepoint site to determine the version.&amp;#160; Because for this particular environment setup, I do not have a valid Sharepoint site at the root, it does not return the correct version number.&lt;/p&gt;  &lt;p&gt;The solution was to create a dummy blank sharepoint site at the root of a web site and now users can import spreadsheets and create list using spreadsheets for all sites (root and sub site).&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-3517715862131216051?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/3517715862131216051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=3517715862131216051' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/3517715862131216051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/3517715862131216051'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/01/import-spreadsheet-with-sharepoint.html' title='Import Spreadsheet with Sharepoint error'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-1528718614160317478</id><published>2008-01-03T17:57:00.000+10:00</published><updated>2008-01-22T11:29:56.683+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BizTalk'/><title type='text'>Reuse BizTalk WCF service publishing wizard settings</title><content type='html'>In BizTalk 2006 R2, there is a new WCF Service Publishing Wizard. It becomes quite painful if you want to update the published service to run the wizard over and over again. The settings from the wizard are saved in the output App_Data\Temp folder with a name of WcfServiceDescription.xml. You can reuse some of the settings if you launch the wizard from the command line and pass in the configuraiton file as a parameter.  &lt;br /&gt;  &lt;br /&gt;  &lt;pre&gt;BtsWcfServicePublishingWizard -WcfServiceDescription=C:\Inetpub\wwwroot\BizTalkWcfService\App_Data\Temp\WcfServiceDescription.xml&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Saved me some time during development, however, it doesn't seem to remember the namespace specified.  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-1528718614160317478?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/1528718614160317478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=1528718614160317478' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/1528718614160317478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/1528718614160317478'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2008/01/reuse-biztalk-wcf-service-publishing.html' title='Reuse BizTalk WCF service publishing wizard settings'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-6055282553508447992</id><published>2007-10-03T22:40:00.001+10:00</published><updated>2008-01-03T17:55:30.555+10:00</updated><title type='text'>Sharepoint authentication prompt in Vista RTM</title><content type='html'>If you try to open a document from a document library from MOSS or Windows Sharepoint Services, you get prompted for authentication even you've setup all your kerberos authentications and correct zones for IE. And you're pulling hair out of your head. It turns out that this is caused by issue in Vista and the WebDav component.&lt;br /&gt;&lt;br /&gt;When you open a a document in Office 2007 stored in Sharepoint, the office programs use the OS WebDav component to communicate to the Sharepoint server. However to successfully pass your current Windows authentication through to the server, it is very sensitive to what proxy and zone settings you have setup in IE for the user. The best way to to mandate these IE settings via group policy or your favourite management tool for your users.&lt;br /&gt;&lt;br /&gt;Until a SP1 of Vista is available (If it is fixed), your workaround is to specify a proxy settings in IE and select "bypass proxy server for local addresses".&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;If you use IE and choose to configure your client using automatic configuration script, instead of checking the "Automatically detect settings", you may need to apply this hotfix &lt;a href="http://support.microsoft.com/kb/941853/"&gt;http://support.microsoft.com/kb/941853/&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Updated: 3/1/2008, Well with vista SP1 RC, it is no longer prompting me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-6055282553508447992?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/6055282553508447992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=6055282553508447992' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/6055282553508447992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/6055282553508447992'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2007/10/sharepoint-authentication-prompt-in.html' title='Sharepoint authentication prompt in Vista RTM'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-6879174633028235815</id><published>2007-09-27T10:19:00.000+10:00</published><updated>2007-09-27T10:29:43.099+10:00</updated><title type='text'>Limitation on TFS 2008 and shared WSS farm</title><content type='html'>A new feature in TFS 2008 (Orca) is the ability to easily point TFS to use an existing Sharepoint farm. For example, if you've got an existing sharepoint deployment for your project team, you can configure TFS 2008 to use that same farm instead of setting up and maintaining another farm just for TFS. Check out this blog post by Sudhir Hasbe &lt;a href="http://blogs.msdn.com/sudhir/archive/2007/06/25/sharing-your-corporate-sharepoint-server-with-multiple-tfs-servers.aspx"&gt;http://blogs.msdn.com/sudhir/archive/2007/06/25/sharing-your-corporate-sharepoint-server-with-multiple-tfs-servers.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Its all good except when I tried it with TFS 2008 Beta 2, you seem to have some restrictions in your selection of path. It only works correctly when your path is a single level deep. Ie, http://wssserver/TFSSites, if you try to point it to http://wssserver/development/TFSSites, some functionalities works, but a lot of things don't.&lt;br /&gt;&lt;br /&gt;Sent a feedback to &lt;a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=296731"&gt;MS&lt;/a&gt; and apparently is by design.  So from my tests, it seems that you can have WSS on a corporate farm, but as long as that path is onlye 1 level deep.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-6879174633028235815?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/6879174633028235815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=6879174633028235815' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/6879174633028235815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/6879174633028235815'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2007/09/limitation-on-tfs-2008-and-shared-wss.html' title='Limitation on TFS 2008 and shared WSS farm'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-6833056428413047913</id><published>2007-07-23T16:50:00.000+10:00</published><updated>2007-07-23T16:58:05.782+10:00</updated><title type='text'>MSDE Backup on x64 Windows 2003 Server</title><content type='html'>While testings backup on a x64 Win2003 Server today, I keep getting strange errors from NTBackup and EventLog.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Event Type: Error&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Event Source: VSS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Event Category: None&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Event ID: 6013&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Date:  23/07/2007&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Time:  4:06:59 PM&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;User:  N/A&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Computer: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Description:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Sqllib error: OLEDB Error encountered calling IDBInitialize::Initialize. hr = 0x80004005.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;SQLSTATE: 08001,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Native Error: 17&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Error state: 1,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Severity: 16&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Source: Microsoft OLE DB Provider for SQL ServerError message: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;span &gt;Well as it turns out the application I was testing had a dependency on MSDE and I just had to install the patch to MSDE &lt;/span&gt;&lt;a href="http://support.microsoft.com/kb/913100"&gt;&lt;span &gt;http://support.microsoft.com/kb/913100&lt;/span&gt;&lt;/a&gt;&lt;span &gt; for x64 machines only.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span &gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span &gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-6833056428413047913?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/6833056428413047913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=6833056428413047913' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/6833056428413047913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/6833056428413047913'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2007/07/msde-backup-on-x64-windows-2003-server.html' title='MSDE Backup on x64 Windows 2003 Server'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-6876464661157576938</id><published>2007-03-30T23:17:00.000+10:00</published><updated>2007-03-30T23:26:57.225+10:00</updated><title type='text'>Apple bootcamp 1.2 running vista</title><content type='html'>Apple recently released 1.2 beta of its &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;bootcamp&lt;/span&gt; software, one of the key new feature is support for Vista.  So I couldn't resist and after shuffling some files to free some space, I installed Vista on my &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;Macbook&lt;/span&gt; Pro C2D.  Installation was very simple, basically install Vista as per normal, then install the Mac drivers by inserting a Mac drivers CD that you create using the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;bootcamp&lt;/span&gt; assistant.&lt;br /&gt;&lt;br /&gt;Vista reported I have a 4.7 Windows Experience Index.  So far the laptop is working &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;ok&lt;/span&gt; under Vista, some features such as automatic screen brightness and keyboard illumination doesn't work.   One complaint is that when booted into Vista, the hardware makes a high pitch noise.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-6876464661157576938?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/6876464661157576938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=6876464661157576938' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/6876464661157576938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/6876464661157576938'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2007/03/apple-bootcamp-12-running-vista.html' title='Apple bootcamp 1.2 running vista'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-213773420152307187</id><published>2007-03-15T18:14:00.000+10:00</published><updated>2007-03-15T18:22:35.266+10:00</updated><title type='text'>Omea Pro Aggregator</title><content type='html'>I've spent a little bit of time looking for a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;RSS&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;Aggregator&lt;/span&gt; and came across &lt;a href="http://www.jetbrains.com/omea/"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;Omea&lt;/span&gt; Pro&lt;/a&gt;, I've settled with it for the past week and so far I like it.  Its simple to use and aggregate not only feeds, but &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;NNTP&lt;/span&gt;, web and mail.  And the searching feature is pretty nice too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-213773420152307187?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/213773420152307187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=213773420152307187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/213773420152307187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/213773420152307187'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2007/03/omea-pro-aggregator.html' title='Omea Pro Aggregator'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-922630606603083429</id><published>2007-03-15T14:39:00.000+10:00</published><updated>2007-03-15T14:48:47.446+10:00</updated><title type='text'>WSS 2.0 to 3.0 In place upgrade SPConfigurationDatabaseSequence2 failed</title><content type='html'>Had worked on a few in place upgrades of WSS 2.0 sites to WSS 3.0. Haven't quite figure under what conditions this occur under but during some upgrades the wizard fail and a message like this is logged.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;Action 3.0.2.0 of Microsoft.SharePoint.Upgrade.SPConfigurationDatabaseSequence2 failed.Microsoft.SharePoint.Upgrade.SPUpgradeException:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;Action 3.0.2.0 of Microsoft.SharePoint.Upgrade.SPConfigurationDatabaseSequence2 failed. ---&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;System.ArgumentException:&lt;br /&gt;The id 0a54b6fc-79ad-4412-b51d-3091dd622976 is in&lt;br /&gt;use. An Microsoft.SharePoint.Administration.SPServer named "sql" is using the same id as the new object named "sql" of type Microsoft.SharePoint.Administration.SPServer. Every object must contain a unique id. Either update the new object's id or delete the existing object and try again.&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/p&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;The solution that worked for me is to empty out the "Dependencies" and "Objects" table in the WSS Config database and run the wizard again.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-922630606603083429?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/922630606603083429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=922630606603083429' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/922630606603083429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/922630606603083429'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2007/03/wss-20-to-30-in-place-upgrade.html' title='WSS 2.0 to 3.0 In place upgrade SPConfigurationDatabaseSequence2 failed'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-109338600749175495</id><published>2004-08-25T08:09:00.000+10:00</published><updated>2006-10-21T23:04:36.731+10:00</updated><title type='text'>PAG blocks</title><content type='html'>I've been having some trouble with a few Microsoft Application blocks lately, mainly threading issues.  Haven't spent too much time on it yet, but they don't seems to be fully thread safe.  Well the PAG group is taking the existing PAG blocks and developing them into the Microsoft Enterprise Library (&lt;a href="http://www.gotdotnet.com/community/workspaces/workspace.aspx?ID=295A464A-6072-4E25-94E2-91BE63527327"&gt;http://www.gotdotnet.com/community/workspaces/workspace.aspx?ID=295A464A-6072-4E25-94E2-91BE63527327&lt;/a&gt;)  I hope they've taken threading into considerations.&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-109338600749175495?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/109338600749175495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=109338600749175495' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/109338600749175495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/109338600749175495'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2004/08/pag-blocks.html' title='PAG blocks'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-109275151534063441</id><published>2004-08-18T00:03:00.000+10:00</published><updated>2006-10-21T23:04:36.670+10:00</updated><title type='text'>BITS C# Wrapper</title><content type='html'>I was recently using BITS (Background Intelligent Transfer Service) to create a component for uploading and downloading files asynchronously from a windows sharepoint services document library. One of the requirement was transfer can only be done by authenticated users. BITS version 1.5 and above supports this via the IBackgroundCopyJob2::SetCredentials method. However, this method uses an union in its parameter and C# does not have union. After playing with interop attributes for a while I've worked out the necessary attributes to make this work with a C# only wrapper without going to managed C++.&lt;br /&gt;&lt;br /&gt;After looking at the definition for BG_AUTH_CREDENTIALS in the .h file from the SDK, it turns out that the union (BG_AUTH_CREDENTIALS_UNION) only contains one type which is BG_BASIC_CREDENTIALS. I was able to make the call to SetCredentials work by using the FieldOffset attribute in the struct definitions.&lt;br /&gt;&lt;br /&gt;Here is an extract of the important struct definitions.&lt;br /&gt;&lt;br /&gt;internal enum BG_AUTH_SCHEME&lt;br /&gt;{&lt;br /&gt;// Fields&lt;br /&gt;BG_AUTH_SCHEME_BASIC = 1,&lt;br /&gt;BG_AUTH_SCHEME_DIGEST = 2,&lt;br /&gt;BG_AUTH_SCHEME_NTLM = 3,&lt;br /&gt;BG_AUTH_SCHEME_NEGOTIATE = 4,&lt;br /&gt;BG_AUTH_SCHEME_PASSPORT = 5&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;internal enum BG_AUTH_TARGET&lt;br /&gt;{&lt;br /&gt;// Fields&lt;br /&gt;BG_AUTH_TARGET_SERVER = 1,&lt;br /&gt;BG_AUTH_TARGET_PROXY = 2,&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;[StructLayout(LayoutKind.Explicit, Size=16, Pack=4)]&lt;br /&gt;internal struct BG_AUTH_CREDENTIALS&lt;br /&gt;{&lt;br /&gt;[FieldOffset(0)]&lt;br /&gt;public BG_AUTH_TARGET Target;&lt;br /&gt;&lt;br /&gt;[FieldOffset(4)]&lt;br /&gt;public BG_AUTH_SCHEME Scheme;&lt;br /&gt;&lt;br /&gt;[FieldOffset(8)]&lt;br /&gt;public BG_AUTH_CREDENTIALS_UNION Credentials;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;[StructLayout(LayoutKind.Explicit, Size=8, Pack=4)]&lt;br /&gt;internal struct BG_AUTH_CREDENTIALS_UNION&lt;br /&gt;{&lt;br /&gt;[FieldOffset(0)]&lt;br /&gt;public BG_BASIC_CREDENTIALS Basic;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;[StructLayout(LayoutKind.Explicit, Size=8, Pack=4)]&lt;br /&gt;internal struct BG_BASIC_CREDENTIALS&lt;br /&gt;{&lt;br /&gt;[FieldOffset(0)]&lt;br /&gt;[MarshalAs(UnmanagedType.LPWStr)]&lt;br /&gt;public string UserName;&lt;br /&gt;&lt;br /&gt;[FieldOffset(4)]&lt;br /&gt;[MarshalAs(UnmanagedType.LPWStr)]&lt;br /&gt;public string Password;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;I've posted the interop library at &lt;a href="http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=99f2f473-26de-41cd-bf39-8f7e75fda5aa"&gt;http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=99f2f473-26de-41cd-bf39-8f7e75fda5aa&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-109275151534063441?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/109275151534063441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=109275151534063441' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/109275151534063441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/109275151534063441'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2004/08/bits-c-wrapper.html' title='BITS C# Wrapper'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7733235.post-10919751881830805</id><published>2004-08-09T00:17:00.000+10:00</published><updated>2006-10-21T23:04:36.593+10:00</updated><title type='text'>Start my blog</title><content type='html'>Well I think it is time to start my own blog, so here is my first entry.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7733235-10919751881830805?l=eddietse.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eddietse.blogspot.com/feeds/10919751881830805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7733235&amp;postID=10919751881830805' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/10919751881830805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7733235/posts/default/10919751881830805'/><link rel='alternate' type='text/html' href='http://eddietse.blogspot.com/2004/08/start-my-blog.html' title='Start my blog'/><author><name>Eddie Tse</name><uri>http://www.blogger.com/profile/08965839343512165980</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
