<?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>.Net Geek &#187; Error</title>
	<atom:link href="http://www.aakashjain.com/tag/error/feed" rel="self" type="application/rss+xml" />
	<link>http://www.aakashjain.com</link>
	<description>Technology, musings and stuff by Aakash Jain</description>
	<lastBuildDate>Mon, 04 Jan 2010 13:51:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SQL SERVER error: 26 &#8211; Error Locating Server/Instance Specified</title>
		<link>http://www.aakashjain.com/sql-server/sql-server-error-26-error-locating-serverinstance-specified-8</link>
		<comments>http://www.aakashjain.com/sql-server/sql-server-error-26-error-locating-serverinstance-specified-8#comments</comments>
		<pubDate>Mon, 23 Feb 2009 06:15:26 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Error]]></category>

		<guid isPermaLink="false">http://www.aakashjain.com/SQL+SERVER+Error+26+Error+Locating+ServerInstance+Specified.aspx</guid>
		<description><![CDATA[&#8220;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 connection. (provider: SQL Network Interfaces, error: 26 &#8211; Error Locating Server/Instance Specified)&#8221;
This error might have occured due to the [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>&#8220;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 connection. (provider: SQL Network Interfaces, error: 26 &#8211; Error Locating Server/Instance Specified)&#8221;</strong></em></p>
<p><strong></strong><span style="color: #000000;">This error might have occured due to the following reasons.</span></p>
<h4>1. SQL Server doesn&#8217;t allow a Remote Connection.</h4>
<p align="left"><span style="color: #000000;">Check if the local/remote connections have been enabled for instance. </span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;"><em>Click Start &gt; All Programs &gt; SQL Server 2005 &gt; Configuration Tools &gt;  SQL Server Surface Area Configuration.</em></span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">Select Option &#8220;<em><strong>Surface Area Configuration for services and connection</strong></em>&#8220;.</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">Select the sql server component for which you want to allow remote connection.</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">Select &#8220;<em><strong>remote connection</strong></em>&#8220;, you will now be able to see the settings for this instance. If you want to allow remote connections. Then Select &#8220;<strong><em>Local and Remote Connections</em></strong>&#8221; Then &#8220;<strong><em>Using both TCP/IP and Named Pipes</em></strong>&#8221; then Apply.</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">A message will appear to restart the services. </span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">For this either restart the system or</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;"><em>Click Start &gt; Run &gt; Type &#8220;Services.msc&#8221; &gt; Right Click on your SQL Server Instance &gt; Restart the service.</em></span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">Now your SQL Server is ready to accept the remote connections.</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">Now if the Problem still exists. Then the problem belongs to your network.</span></p>
<h4 style="MARGIN-RIGHT: 0px" dir="ltr">2.  Your Firewall might not be turned off or No exception is added.</h4>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;"> UDP port 1434 should be put into exception if firewall presents. Or turn Off your Firewall.</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;"> Now Check if both the system are getting cross ping.</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">Click Start &gt; Run &gt; Type &#8220;ping &#8216;IP address of remote System&#8217; -t &#8220;</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">On system 1</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">ping IP address of System 2</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">On system 2</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">Ping IP address of system 1</span></p>
<p><span style="color: #000000;"> If both the system are getting reply then it means there is no problem in network.</span></p>
<p><span style="color: #000000;"> Else check your antivirus firewall or disable antivirus for few minutes. Now if you still dont    gets</span><span style="color: #000000;"> a reply then your network has a problem. Else you will be able to connect to the remote server.</span></p>
<h4>3. Same Name Conflict between two systems to whom you are trying to connect.</h4>
<p><span style="color: #000000;">Then there could be a same name conflict between two systems. Check if you are trying to connect to the remote machine whose computer name is same as your&#8217;s system name. </span></p>
<p><span style="color: #000000;">Eg. System 1 name is &#8220;admin&#8221;</span></p>
<p><span style="color: #000000;">Remote system name is also &#8220;admin&#8221;</span></p>
<p>you are now trying to connect to remote system but it displays error 26. Then this problem is due to same name conflict. Try to connect to remote system using its IP address, as IP address of each system in a network is always unique.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aakashjain.com/sql-server/sql-server-error-26-error-locating-serverinstance-specified-8/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Error: Failed to access IIS metabase</title>
		<link>http://www.aakashjain.com/net/error-failed-to-access-iis-metabase-35</link>
		<comments>http://www.aakashjain.com/net/error-failed-to-access-iis-metabase-35#comments</comments>
		<pubDate>Tue, 30 Oct 2007 17:07:30 +0000</pubDate>
		<dc:creator>Aakash</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://www.aakashjain.com/Error+Failed+To+Access+IIS+Metabase.aspx</guid>
		<description><![CDATA[If you install IIS after .Net 2.0 or Visual studio 2005, you may receive “Failed to access IIS metabase” error. To resolve this issue either you need to install .Net framework again after IIS or you can do the following&#8230;
You can use the aspnet_regiis utility comes with .Net framework 2.0. This is an administrator utility [...]]]></description>
			<content:encoded><![CDATA[<p>If you install IIS after .Net 2.0 or Visual studio 2005, you may receive “Failed to access IIS metabase” error. To resolve this issue either you need to install .Net framework again after IIS or you can do the following&#8230;</p>
<p>You can use the <strong>aspnet_regiis</strong> utility comes with .Net framework 2.0. This is an administrator utility to install or uninstall Asp.Net on local server/machine. To run this utility through command prompt move to C:\Windows\Microsoft.Net\Framework\v2.0.50727 and type (without quotes)</p>
<p>“aspnet_regiis -i ”</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-9528758703353085";
google_alternate_color = "FFFFFF";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-09-24: AJ_Blog_Entries
google_ad_channel = "9667763288";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "000000";
google_color_url = "000000";
google_ui_features = "rc:0";
// --></script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script></p>
<p>This will install the ASP.Net and update and upgrade the scriptmaps at the IIS metabase root and in below the root. In certain cases, a particular user account doesn’t have access to IIS metabase. Such condition will result the same error. However, in this case you can simply grant access to user account using…</p>
<p>“aspnet_regiis –ga (user_account_name)&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aakashjain.com/net/error-failed-to-access-iis-metabase-35/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>
