Saturday, January 10, 2009

Using LINQPad

LINQPad lets you interactively query SQL databases in a modern query language: LINQ.

LINQPad supports everything in C# 3.0 and Framework 3.5:

  • LINQ to SQL
  • LINQ to Objects
  • LINQ to XML

LINQPad is also a great way to learn LINQ: it comes preloaded with 200 examples from the book, C# 3.0 in a Nutshell.

Want to look at a preview of How LINQPad looks like, here it is:

LINQPad

Download LINQPad

Tuesday, December 23, 2008

Figuring out the SQL Server Version Number

I was about to install the SP2 from SQL Server when things started to give me woes with all sorts of issues. I wanted to uninstall and then tried to figure out the version and what SP did I have, when I realized, how difficult some little things could be. You can figure this out in two different ways:

#1 In SQL Server Management Studio Object Explorer when connected to the instance.

#2 By executing the query SELECT SERVERPROPERTY('ProductVersion') against a Database Engine instance.

The following table shows the version numbers that correspond to versions of SQL Server 2005:

Version Number   SQL Server Version

9.00.1399   SQL Server 2005 (initial version)

9.00.2047   SQL Server 2005 SP1

9.00.3042   SQL Server 2005 SP2

Wednesday, November 19, 2008

ISO mounting tools

If you need to mount the iso images (and several others from the list below), you may want to try this freely available tool from :

http://www.disc-tools.com

It has a DAEMON Tools that enables you to use your CD/DVD images as if they were already burned to CD/DVD.

DAEMON Tools Lite supports the following image types:
b5t (BlindWrite images)
b6t (BlindWrite images)
bwt (BlindRead images)
ccd (CloneCD images)
cdi (DiscJuggler images)
cue (Cue sheets)
iso (Standard ISO images)
mds (Media Descriptor Files)
nrg (Nero images)
pdi (Instant CD/DVD images)
isz (Compressed ISO images)

Monday, November 10, 2008

MCM and MCA certifications for MOSS

Do you already posses a MCTS for MOSS/WSS 3.0.
Getting to feel repetitive after the completion of the two successful years with MCTS.
Here's something new for you to try out.

Microsoft is introducing the Microsoft Certified Master (MCM) and Certified Architect (MCA) for SharePoint.
Cool...so there is lot more to be explored yet and of course to keep you busy in the business.

So, interested !!!
Read the MSDN blog entry below:

http://blogs.msdn.com/sharepoint/archive/2008/11/10/introducing-the-microsoft-certified-master-and-certified-architect-for-sharepoint.aspx

Wednesday, November 5, 2008

Funny SharePoint video

Huh uuuhhh, quite funny !!!
A song about SharePoint, just view to enjoy.

I found this one on YouTube.........Hope you are able to view this. :-)

http://www.youtube.com/watch?v=8P9QlojtrWs&feature=related

Wednesday, October 29, 2008

Get ready for the MOSS 2007 and WSS 3.0 Service Pack 2

I found this looking around the details of some InfoPath Form Server Patches. Thought of posting here to spread the information to a more larger MOSS user-groups.

http://blogs.technet.com/office_sustained_engineering/archive/2008/10/22/announcing-service-pack-2-sp2-for-the-2007-microsoft-office-system.aspx

Tuesday, September 23, 2008

Setting up the Favicon in a MOSS site

I had this requirement of displaying an icon in the address bar of the browser, whenever I try to visit the MOSS web site. I knew it was to be a simple solution hence started looking around if someone had already posted this, and I found this.
The posting at this web site: http://www.sharepointblogs.com/mossman/archive/2008/01/18/favicon-s-in-a-sharepoint-master-page.aspx
really talks about a simple solution of inserting a single line of code within your Master page in the head section and placing the .ico files in the appropriate folder.
I placed my Favicon.ico in the images sub-directory and inserted this code:
(rel="shortcut icon" href="/images/favicon.ico" ) within the opening and closing "link" tags, in the .master page just above the closing "head" tag, published and check-in the master page and there you go.

Here is one catch though.
- IE6 still wasn't displaying this icon, only if you add the site to your favourites it displays in the menu item. Not sure about this, does anyone has a resolution to this.
- IE7 and FireFox did that instantly, but of course, you need to close and open a new browser.

But anyways, that worked !!!
Thanks to Mossman.

Saturday, September 20, 2008

Figuring out if a Port number is already used before creating a MOSS site.

I was having trouble creating my MOSS SSP for the MySites and Personal Sites. Every time I started with a New SSP and went ahead with the creation of a new web application, I received this error "Port already in use. Try creating at a different port.......".
I know this could be very simple for someone who has a limited number of site in IIS. You could very easily go to IIS, right click on each of the web sites and figure out if the port number in question has already been consumed. But for me, I had almost 35 sites and I really did not want to be going with this approach. So I figured this out. Hope this would be help to anyone getting this error.
There is a command line utility, which gives you the list of all the existing port in IIS which are actually geared for listening.
What that means is, they have already been used to setup a site on those ports.
That said, you must not use them again, unless you are trying to extend a site on the same port, of course.
So follow these steps, to verify which ports are listening :

#1 Open the Command Prompt window.
#2 At the command prompt, type netstat -n -a.
Here, the -n switch is used to numerically display the address and port number of active TCP connections. The -a switch is used to display the TCP ports on which the computer is listening.

HTH.
Thanks.

Tuesday, February 5, 2008

Extending the disk size of a VPC

I was running low on my disk space when I was trying to upgrade my VPC with VS 2005 SP1.
It seemed to require more than 2 GB of memory as I could see it getting consumed while the SP1 update and finally fail due to memory shortage.
So I decided to increase my disk size.
Here are the steps required to follow to have this done easily:
#1. First download the "VHD Resizer" utility from vmToolkit to expand the total size of the VHD from this url: http://vmtoolkit.com/files/folders/converters/entry87.aspx
#2. Next, follow the instructions at Xtralogic to extend the File System Partition using Microsoft DiskPart. http://www.xtralogic.com/extend_fs_part.shtml
You may also take a look for DiskPart details at the url: http://support.microsoft.com/kb/325590