Monday, July 26, 2010

15th Shaban and Importance of Areeza

Q. What is Areeza?
Ans. "AREEZA" is a letter to the Imam Mehdi(a.s.). This letter is written with a lot of love and affection and is traditionally wrapped up in flour or pure soil and sprinkled with scents (Itar) and is thrown in a waterbody like river, ocean, canal with the intention that it reaches our beloved Imam-e-Zamana(a.s.).

------------------------------------------------------------------------------------------------
For the first time in history, an online portal Areeza.com is being launched that will take your Areezas in the service of the 12th Imam (A.S.). We know a lot of people want to send their Areezas, but are unable to do so due to a variety of reasons. We will undertake the humble responsibility of making your prayers reach their destination by being the messengers for you. Kindly support our noble cause and send your Areezas online in the service of God.
Our dedicated team will drop your Areezas in the ocean every Friday. We will keep your Areezas completely confidential, we will not be reading them. We will only be dropping your Areezas, never reading any contents so you can be sure your prayers only reach the 12th Imam (A.S.).

Please Join us with all your family member and friends so they can also take advantage of sending their Areezas online.

Kindly visit http://www.Areeza.com to send your Areezas! We have launched this site today on 14th of Shaban in the occasion of Shab-e-barat(15th Shaban).

Tuesday, July 6, 2010

Moss 2010 - Store sharepoint Logs in database

I was playing with the moss 2010 and have found "Database driven Log system" as new feature. Now all the logs can store into a database from all the servers within a farm.
The only thing you have to do is turn on this feature in Central Admin.
You can see the following logs: ULS, events, performance counter, memory info, disk info, etc.

For more detail please go to microsoft's sharepoint site
Nthing I am going to do is to design the SSRS report for different log info, once those will be ready, I will post those reports for you guys.
Enjoy green coding...

Monday, June 21, 2010

Get the detailed error message from Microsoft.SharePoint.SoapServer.SoapServerException


Remove all try and catch statements and let the error come as "SoapException was unhandled by code" error. In this case debugging will throw a message. See this message and click on ViewDetail under Action.

Under the View Detai, expand exception. See InnerXML under Detail: you will get the exact error. For example, I am getting this error from Microsoft.SharePoint.SoapServer.SoapServerException: "There is no Web named \"/sites/VendorDocumentCenter\".".

See the attached Image for more detail.

I hope this will help you to see detail error of Microsoft.SharePoint.SoapServer.SoapServerException

Enjoy green debugging: www.code4green.com



Sunday, June 13, 2010

MultiColumnLookupField control in sharepoint 2007

Depoyment of MultiColumnLookupField in sharepoint

I was looking for how to use this control into sharepoint, and after doing work around I have got this solution for others:

1. Build your assembly(project) and install it in the GAC on the server.

2. Copy the ascx control(MultiColumnLookupField.ascx) to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES

3. Copy the fldtypesMultiColumnLookup.xml to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML

4. Reset IIS

Enjoy green coding

Hussain Naqvi

use this online tool for free code generation www.Code4green.com

Thursday, May 13, 2010

Features of SharePoint2010

Hi, I have compiled my first eBook on "Features of Moss2010". Please download this free eBook from my code4gree site : http://www.code4green.com/Files/MOSS%202010%20Features.pdf Also, use new version of code4green to generate free code. Enjoy Green Coding....

Tuesday, September 22, 2009

UpdateListItems is not saving data into sharepoint list

Possible reasons are:
1. Your view does not have a column which is used in Field list in CAML query ("" + userId + "" UserId is not a part of the view which is used in ViewName attaribute.
Like in batchElement.SetAttribute("ViewName", “Default View”); userId is not part of default view)
2. Check the date fields, if it has default value set, than it will be failed. Or if it has not a proper format than it will be failed.

Make your application in minutes and also take part in green movement

Hi,
www.code4green.com is provided a very helpful Web based Code Generation tool. It is free and it does 80% work for an application.
I have using this tool since it has started beta version and It is helping me alot.
Go for the Green coding and use www.code4green.com
If you have any questuin regarding this tool, please write on this blog, I will help you out to make your application in minutes.