Thursday, September 22, 2011

Visual Studio Debugger Error: The web server process that was being debugged has been terminated by Internet Information Services (IIS). This can be avoided by configuring Application Pool ping settings in IIS. See help for further details.

STEP to fix this: Run Internet Information Services (IIS) [ if you don’t know then follow the steps to find it.] 1.       Open the Administrative Tools window. 2.       Click Start and then choose Control Panel. 3.       In Control Panel, choose Switch to Classic View, if necessary, and then double-click...Read more

Wednesday, September 21, 2011

OWSTimer unhandled exception popup – System.Security.Cryptographic.CryptographicException

Here’s the resulting event log error: An unhandled exception occurred and the process was terminated. Application ID: DefaultDomain Process ID: 6148 Exception: System.Security.Cryptography.CryptographicException Message: Keyset does not exist StackTrace: at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) at System.Security.Cryptography.SafeProvHandle._FreeCSP(IntPtr...Read more

Wednesday, September 14, 2011

SharePoint Connection Error

-------------------- SharePoint Connection Error -------------------- Cannot connect to the SharePoint Site: http://yoursharepointsite. Make sure that the site URL is valid, that the Sharrepoint si running on the local computer, and that the current user has the necessary permissions to access the...Read more

Friday, September 9, 2011

Show Quick Launch on SharePoint 2010 Custom Webpart Page

When you create a webpart page on SharePoint 2010 by default it will not have the quick launch will vanish. All you needed to do is edit the page in SharePoint Designer and remove the following lines: < asp:Content ContentPlaceHolderId="PlaceHolderNavSpacer" runat="server"> < asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server"> You also need to delete the following: <...Read more

Thursday, August 25, 2011

Get DLL Out of The GAC

DLLs once deployed in GAC (normally located at c:\windows\assembly) can’t be viewed or used as a normal DLL file. They can’t be directly referenced from VS project. Developers usually keep a copy of the original DLL file and refer to it in the project at development (design) time, which uses the assembly from GAC during run-time of the project. During execution (run-time) if the assembly is found...Read more

Thursday, August 11, 2011

Add / Upload document to Document Library using SharePoint Object Model

Below is the code to upload document to SharePoint Document Library with all the metadata you wanted to update. String fileToUpload = @"C:\FileNamePath.txt"; String sharePointSite = "http://urSharePointsite.com/sites/"; String documentLibraryName = "Shared Documents"; using (SPSite oSite = new SPSite(sharePointSite)) {    using (SPWeb oWeb = oSite.OpenWeb())    {  ...Read more

Fetch user details based on user Alias/ Display Name and Update it to People or Group Field in List

The UserID relates to the ID of the user within the site collection. This is fine but the chances are that not all users are members of the site collection. To address this, the SharePoint OM has a handy little method called SPWeb.EnsureUser() which accepts a Login Name of a user as a string and first checks if the user exists in the site collection, if it does not then it adds the user...Read more

Wednesday, August 3, 2011

Define managed paths (SharePoint Server 2010)

Published: May 12, 2010 By defining managed paths, you can specify which paths in the URL namespace of a Web application are used for site collections. You can specify that one or more site collections exists at a specified path. This can be a convenient method of consolidating multiple site access for users in various departments. An explicitly named path (for example, http://server/sites/team)...Read more

Tuesday, July 26, 2011

Lotus Notes Rich Text Migration to SharePoint Multiline RichText C#.Net DotNet

Currently I am working on the project where I need to migrate Lotus Notes data to sharepoint. I am able to find and migrate all the data using Domino API for .Net. I am facing problem when I am trying to migrate Lotus Notes RichText to SharePoint, It looses its formating and embedded images in the body.Searching and investigating the approach to solve this problem.I will keep you posted on this ...Read more

Friday, July 22, 2011

Developer Dashboard

The Developer Dashboard is an instrumentation framework introduced in Microsoft SharePoint Foundation 2010. Similar in concept to ASP.NET page tracing, it provides diagnostic information that can help a developer or system administrator troubleshoot problems with page components that would otherwise be very difficult to isolate. For example, a developer can easily introduce extra SPSite or SPWeb objects...Read more

Friday, July 15, 2011

Problem Steps Recorder? ~ Capture Problem on Screen with all Narration.

You can use Problem Steps Recorder to automatically capture the steps you take on a computer, including a text description of where you clicked and a picture of the screen during each click (called a screen shot). Once you capture these steps, you can save them to a file that can be used by a support professional or someone else helping you with a computer problem. Notes When you record steps...Read more

List Attachments over 50MB - increase in Maximum Upload Size

I came across problem during my migration project, where there were few mails in Lotus Notes which are having total size 99 MB and one of the attachment was of 65 MB training video. Problem: Default SharePoint settings not allow you to upload more than 50 MB file. Goal: Increase the maximum upload size for documents and attachments to 60MB for a web application. Problem Solution:Open...Read more

Thursday, May 19, 2011

MOSS -You are not authorized to view this page.You do not have permission to view this directory or page using the credentials that you supplied.

MOSS -You are not authorized to view this page.You do not have permission to view this directory or page using the credentials that you supplied. PROBLEM STATEMENT: When I log onto my sharepoint site I was getting below message, This occurs when I try to log in to sharepoint site. As I was administrator I was able to access the site, but when I add user to sharepoint site:- Site Settings...Read more

Thursday, March 10, 2011

SharePoint Connections Session Follow Up: Create an Internet-Facing SharePoint Site

During the Create an Internet-Facing SharePoint Site session I covered the following topics. Setting up forms based authentication. Creating your own custom Master Pages and style sheets Personalizing site content for users. Leveraging the Business Data Catalog to surface and interact with back end systems. Each of these topics is broken down more in depth in this blog post. All the code...Read more

SharePoint 2007 Performance Optimization

Recommendation: use x64 hardware on all servers to optimize page downloads by minimizing number of round trips between client computers and server computers. Reason: With x64 you are not limited to 2 GB of Memory. Benefit: Reduces network traffic and latency due to FE servers hitting the memory limit and needing to recycle. Recommendation: apply Windows Server 2003 SP2 Reason: A list...Read more

Wednesday, March 9, 2011

MOSS Architecture and SSP

MOSS adopts a typical 3-tier model with web servers at the front, application servers in the middle and a database server at the back where all the data and config is stored.The front-end web servers are simple web servers that can be network load balanced to achieve additional performance and...Read more