Skip to content

Tag Archives: error

Understanding Errors

05-Nov-09

The following solution just came random to my mind and it worked!
Problem: While surfing around, I came across a website whose content encoding is not being supported with my latest Firefox v3.5.4 showed me unsupported compression error.
Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid [...]

Visual Studio – Database Project Not Loading

05-May-08

Have you ever created a Database project and after some time you are not able to load it in the Visual Studio? Probably you might be getting following error:

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact [...]

Checklist: Cannot import webpart

16-Sep-07

While importing (drag/drop) your webpart to any SharePoint page, if you receive an error stating “Cannot import webpart” or “unable to add selected web part(s)”! here is the check list you should look for:

Make sure the webpart class is inherited either from Microsoft.SharePoint.WebPartPages.WebPart or System.Web.UI.WebControls.WebParts.WebPart
The webpart class needs to be declared public.
Safe controls entry [...]

SharePoint: ServerContext not set to an instance

16-Sep-07

I was playing through SharePoint object model and somewhere (don’t remember right now!) got an exception stating “ServerContext not set to an instance”.
My solution for this: Installed SSP (Shared Services Provider) and this problem is solved!
[ Edited:2008-03-24
I got this error while playing with stsadm.exe command
]