Error while writing managed code for infopath 2007 forms - InfoPath cannot add the event handler.


Online project management, task software, and free collaboration workspace: AJAXWorkspace
AJAXWorkspace is a free online workspace that offers task tracking software, team collaboration, online calendar, document sharing, and file management for project management and teamwork.

I receive some problem from my colleague when designing an infopath-2007 form that uses managed code for custom event handling. Here is the error:

InfoPath cannot add the event handler.

To work with Visual Basic or C# code, Microsoft visual studio tools for Applications (VSTA) is reguired. The Microsoft .Net Framework 2.0 and Microsoft Core XML Services 6.0 must be installed prior to installing VSTA…..

He has installed everything that is required. (MSXML Parser 6.0 / VS-2005 / VSTA) but still facing this error. Here is the solution from “Faithful”:
Read the rest of this entry »

Alarm Clock - Wake and Bacon


It is an alarm clock that wakes you up with the smell and sizzle of cooking bacon. I believe no one likes to wake up by an alarm clock. This clock gently wakes you up with the mouthwatering aroma of bacon, just like waking up on a Sunday morning to the smell of Mom cooking breakfast. Here some snapshots from Matty Sallin. Check out more details here: http://www.mathlete.com/portfolio/wakeNbacon.php

P1 WiMAX Launched in Malaysia!


Finally, P1WiMAX was launched in my home country. Checkout on their website here: http://www.p1wimax.com. First thing come to my mind is their packages and pricing. The packages price sound reasonable which offers start from RM 59 per month with 400kps (exclude modem). Compare to other ISP provider, the price is not too expensive. The promotional package offer 1.2MBps with RM 99 per month (Free modem). I think this is good deal while the speed and technology here is still fall behind compare to other countries.

The next thing is the coverage. I spent 20 mins to check out the coverage area at their website but can’t find anything. There are broken link on the coverage page. Then, I browse through their company website p1.com.my and found the link here: http://www.p1.com.my/Wimax/aspx/wimaxmap.aspx Frankly, I think this page is not user-friendly at all. Try to search on location and road name; you always get record not found. You need to enter properly keyword into their respective field. Try to browse and zoom into their map; it zoom in into very detail map. It is difficult for us to pan and view other location. I just do a quick look on the coverage area, not all places are covered. Even in KLCC area, you will see a lot of blank spot not covered. Eg. Wisma Hong Leong, Shangri-la hotel and etc.

Personally, I don’t it is a good time to get it now since it is still new and not many places are covered. Anyway, this is a good start. Hopefully, it will bring more pressures to other ISP providers to improve their services and offer lower cost to consumer!

My new tech blog, bronios.com


Welcome to bronios.com! This is the new blog for me to share out my tips. Some of the archives articles are move from yyTech blog (http://yyonline.wordpress.com). I will continue to share out my experience in SharePoint, .Net, SQL, MS BI, Gadgets and Collaboration. Happy reading!

Bronios main logo

MSN Messenger (Key port - 80048820 error)


Recently, I got problem sign in to msn messenger (Key port -80048820 error), hotmail.com website and the internet speed is not stable on certain website. I am not sure what was going on to my ISP provider (StreamyX). It works fine previously. I got no problem accessing it in my working place. I got some friends staying nearby also having this problem.  After debugging with some try & error methods, I manage to solve this problem. This case may not apply to everyone depends on the network setting. For my case, I got an ADSL modem (with router) and D-Link Dir300 Wireless Access Point. Here are the steps:

  • First I try to change the MTU setting from 1500 to 1362. Log in to D-Link administration system, click on Internet Setup, manual Internet connection setup, and change MTU setting under “Dynamic IP (DHCP) Internet Connection Type”. Then, restart your router, modem and PC. (It works for me for one night. After that, I try to use it on the next day, it give me the same error again).
  • Second method, log in to D-Link administration system, click on Internet Setup, manual Internet connection setup and checked Access Point Mode. Restart your router, modem and PC. (Note, this will change your device to Access Point Mode and disable NAT mode – Get DHCP IP from your modem router.)

I hope these tips can give some hints to those who are having the same problem. It works for me! Good luck.

Send notification when someone approve/reject an approval workflow


Is there any form of notification being sent to the submitter of the page?
Yes, default approval workflow does have the following email notification

  1. Requesting approval email notification
  2. Email notification to contributor regarding approved / rejected pages from the approval.

Here are the steps:

  1. Outgoing email settings must be configured at the Central Admin à Operations. Without this, there won’t be any option to send notification email in the list setting.
  2. User profile must be configured and imported, with user email information included.
  3. Please create a new Task list when using default approval workflow, using existing “Workflow Task” list, email notification will not be send out.  If you are using existing workflow task list, on this list setting >  advanced setting > Send e-mail when ownership is assigned ? change it to NO and wait for 5 minutes then change it back to YES then you will be able to see those email notification. The other alternative is DO NOT USE the default “Workflow Tasks”, create a new “Tasks” list

*Special thanks to RC, Abi, SC and LJ.

MOSS People Picker cannot search AD users from other domains


This post is contributed by my colleague, Abi. I would like to share out here since it is very usefully.

If you have MOSS users in different AD domains, and for dunno wat reason you can’t seem to search these users in the MOSS’s PeoplePicker, run a stsadm command to add the information about the those domains where the user is located.

In summary:
“We went to SSP and clicked on User Profiles and Properties under the “User Profiles and My Sites” section and then clicked on View Import Connections and then added domain1.company.com to the Import Connections list and I started a full import. It completed in about an hour and imported users from the domain1 domain.

The problem we run into is that when I go to add them to a site to give them access, we are unable to find the users by using People Picker. We only find users from the domain0 domain which the moss server is on. ”

I found out that by default People Picker can only find people in the resource domain - the domain that MOSS servers are in. For other domains/forests, you’ll need to run the following command:

Stsadm.exe –o setproperty –pn peoplepicker-searchadforests –pv <list of forests or domains> -url <webapp>

Official MS site:

Some examples:

How to grant another user to manage MOSS SSP


This post let you add another user to manage SharePoint SharedServices (SSP). http://msmvps.com/blogs/shane/archive/2007/08/06/give-a-user-access-to-the-ssp.aspx

* Thanks to Abi for her sharing on this post.

Adobe PDF IFilter for SharePoint Indexing and Searching


First, there is a long post describe how to setup this features. http://aidangarnish.net/blog/post/2007/09/Indexing-and-Searching-PDFs-in-MOSS-2007.aspx.

Here are some steps need to be aware of:

  • To have PDF icon in the doc lib, you still need to manually copy and paste the pdf icon image into the TEMPLATE > IMAGES folder, and map the image file with the file type in the DOCICON.XML file (in TEMPLATE > XML folder).
  • To crawl contents of PDF files, we need to install Adobe PDF IFilter 6.0 (download free).
  • Add new file type (.pdf) in your search setting. The settings is under central admin > Shared Service Administration > Search Settings > File Types
    /ssp/admin/_layouts/managefiletypes.aspx

A field that lookup from SharePoint list


A feature that enable a field to pick a value from a SharePoint list, made available at CodePlex: http://www.codeplex.com/SP2007LookupFields I get this from my colleague, S.C. I would like to share out here and take it as my own bookmark as well.