Friday, July 4, 2008

Memory leak in Firefox 3.0


FireFox 3.0 has still the memory leak woes, take look at the memory consumption for firefox with only four tabs opened for more than 15 hours.

Thursday, July 3, 2008

STSADM Command line Reference posters

STSADM Command line Reference posters




How to get the connection string for Sharepoint Config Database

Sharepoint Config database connection string is persisted in a Registry key , querying the specific key we can get the config database connection string.

Registry key:
HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\configdb

Code snippet to get the connection string:

RegistryKey key = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\configdb");
DSN = (string) key.GetValue("DSN");
SQLServerInstance = new string[]
{
this.DSN.Split(new char[] { '=', ';' })[1]
};

key.Close();


Hope this will help some needy SharePoint Dev.

WARNING : Do not make any changes in the registry without taking proper backups

Monday, November 12, 2007

Microsoft Search Server 2008

Microsoft recently announced the release of a new search solution, based on SharePoint Products & Technologies called Microsoft Search Server 2008. On the Microsot Enterprise Search Team Blog, the search team unveils the latest product as a part of the SharePoint family that provides an optimized search solution for your organizations business data. There are two versions of this product, a full Server version and Search Server 2008 Express, which you can download now as a release candidate.

Useful E-books

Check out this link which contains a lot of useful E-books

http://rapidshare.com/users/75T7P6

Thursday, November 1, 2007

Resolve relative url's without ResolveUrl

Sometimes you need to resolve relative url's without ResolveUrl. If the code is executing outside a Control, for example in an IHttpHandler or business layer code somewhere that has no reference to a Control, you can't call Control.ResolveUrl.

The System.Web.VirtualPathUtility class has some very useful method for converting from an app relative path to an absolute path:

string absoluteUrl = VirtualPathUtility.ToAbsolute(relativeUrl);

Can't Play Windows media files in IE 7 and VISTA


Here is the solution

Open IE7 > Tools > Internet Options
Click on the "Programs" tab
Click on the "Set Programs" button
Click the "Set program access and computer defaults" link
Click the "Custom" option
Go down to the "Choose a default media player:" option and select "Windows Media Player"
Click the "Ok" button
Close "Default Programs" window
Click the "Ok" button on the "Internet Options" window