moss

Reset Internet Information Services for SharePoint In Depth

When we create a new web application in SharePoint using central administration, we get a section of “Reset Internet Information Services“ and by default its set to “Restart IIS Manually”. Many times we keep this option by default and create the application but even after successful web application creation we don’t reset IIS and go Reset Internet Information Services for SharePoint In Depth

Disable Language Selection of MOSS 2007 Site : Resolved

When we use variations with MOSS 2007 site, by default we get a drop down kind of control in the master page of site for language selection. But there is a major disadvantage of this control I found while working with a publishing site. Well the problem is if you are using some custom web Disable Language Selection of MOSS 2007 Site : Resolved

Resolved: Remove Contextual Search Scope from Search Dropdown in SharePoint

By Default SharePoint search made up of two controls. First is a search drop down box that contains scopes.Second control is a serach box in which we type the keywords for search. Scopes can be classified in two 2 categories. 1. Custom scope 2. Contextual scope By default there are two custom scopes present in Resolved: Remove Contextual Search Scope from Search Dropdown in SharePoint

Resolved: COM DLL is not showing in COM Library after Registering on Windows Server 2008 x64

Well I had to implement a payment gateway at my server. My server was built on x64 architecture and had Windows Server 2008 installed. Well according to the document I had to put my COM dll inside c:\windows\system32 folder and then from Run command I had to register this dll like “regsvr32 c:\windows\system32\MyCOM.dll”. Well I Resolved: COM DLL is not showing in COM Library after Registering on Windows Server 2008 x64

CAML Query Search Between Two Date Ranges : SharePoint

SPSite site = new SPSite(“http://localhost:3001”); SPWeb web = site.OpenWeb(“MyWeb”); SPList list = web.Lists[“MyList”]; //RequestStartDate & RequestEndDate will be passed in mm/DD/yyyy format. //They can extend  to work with time also. string startDate = (SPUtility.CreateISO8601DateTimeFromSystemDateTime(Convert.ToDateTime(this.RequestStartDate))); string endDate = (SPUtility.CreateISO8601DateTimeFromSystemDateTime(Convert.ToDateTime(this.RequestEndDate))); SPQuery query=new SPQuery(); query.Query = “<Where><And><Geq><FieldRef Name=’Date_x0020_of_x0020_Meeting’ /><Value Type=’DateTime’>” + startDate + “</Value></Geq><Leq><FieldRef Name=’Date_x0020_of_x0020_Meeting’ /><Value Type=’DateTime’>” + CAML Query Search Between Two Date Ranges : SharePoint

Get HTML of a web page using C#.NET

Below i am using a function that takes a web page full url as string and return back HTML of that page as string. You can use this returned HTML in your code as per your requirement. Step 1: First import 2 namespaces that are required by this function to work. using System.IO; using System.Net; Get HTML of a web page using C#.NET

File Download from SharePoint Document Library in Forms Based Authentication Scenario

I was writing the code for downloading a file from a SharePoint document library using Forms Based Authentication. Every time file was getting downloaded with 8kb of size when i was opening them they were showing that file is not supported. I opened one of downloaded files that was actually a word file, in notepad File Download from SharePoint Document Library in Forms Based Authentication Scenario

Resolved: Site Collection Administrator has limited permission to site.

Today i restored a moss site backup on a new port at my server. This site had Forms based authentication, after implementing all the settings i logged in as a site collection administrator in to the site. When i click Site Actions links, i found some options are missing in the menu e.g. “Edit Page”, Resolved: Site Collection Administrator has limited permission to site.

The trial period for this product has expired SharePoint: Resolved

I was getting this error in case of Publishing site e.g. Creating a publishing site, creating a publishing page etc. There are so many resolution on internet regarding this issue but nothing helped for me. So how i resolved this issue is discussed below: Download “office2007-kb971620-fullfile-x86-glb.exe” from http://support.microsoft.com/kb/971620/en-us After download, double click “office2007-kb971620-fullfile-x86-glb.exe” to run. The trial period for this product has expired SharePoint: Resolved

Hide View All Site Content and Recycle Bin in Quick Launch: Resolved

I assigned a task to hide “View All Site Content” and “Recycle Bin” link from left hand navigation of sharepoint site. I wanted to implement this without editing the master page in SharePoint Designer. I just open the page where i want to hide these links, i checked the source of that web page by Hide View All Site Content and Recycle Bin in Quick Launch: Resolved