Understanding Errors

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 or unsupported form of compression. * Please contact the website owners to inform them of this problem. Solution: As per my knowledge web-servers generally use GZ compression and Firefox well supports that. Then what’s wrong here? Digging a bit into Firefox’s ‘about:config‘, I did…

Read more

Visual Studio – Database Project Not Loading

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 that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) The database project requires an active database connection to load at design time. Probably it uses that to compile/verify scripts. The problem here…

Read more

Checklist: Cannot import webpart

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 in web.config file. If you are referring a webpart from GAC (i.e. assembly containing webpart class is placed in GAC) make sure the GAC version is the latest build and IIS is re-started. – Ankit

Read more