Wednesday, August 25, 2010

Sunday, August 22, 2010

SP2010 V4.master page changes results into "/rcconsole.aspx. Code blocks are not allowed in this file."

SP2010 V4.master page changes results into "/rcconsole.aspx. Code blocks are not allowed in this file."

While making UI - Colors & Logo changes for a Record Center Template of a SP2010 site this particular file - rcconsole.aspx got mesed up. I made some changes to V4.master pages and it was working fine for all other site pages excewpt the one. The resolution I got is - Do not make inline or markup changes in any master pages related to CSS. All CSS chagnes should go in corresponding .CSS file.


Wednesday, August 04, 2010

SharePoint 2010 Search - maxdownloadsize

In reference to my earlier post.

http://blogs.technet.com/b/brent/archive/2010/07/19/sharepoint-server-2010-maxdownloadsize-and-maxgrowfactor.aspx

SharePoint 2010 Search do not index file size more then 16 MB

One of the interesting feature I come to know about SharePoint todat is - it will not crawl any file more then 16 MB unless to told it to go and crawl larger files size. This is besically a setting in a registry under the location (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Applications\<guid>-crawl-#\Gathering Manager) with the name - MaxDownloadSize. By default it will have 16 go ahead and change it to any larger number then think. Not sure what max you can put.

System.Configuration.ConfigurationManager

After compiling my .NET 3.5 application warning messages suggested me to use ConfigurationManager instead of ConfigurationSetting of System.Configuration class. But  I was not able to use it for sometime. Then after googling I found that you need to add a explicit reference to System.Configuration for your project.

Sunday, August 01, 2010

SharePoint 2010 Resource Link

http://blogs.technet.com/b/vedant/archive/2010/06/13/sharepoint-2010-resource-guide.aspx

SharePoint 2010 - Search results are not appearing

In SharePoint 2010 even though the crawler has completed its job for a particular site collection/site and when you make a search - Results are not shown. One of the result could be the association of the site collection with Search Service Application. To do that -
Goto Central Admin -> Application management -> Manage web applications - Select the web application you want to ssociate -> Service Connection (from ribbon) -> select the Search Service Application to associate. Save the configuration and redo the search.

Error from SharePoint site: Data is Null. This method or property cannot be called on Null values.

Though the above mentioned problem can be caused by so many other things but one of the probable cause in mentioned in the solution section.
--------------------------------------------------------------------------

Problem:
I have 2 site collection within a web application.
http://server:9999/sites/1
http://server:9999/sites/2
Crawler is able to crawel Site Collection 1 whereas not site collection 2 and giving following error. Errorinfo is "Error from SharePoint site: Data is Null. This method or property cannot be called on Null values."
-------------------------------------------

Solution: (Groups means SiteGroup)
We have got solution to his problem (along with MS Premier Support Team).
THere was a probem with Description field value of Groups. While creating a Groups in SharePoint 2010 - using SP2010 Object model we were supplying NULL as description but SharePoint 2010 Search Crawler DO NOT LIKE IT. Groups must have some description attached to it.

But the amazing thing is while creating a group with NULL as description it will get created. So at first GROUPS should not have created.

Once we got the source of issue we created a small app to update the description of Group and Crawl was back to normal.

Sunday, December 20, 2009

Web Cite

This is just for information, I like the concept and work by this org. You may also like it.

WebCite

--

Source code of the .NET Framework Libraries

Source code of the .NET Framework Libraries - This is one is the interesting and exciting thing I ever think of. Yes, Now .NET developers can debug the source of the .NET Libraries. This could help a lot to the developers struggling with their complex / simple source code.

I am writing this in reference to the following article posted on the internet. Pls. following this for further detail.

Releasing the Source Code for the .NET Framework Libraries



--

Friday, December 18, 2009

Workflow in MOSS

It's been 3 years I have been using MOSS but I never got chance of creating a Workflow, nor I did try to learn it :(. The sad part if I have never tried it and good part is its such a great functionality to use.

So I how did I design my first work flow - I used web browser to create it. There is other way to do it - Microsoft SharePoint Designer, and one more way to do it by using Visual Studio 2005 and +.

Questions came in my mind -

1. How to create multi step workflow from browser?
ANS:(use SP Designer)
2. How to edit workflow in SharePoint Designer?
ANS : (File -> Open Workflow -> Select workflow to edit.)
3. How do I add more conditions to a workflow engine?
4. How do I add more actions to workflow engine?
5. How do I embed business logic in workflow?

-S

Tuesday, December 01, 2009

Speeding up the SharePoint performance

I have found very interesting blog on speeding up the SharePoint performance. This hepls in understanding how the sharepoint pages and other resource files are working togeather to render the it.

This artical talks about SharePoint.Microsoft.Com site.

How we did it speeding up sharepoint microsoft.com


--

Wednesday, July 15, 2009

Adding Menu to List in MOSS

Here is the sameple code to demonstrate - How to add menu items in List Action Menu in MOSS 2007. Following code add one menu item named "Print List" and click event is described by UrlAction in a separate tag.





--

Tuesday, July 14, 2009

Sharepoint 2010

Yes, Sharepoint 2010.

Have a look @ following URL. I am excite about it.


SharePoint 2010

--

Monday, June 16, 2008

Accessing __doPostBack parameter from code behind

Whenever a ASPX page is post back __doPostBack (if its enabled)function is called back. The __doPostBack function contains two arguments, eventTarget and eventArgument. The eventTarget is the control which has invoked the call and the eventArgument is values passed along. Sometimes this "eventArgument" is required and it can be accessed as follows from the C# code behind file.

string passedArgument = Request.Params.Get("__EVENTARGUMENT");

Thanks.



--

Wednesday, June 11, 2008

VS 2008 & debugging issue

Whenever in VS Studio 2008, break point (while debugging the source code) is not getting hit then do the try to clean the solution first and rebuilt the solution.

It happened to me when I was working on one of the C# code and while debugging the code the break point was not getting hooked up. After sometime just by chance when I cleaned the VS solution I could make it.

Solution can be cleaned by - Solution Explorer -> Right click on the solution -> Clean Solution

--

Thursday, May 29, 2008

There is a good artical on adding Images / Icon to newly create tool bar in MS Office 2003/2007 applications.
How to: Add Custom Icons to Toolbar and Menu Items
Keywords : Creating a Toolbar, stdole IPictureDisp , msoButtonIcon

Simant

Thursday, April 24, 2008

Change default namespace of .NET application

Change default namespace of .NET application (VS 2008)

This is one of the thing for which I did browsing, searching, asking for help from friends but no scuccess until I had a look into ".csproj" file. So one can "change the default namespace for a .NET application" by just changing the value of "" element of "" root to the desired value.

If you are looking into the Properties of .NET application (specially VSTO) then you will always find the option disabled for default namespace.

Simant.

Wednesday, April 23, 2008

com.microsoft.sqlserver.jdbc.SQLServerException

Error while connecting to MS SQL Server 2005 database from a Java client
"com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect"
Solution : This happends besause TCP/IP is not enable. You need to enable the protocol and RESTART the "SQLServer" services.

Friday, October 14, 2005

Corillian's Product is a "Coponent Container"

Corillian's product is a "Coponent Container"

Component Containers are EXEs that hosts DLLs(components).

W3WP.EXE - The IIS worker process that handels requests for web sites and applications within a n application pool.

ASPNET_WP.EXE - This process handels the makority of the processing required by ASP.Net applications.

DLLHOST.EXE - As its name implies this process acts as a container(host) for an DLLs that need to be loaded.

SVCHOST.EXE - The Microsoft service host process hosts services that are executed from with DLLs.

RUNDLL32.EXE - This process allows for the execution of DLLs.