<?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>My Happy Moments &#187; SQL Server 2005</title>
	<atom:link href="http://blogs.myhappymoments.com/category/programming/sql-server-2005/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.myhappymoments.com</link>
	<description>Just another weblog</description>
	<lastBuildDate>Fri, 11 Nov 2011 00:05:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Login failed &#8211; Error Number: 18456 &#8211; Severity: 14 &#8211; State: 1</title>
		<link>http://blogs.myhappymoments.com/2009/08/20/login-failed-error-number-18456-severity-14-state-1/</link>
		<comments>http://blogs.myhappymoments.com/2009/08/20/login-failed-error-number-18456-severity-14-state-1/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 10:54:00 +0000</pubDate>
		<dc:creator>Vish</dc:creator>
				<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server Login]]></category>

		<guid isPermaLink="false">http://blogs.myhappymoments.com/?p=294</guid>
		<description><![CDATA[My Problem :

The SQL 2005 did install correctly on my 64bit Vista but I was not able to log on to the server and it gave the following error

Login failed for user 'PC-Name\UserName'. (.Net SqlClient Data Provider)

Error Number: 18456 - Severity: 14 - State: 1


Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2008/12/16/how-to-set-up-visual-studio-project-to-use-nunit-gui-test-runner/' rel='bookmark' title='How to set up Visual Studio Project to use NUnit-Gui Test Runner'>How to set up Visual Studio Project to use NUnit-Gui Test Runner</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I came across this error when I tried to Install MS SQL 2005 on Vista.I have installed SQL plenty of times and never had problems before on my XP.</p>
<p>My Problem :</p>
<p>The SQL 2005 did install correctly on my 64bit Vista but I was not able to log on to the server and it gave the following error</p>
<p>Login failed for user &#8216;PC-Name\UserName&#8217;. (.Net SqlClient Data Provider)</p>
<p>Error Number: 18456 &#8211; Severity: 14 &#8211; State: 1<span id="more-294"></span></p>
<p>Solved :</p>
<p>Instead of running SQL Server Management studio as current user I run it as an Administrator.<br />
<br />
Then in the Object Browser Select the server &gt; Security &gt; Logins &gt; New Login</p>
<p>Following window will be displayed</p>
<p><a href="http://blogs.myhappymoments.com/wp-content/uploads/2009/08/SQL2005LoginNew1.gif"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" title="SQL 2005 Login - New" src="http://blogs.myhappymoments.com/wp-content/uploads/2009/08/SQL2005LoginNew_thumb1.gif" border="0" alt="SQL 2005 Login - New" width="240" height="216" /></a></p>
<p>Click Search and the following window will be displayed</p>
<p><a href="http://blogs.myhappymoments.com/wp-content/uploads/2009/08/SQL2005SelectUser1.gif"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" title="SQL 2005 Select User" src="http://blogs.myhappymoments.com/wp-content/uploads/2009/08/SQL2005SelectUser_thumb1.gif" border="0" alt="SQL 2005 Select User" width="240" height="216" /></a></p>
<p>In the text box enter your username and press check name and press ok.</p>
<p>And you are done.</p>
<p>Now you will not have to run your SQL Server Management studio as an Administrator.</p>
<p>Thank you</p>


<p>Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2008/12/16/how-to-set-up-visual-studio-project-to-use-nunit-gui-test-runner/' rel='bookmark' title='How to set up Visual Studio Project to use NUnit-Gui Test Runner'>How to set up Visual Studio Project to use NUnit-Gui Test Runner</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.myhappymoments.com/2009/08/20/login-failed-error-number-18456-severity-14-state-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

