Friday, May 21, 2010

value does not fall within the expected range in sharepoint Error

Wnen I was working on the authentication part of in my project using forms authentication, I got the error value does not fall within the expected range. I deleted the old page and created a new one and added the webparts to the page. The error got resolved.

Thursday, May 13, 2010

How to Add a Site Template by using stsadm in MOSS 2007

stsadm -o addtemplate -filename “D:\SiteTemplate.stp” -title “Project site template” -description “Project site template with a simple structure”

After adding the site template, the IIS must be reset. The template will be found in Custom site template collection.

Ref: http://blog.gavin-adams.com/2007/07/03/creating-site-collection-templates/

Wednesday, May 12, 2010

How to Save the Site Template in MOSS Site

Suppose you want to save the site template of your existing site in sharepoint, please follow the steps below.

If your site address is like

http://localhost:100/Paintings/Pages/Home.aspx

and you want to save the template of the painting site, then change the URL as

http://localhost:100/Paintings/_layouts/savetmpl.aspx

and press Enter button.

You will be getting a page Save Site as Template and enter the details and select the Include Content checkbox to save your site content and click OK button. The following fogure will be displayed.


After clicking Ok the success page will be displayed as below.

You can go to the site template gallery by clicking on the link Site Template gallery and click Ok to finish the opration.



Tuesday, May 11, 2010

Run time filtering of the records Using Select Expression in DataSet Or in DataTable.


This code is used to write the filter expression in the Dataset runtime.

 for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
 {
      string expression = "Id = " + ds.Tables[0].Rows[i][0];
      DataRow[] rows = ds.Tables[1].Select(expression);
      foreach (DataRow row in rows)
      {
        DataRow newRow =                                                  myDescripterValueTable.Tables[i].NewRow();
                        newRow["Id"] = row["Id"];
                        newRow["value"] = row["value"];
                        myDescripterValueTable.Tables[i].Rows.Add(newRow);
      }
 }

How to select unique fields in DataSet or DataTable at runtime in C# & Ado.Net

Please refer the following code to filter the unique values from DataSet or DataTable at runtime.


DataTable dt=new DataTable();
DataTable dt = GetProductDetaila(); // Get all the details of product


DataView view = dt.DefaultView; // Create a dataview on the datatable


view.Sort = "ProductId,ProductName"; // Need to sort the records based on the ProductId and ProductName


DataTable newTable = view.ToTable("UniqueProductNames", true, "ProductId", "ProductName", 
"ImageURL"); 


// These are the unique entries in the dataset that are to be filtered. If you need more fields then write them in comma seperated values.

Friday, May 7, 2010

Walkthrough: Creating a Basic SharePoint Web Part

http://msdn.microsoft.com/en-us/library/ms452873.aspx

Deploying ASP.NET Web Applications in the Windows SharePoint Services 3.0 _layouts Folder

http://msdn.microsoft.com/en-us/library/cc297200.aspx

Manage SharePoint Farm Administration settings.

http://technet.microsoft.com/en-us/library/cc298750.aspx

http://technet.microsoft.com/en-us/library/cc298803.aspx#section1

Installing & Configuring Virtual Machine on Windows Server 2008 Hyper-V

http://www.windowsreference.com/hyper-v/hyper-v-how-to-create-a-new-virtual-machine/

http://techrepublic.com.com/2346-13628_11-242641-2.html?tag=content;leftCol

Installing & Configuring ForeFront Threat Management System.

http://www.isaserver.org/tutorials/Installing-Forefront-Threat-Management-Gateway-Forefront-TMG-Beta1.html

Installing and Configuring Team Foundation Server

http://support.microsoft.com/kb/969985

http://daveclarkesblog.blogspot.com/2008/07/installing-team-foundation-server-2008.html

http://geekswithblogs.net/michaelazocar/archive/2008/06/18/tfs-on-windows-2008-64-bit-step-by-step.aspx

Installation & Configuration of AD(Active Directory)

http://www.petri.co.il/installing-active-directory-windows-server-2008.htm

http://technet.microsoft.com/en-us/library/cc755258%28WS.10%29.aspx

http://technet.microsoft.com/en-us/library/cc754463%28WS.10%29.aspx

http://technet.microsoft.com/en-us/library/cc754438%28WS.10%29.aspx

http://technet.microsoft.com/en-us/library/cc755059%28WS.10%29.aspx

Sharepoint Installation and Configuration

Sharepoint Installation and Configuration

http://datanotes.wordpress.com/2007/11/15/part-1-sharepoint-30-installation-and-configuration-for-small-business-server/

http://blogs.msdn.com/harsh/archive/2006/06/07/620989.aspx

http://www.google.co.in/url?sa=t&source=web&ct=res&cd=13&ved=0CA8QFjACOAo&url=http%3A%2F%2Fwww.psspug.org%2FSharePoint%2520Conference%25202008%2FHands%2520On%2520Labs%2FMicrosoft%2520Office%2520SharePoint%2520Server%25202007%2520Installation%2520and%2520Configuration%2520-%2520HOL213.doc&rct=j&q=sharepoint+Installation+%26+Configuration&ei=LHbRS7XIOI27rAekh738DQ&usg=AFQjCNFNkJ2FpEDDH-P0zgwxT_G2MRuI-Q&sig2=CTGdH6rx9K0i6MH3BQuXLg

http://technet.microsoft.com/en-us/library/cc303422.aspx

Import & Export Sharepoint Site Collection

http://dhunter-thinkingoutaloud.blogspot.com/2007/07/stsadm-import-export.html

http://alancoulter.blogspot.com/2007/02/moss-2007-importexport-lessons-learnt.html

http://technet.microsoft.com/en-us/library/cc262465.aspx

http://technet.microsoft.com/en-us/library/cc262759.aspx

Backup & Restore Sharepoint Site

http://office.microsoft.com/en-us/sharepointdesigner/ha100699391033.aspx

http://www.dotnetspider.com/forum/200065-how-take-backup-sharepoint-site.aspx

http://blah.winsmarts.com/2006-12-Backup-Restore_a_site_collection_in_SharePoint_2007.aspx

Diffrence between WSS 3.0 & MOSS

Diffrence between WSS 3.0 & MOSS

http://dotnetaddict.dotnetdevelopersjournal.com/moss_vs_wss.htm

http://www.eb.net.nz/blog/post/2008/07/13/Differences-between-SharePoint-Services-and-Office-SharePoint-Server-Presentation-Explained.aspx

http://stackoverflow.com/questions/181920/windows-sharepoint-services-vs-microsoft-office-sharepoint-server

Configuring Shared Service Provider

For Configuring Shared Service Provider please refer the following links.

http://technet.microsoft.com/en-us/library/cc288969.aspx

http://technet.microsoft.com/en-us/library/cc263094.aspx

Creating or Extending Web Application

For Creating or Extending Web Application please refer the following links.

http://technet.microsoft.com/en-us/library/cc287954.aspx

http://technet.microsoft.com/en-us/library/cc262668.aspx

Step By Step Installtion of Sharepoint Server 2007

Please refer the following links for Step By Step Installation of Sharepoint server 2007.