SPUGMalaysia.org now live

May 24th, 2009 Patrick No comments

small_bg

Just to announce that Malaysia SharePoint User Group (MySpug) has our own URL and website hosted by Office Live at http://spugmalaysia.org 

Look forward for more features inside Office Live to enhance the feature while at the same time I got to plan how to consolidate the websites in Facebook and ISPA into spugmalaysia.org

Share and Enjoy:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
Categories: Uncategorized Tags:

Unable to deploy ClickOnce VSTO apps on Windows 7 RC

May 23rd, 2009 Patrick 2 comments

When you try to install a ClickOnce VSTO application you got the follow error saying your .NET Framework version is not correct (however Windows 7 ships with .NET 3.5 SP1)

Untitled picture2

Thanks to a blog post from the VSTO product team, I realize that Windows 7 RC left our a file in C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\RedistList

image

When I start up my Windows 2008 VPC, I see there is a FrameworkList.xml file inside

image

So I copy it out from my VPC, then I restart Visual Studio (it is not mentioned in the blog) and republish the VSTO app. The installer is now working!

Untitled picture

Share and Enjoy:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
Categories: Uncategorized Tags:

MOSS license becomes eval after installing MOSS SP2?

May 23rd, 2009 Patrick No comments

A lot of complains gone out in the web pass week after MOSS SP2 was released. For a number of customers, after they installed the service pack they notice the server license becomes a trial license and will expire in 180 days. You can check it out by going to Central Admin site and look out for Upgrade and Migration section, look for an option called Convert Licence Type. If you are impacted, you will see a the word Office SharePoint License Trial

image

There is nothing much to panic according the the knowledge base article 971620 here as this ‘bug’ in SP2 does not corrupt your data, nor does it impact your MOSS functionalities (unless you don’t enter the license number after 180 days). What you need to do is just to reenter the license number

image

Share and Enjoy:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live

Virtual PC – Guest VM slower when color quality is not the same as host

May 20th, 2009 Patrick No comments

This is something I notice because I got a VPC built by a friend that seems to be slow even with Hardware Virtualization enabled. Then I check out he display setting properties and realize the color quality has been set to 16bit while my host machine is running at 32bit.

I feel like things are faster now after setting the color quality to 32bit on the guest VM.

Share and Enjoy:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
Categories: Uncategorized Tags:

Error updating JScript IntelliSense: Object doesn’t support this property or method @ 2139:1

May 8th, 2009 Patrick 12 comments

Today I am trying out JQuery on Visual Studio 2008 for the first time. I go to the website at www.jquery.com and downloaded the library as well as the document for Visual Studio.

So I imported the JQuery library into my VS project

image

But when I want to try to the intellisense, I notice it is not working!! It should be able to recognize the famous $!!

image

Then I realize at the bottom of the VS IDE, there is an error message -

Warning    1    Error updating JScript IntelliSense: D:\workspace\Projects\JQuerySample\JQuerySample\scripts\jquery-1.3.2.js: Object doesn’t support this property or method @ 2139:1    D:\workspace\Projects\JQuerySample\JQuerySample\Default.aspx    1    1    JQuerySample

image

But this is not a bug inside the JQuery library itself. So I went back to scottgu’s blog post about on JQuery I notice something very difference with his library (besides the fact that he is using version 1.2.6).

I notice mine has got an extra number 2 at the end of vsdoc there. So I go back to the Google code side where I downloaded the file and I found out en they release a new vsdoc file to replace the exisiting deplecated one, they ‘tangan gatal’ change the name to jquery-1.3.2-vsdoc2.js. VS Interllisense only programmed to regconized [Javascript file name]-vsdoc.js without the 2 at the back there.

image

That vsdoc2 is the cause of the problem here! Just rename it to jquery-1.3.2-vsdoc.js and you got JQuery Intellisense working!

image

Share and Enjoy:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
Categories: Uncategorized Tags: ,

Complex family relationships expressed in English

April 28th, 2009 Patrick No comments

I know this is not the place to blog about family relationships (where are the codes?!) but when you have Raymond Chen (author of the book Old New Thing and developer in Windows Shell team) talked about this topic and finding out that he can write in Chinese then this is awesome.

Normally we Asians think that in English there are no word/ vocabulary to tell you want relationship you have with i.e. your father’s sister in law’s daughter. Chinese have word for every relationship but in English an uncle is just uncle, outsiders of your family won’t know when you call your uncle it’s your dad’s side or mum’s side. But here in Raymond’s blog post, I actually find out there is.

http://blogs.msdn.com/oldnewthing/archive/2009/04/27/9570320.aspx

Share and Enjoy:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
Categories: Uncategorized Tags:

WCF – MSMQ based web service returns error 503

April 28th, 2009 Patrick No comments

I added MSMQ to my WCF web service (which was running OK) by adding the following endpoint to the service in web.config file

<endpoint
    address="net.msmq://server/private/queue1"
    binding="netMsmqBinding"
    bindingConfiguration="MsmqConfiguration"
    contract="ITestQueue" />

I also added the following binding

<netMsmqBinding>
    <binding name="MsmqConfiguration"
       exactlyOnce="false">
       <security mode="None"/>
    </binding>
</netMsmqBinding>

Once I deployed the Wcf service on Windows Server 2008, I also enable net.msmq on the website using the following command

appcmd set app "localhost/service" /enabledProtocols:net.msmq

However when I try to point to the svc file from my browser I got an Error 503 instead. Removing the MSMQ endpoint and I have the service up and running again.

After that I have a look at the website via the IIS Management Console and I realize that http protocol is not enabled for the website anymore

image

A normal web app will have http protocol such as below

image

At last I figure out that the appcmd actually overwrote the settings instead of adding on to it. So the correct appcmd command is:-

appcmd set app "localhost/service" /enabledProtocols:net.msmq, http

And I have the site running again with both http and msmq protocol enabled.

Share and Enjoy:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
Categories: Uncategorized Tags: , ,

Windows 7 Release Candidate

April 26th, 2009 Patrick No comments

WTB_banner_win7

The Windows team blog annouced that the final testing milestone for Win7 which is the RC will be available to MSDN and TechNet subscribers on 30th April.

On the mean time Paul Thurrott’s Super Site for Windows has tons of screenshots for Windows 7RC. Compared to Beta, I don’t see much difference except the news about a Virtual Windows XP Classic Mode.

Now I wonder how Paul got access to the build? :)

Share and Enjoy:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
Categories: Uncategorized Tags:

SharePoint Prezzo at IASA Chapter Meeting

April 23rd, 2009 Patrick No comments

My fellow SharePoint User Group co-founder Matthew was invited to speak at International Association of Software Architects (IASA) this Tuesday and he presented a topic on SharePoint Content Governance. About 15 members from IASA attended the talk held at Microsoft Malaysia’s office.

003

Share and Enjoy:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
Categories: Uncategorized Tags: ,

Teaching Prism and Sync Framework for SCoPE Penang

April 21st, 2009 Patrick No comments

002

Got invited by Software Consortium of Penang (SCoPe) to conduct a one day course on Composite Application Guidance for WPF (Prism) and Sync Framework. Due to short notice, about 8 participants turned up for the weekend workshop.

My Prism hands on labs are downloadable here.

http://cid-732d1d42507315a3.skydrive.live.com/browse.aspx/Public/Prism

Share and Enjoy:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
Categories: Uncategorized Tags: , , ,