<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ankit Jain &#187; error</title>
	<atom:link href="http://ankitjain.info/ankit/tag/error/feed/" rel="self" type="application/rss+xml" />
	<link>http://ankitjain.info/ankit</link>
	<description>» It’s all about Ankit and Web! «</description>
	<lastBuildDate>Thu, 02 Jun 2011 16:54:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Understanding Errors</title>
		<link>http://ankitjain.info/ankit/2009/11/05/firefox-compression/</link>
		<comments>http://ankitjain.info/ankit/2009/11/05/firefox-compression/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 20:50:15 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Quick Tricks]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://ankitjain.info/ankit/?p=347</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>The following solution just came random to my mind and it worked! </p>
<p><strong>Problem</strong>: 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. </p>
<p><code><strong>Content Encoding Error</strong><br />
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.<br />
    *   Please contact the website owners to inform them of this problem.</code></p>
<p><strong>Solution</strong>: As per my knowledge web-servers generally use GZ compression and Firefox well supports that. Then what&#8217;s wrong here? Digging a bit into Firefox&#8217;s &#8216;<a target="_blank" href="http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries">about:config</a>&#8216;, I did a search for &#8216;gz&#8217;. The setting <code>network.http.accept-encoding</code> was set to <code>gzip,deflate</code>. What&#8217;s wrong? Let&#8217;s try setting it <code>gzip,deflate,gz</code>. And it worked!. The catch here is gzip and gz are two different extensions used for the same <code>gzip</code> compression. Eventually,  the questions is who&#8217;s in fault, Firefox or the website?</p>
<p>- ankit</p>
]]></content:encoded>
			<wfw:commentRss>http://ankitjain.info/ankit/2009/11/05/firefox-compression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio &#8211; Database Project Not Loading</title>
		<link>http://ankitjain.info/ankit/2008/05/05/visual-studio-database-project-not-loading/</link>
		<comments>http://ankitjain.info/ankit/2008/05/05/visual-studio-database-project-not-loading/#comments</comments>
		<pubDate>Mon, 05 May 2008 14:50:51 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Programming/Code]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://ankitjain.info/ankit/2008/05/05/visual-studio-database-project-not-loading</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">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:</p>
<blockquote>
<p class="MsoNormal">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 &#8211; Error Locating Server/Instance Specified)</p>
</blockquote>
<p class="MsoNormal">The database project requires an active database connection to load at design time. Probably it uses that to compile/verify scripts. The problem here is Visual Studio is not able to connect to any such instance. Following are few solutions (these worked for me)</p>
<ol type="1" style="margin-top: 0in" start="1">
<li class="MsoNormal">Make sure the instance to which you want to connect is running and allows remote connections.</li>
<li class="MsoNormal">After performing step 1, if it is still not loading then you may need to start the SQL Browser Service. Make sure it&#8217;s running.</li>
<li class="MsoNormal">If the problem is still there, it has to be fixed from Visual Studio itself. Actually database project do not store to which instance it can connect. It&#8217;s a Visual Studio setting.In VS2008 go to Tool > Options > Database Tools > Design-time Validation Database > Connection Options. Specify your instance name here like &#8220;\SQLEXPRESS&#8221;</li>
</ol>
<p class="MsoNormal">If the problem is still there post it to <a title="Visual Studio Team System - Database Professionals" target="_blank" href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=725&#038;SiteID=1">MSDN forums</a> <img src='http://ankitjain.info/ankit/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p class="MsoNormal">Ankit</p>
]]></content:encoded>
			<wfw:commentRss>http://ankitjain.info/ankit/2008/05/05/visual-studio-database-project-not-loading/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Checklist: Cannot import webpart</title>
		<link>http://ankitjain.info/ankit/2007/09/16/sharepoint-webpart-import-error/</link>
		<comments>http://ankitjain.info/ankit/2007/09/16/sharepoint-webpart-import-error/#comments</comments>
		<pubDate>Sun, 16 Sep 2007 11:36:29 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[webpart]]></category>

		<guid isPermaLink="false">http://ankitjain.info/ankit/2007/09/16/sharepoint-webpart-import-error</guid>
		<description><![CDATA[While importing (drag/drop) your webpart to any SharePoint page, if you receive an error stating &#8220;Cannot import webpart&#8221; or &#8220;unable to add selected web part(s)&#8221;! 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 [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">While importing (drag/drop) your webpart to any SharePoint page, if you receive an error stating &#8220;Cannot import webpart&#8221; or &#8220;unable to add selected web part(s)&#8221;! here is the check list you should look for:</p>
<ol type="1" start="1" style="margin-top: 0in">
<li class="MsoNormal">Make sure the webpart class is inherited either from <span style="font-style: italic">Microsoft.SharePoint.WebPartPages.WebPart</span>  or <em>System.Web.UI.WebControls.WebParts.WebPart</em></li>
<li class="MsoNormal"><strong>The webpart class needs to be declared public.</strong></li>
<li class="MsoNormal">Safe controls entry in web.config file.</li>
<li class="MsoNormal">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.</li>
</ol>
<p class="MsoNormal">- Ankit</p>
]]></content:encoded>
			<wfw:commentRss>http://ankitjain.info/ankit/2007/09/16/sharepoint-webpart-import-error/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SharePoint: ServerContext not set to an instance</title>
		<link>http://ankitjain.info/ankit/2007/09/16/server-context-not-set-instance/</link>
		<comments>http://ankitjain.info/ankit/2007/09/16/server-context-not-set-instance/#comments</comments>
		<pubDate>Sun, 16 Sep 2007 11:21:46 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://ankitjain.info/ankit/2007/09/16/server-context-not-set-instance</guid>
		<description><![CDATA[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 ]]]></description>
			<content:encoded><![CDATA[<p>I was playing through SharePoint object model and somewhere (donâ€™t remember right now!) got an exception stating â€œServerContext not set to an instanceâ€.</p>
<p>My solution for this: Installed SSP (Shared Services Provider) and this problem is solved!<br />
[ <em>Edited:2008-03-24</em><br />
 I got this error while playing with stsadm.exe command<br />
]</p>
]]></content:encoded>
			<wfw:commentRss>http://ankitjain.info/ankit/2007/09/16/server-context-not-set-instance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

