Sharepoint Insight by Namwar Rizvi

Sharepoint Tips, Tricks and inside knowledge from real world experience by Namwar Rizvi

Posts Tagged ‘Architecture’

How to find Microsoft.SharePoint.ApplicationPages.dll and some other assemblies

Posted by namwar on June 12, 2010


You may be wondering where to find Microsoft.SharePoint.ApplicationPages.dll , if you are creating a new SharePoint application page? But don’t worry, it resides in _app_bin folder of your SharePoint site’s virtual directory.

Assuming your IIS inetpub is at C then the exact path of Microsoft.SharePoint.ApplicationPages.dll is

C:\Inetpub\wwwroot\wss\VirtualDirectories\<Your Virtual Server >\_app_bin\Microsoft.SharePoint.ApplicationPages.dll

Here is the full list of assemblies at _app_bin folder:

  1. Microsoft.Office.DocumentManagement.Pages.dll
  2. Microsoft.Office.officialfileSoap.dll
  3. Microsoft.Office.Policy.Pages.dll
  4. Microsoft.Office.SlideLibrarySoap.dll
  5. Microsoft.Office.Workflow.Pages.dll
  6. Microsoft.Office.WorkflowSoap.dll
  7. Microsoft.SharePoint.ApplicationPages.dll
  8. STSSOAP.DLL
Advertisements

Posted in Information, Object Model, Tips, Troubleshooting | Tagged: , , , , | Leave a Comment »

How Sharepoint ranks a document in Search Results?

Posted by namwar on January 12, 2009


Several times I have been asked about the way Sharepoint calculates the rank of a document in document search. Although, it is based on a complex probablistic algorithm developed by Microsft Researcher, following are some simple tips to know the background of search ranking and how to tune the search results. Please note, these tips are not an authentic statements from Microsoft, instead they are my observations and knowledge gained from other fellow Sharepoint experts.

According to Microsoft on Technet in this article

Ranking depends on:

  • The length of the document
  • The frequency of the query term in the entire collection of documents
  • The number of documents containing the query term
  • The number of documents in the entire collection of documents
     

Keeping the above points in mind, following observations have been made as mentioned in this blog

  • Higher size of the document = lower ranking
  • More frequent the keyword matched in a document = higher ranking
  • Deeper URL surf depth = lower ranking
  • Authoritative pages in SP = higher ranking
  • Default views seem to get ranked higher than individual item views
  • File types seem to affect ranking (.doc > .txt for instance)
  • Language seems to affect ranking, US-EN is always higher, even though your server installation may have french as it’s default language

Posted in Architecture, SSP | Tagged: , , , | Leave a Comment »

List of SharePoint URL tokens

Posted by namwar on December 1, 2008


Following is a list of tokens available in Sharepoint to use in your URLs. Be aware that Sharepoint only replaces the value of a token once for a given string, so if you have used the same token twice, second occurance will not be replaced by the token value. I will post a solution to do it in my next article:

~site – Web site (SPWeb) relative link.

~sitecollection – site collection (SPSite) relative link.

In addition, you can use the following tokens within a URL:

{ItemId} – Integer ID that represents the item within a list.

{ItemUrl} – URL of the item being acted upon. Only work for documents in libraries. [Not functional in Beta 2]

{ListId} – GUID that represents the list.

{SiteUrl} – URL of the Web site (SPWeb).

{RecurrenceId} – Recurrence index. This token is not supported for use in the context menus of list items.

Posted in Architecture, Customization | Tagged: , | 4 Comments »

How to crawl Lookup field or column

Posted by namwar on October 5, 2008


Whenever you create a column in your list and want to enable search based on it then you add that column as a Managed Propety in your Shared Service Provider. It works for all type of columns except lookup columns, which actually refers to another list in the site, without needing any further steps. The difference in lookup columns is that they actually save just a reference not the actual value and if you have created a column with the name say Category ( having values Hardware, Software, etc) and add it as a managed property then you will see that you will not get any result if you will try to search by say Hardware,a value from the Category list, because internally only reference was saved and SSP indexed the reference not the actual value.

But don’t worry, there is a simple solution which unfortunately Microsoft has not documented properly. The solution is, just go back and edit your managed property mapping and instead of mapping Category; map ows_Category. This is an internal property generated by the Sharepoint when you created Category and this property saves the actual value.

Now, after doing the crawl, if you will search as before, you will get the expected result.

Posted in Architecture, SSP | Tagged: , , | Leave a Comment »

Sharepoint best practices: how many sites, how many libraries

Posted by namwar on August 26, 2008


While browsing Sharepoint newsgroups, I found a very useful reply from Eddy Blanco which provides excellent information to estimate your SharePoint site and structure. Following is the information, all credit goes to Eddy Blanco:

SharePoint Area of Interest Optimum Size
Site collection 50,000 per Web application
Web site 250,000 per site collection
Subsite 2,000 per Web site
Document 5 million per library
Item 2,000 per view
Document file size 50MB (2GB max*)
List 2,000 per Web site
Field type 256 per list
Column 2,000 per document library 4,096 per list
Web Part 50 per page
Users in groups 2 million per Web site
User profile 5 million per farm
Security principal 2,000 per Web site
Search indexes One per SSP, Maximum of 20 per farm
Indexed documents 50,000,000 per content index
Content sources 500 per SSP
Start Addresses 500 per content source
Alerts 1,000,000 per SSP
Scopes 200 per site
Display groups 25 per site
Crawl rules 10,000 per SSP
Keywords 15,000 per site
Crawled properties 500,000 per SSP
Managed properties 100,000 per SSP
Authoritative pages 200 per relevance level
Results removal 100
Crawl logs 50,000,000
Shared Services Provider (SSP) 3 per farm (20 per farm maximum)
Zone 5 per farm
Web application 99 per SSP
Internet Information Services (IIS) application pool 8 per Web server
Site collection 50,000 per Web application
Content database 100 per Web application
Site collection 50,000 per database
Index servers 1 per SSP*
Application servers running Excel Calculation Services No limit
Query servers No limit
Web server/database server ratio 8 Web servers per database server
Web server/domain controller ratio 3 Web servers per domain

Posted in Architecture | Tagged: | Leave a Comment »