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.
Wednesday, May 19, 2010
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/
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.
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.
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
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
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
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
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
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
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
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.
http://www.datasprings.com/Resources/ArticlesInformation/OverviewonInstallingSharepoint2007.aspx
http://www.beyondweblogs.com/post/Installing-SharePoint-Portal-Server-2007-Complete-Step-By-Step-Installation-Guide.aspx
http://cid-a8677d5751e6b4da.skydrive.live.com/self.aspx/Public/Installing Microsoft Office SharePoint Server 2007.pdf
http://vspug.com/mykiep/2007/04/26/step-by-step-guide-for-installing-moss-2007-on-a-vpc/
http://andreasglaser.net/post/2008/08/14/Installing-MOSS-2007-on-Windows-Server-2008-and-SQL-Server-2008-Part-1-Overview.aspx
http://www.beyondweblogs.com/post/Installing-SharePoint-Portal-Server-2007-Complete-Step-By-Step-Installation-Guide.aspx
http://cid-a8677d5751e6b4da.skydrive.live.com/self.aspx/Public/Installing Microsoft Office SharePoint Server 2007.pdf
http://vspug.com/mykiep/2007/04/26/step-by-step-guide-for-installing-moss-2007-on-a-vpc/
http://andreasglaser.net/post/2008/08/14/Installing-MOSS-2007-on-Windows-Server-2008-and-SQL-Server-2008-Part-1-Overview.aspx