<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Fix : Error : Msg 15151, Level 16, State 1, Line 2 Cannot alter the login &#8216;sa&#8217;, because it does not exist or you do not have permission</title>
	<atom:link href="http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sat, 25 May 2013 01:31:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Roger</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-451861</link>
		<dc:creator><![CDATA[Roger]]></dc:creator>
		<pubDate>Mon, 08 Apr 2013 16:18:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-451861</guid>
		<description><![CDATA[Hi master

i&#039;m an Administrator of DB and i run this query:
CLOSE ALL SYMMETRIC KEYS;
GRANT VIEW DEFINITION ON SYMMETRIC KEY::KEYEX TO user_me

and give-me the same error:
Cannot find the symmetric key &#039;KEYEX&#039;, because it does not exist or you do not have permission.


any help?

Best Regards,
Roger]]></description>
		<content:encoded><![CDATA[<p>Hi master</p>
<p>i&#8217;m an Administrator of DB and i run this query:<br />
CLOSE ALL SYMMETRIC KEYS;<br />
GRANT VIEW DEFINITION ON SYMMETRIC KEY::KEYEX TO user_me</p>
<p>and give-me the same error:<br />
Cannot find the symmetric key &#8216;KEYEX&#8217;, because it does not exist or you do not have permission.</p>
<p>any help?</p>
<p>Best Regards,<br />
Roger</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #009 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-400673</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #009 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 29 Dec 2012 01:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-400673</guid>
		<description><![CDATA[[...] Fix : Error : msg 15151, Level 16, State 1, Line 2 Cannot alter the login ‘sa’, because it does ... [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Fix : Error : msg 15151, Level 16, State 1, Line 2 Cannot alter the login ‘sa’, because it does &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kiran</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-206493</link>
		<dc:creator><![CDATA[kiran]]></dc:creator>
		<pubDate>Mon, 28 Nov 2011 13:00:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-206493</guid>
		<description><![CDATA[i hv craeted login abc,wen i logged from that login it will not allow me add user db in user mapping show a error 15151,
i want to give privigdes to user db by using this login.

pls suggest
thanks in advance
kiran]]></description>
		<content:encoded><![CDATA[<p>i hv craeted login abc,wen i logged from that login it will not allow me add user db in user mapping show a error 15151,<br />
i want to give privigdes to user db by using this login.</p>
<p>pls suggest<br />
thanks in advance<br />
kiran</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sqlbeginner</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-167085</link>
		<dc:creator><![CDATA[sqlbeginner]]></dc:creator>
		<pubDate>Sat, 10 Sep 2011 18:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-167085</guid>
		<description><![CDATA[Eric, I tried running SQL Server Mgmt Studio as an Administrator and got enabled the SA login perfectly. But now when I disconnect and try to connect using the SA login, it throws the following exception:

Login failed for user &#039;sa&#039;. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452).

Please suggest me with an option to eradicate this issue.]]></description>
		<content:encoded><![CDATA[<p>Eric, I tried running SQL Server Mgmt Studio as an Administrator and got enabled the SA login perfectly. But now when I disconnect and try to connect using the SA login, it throws the following exception:</p>
<p>Login failed for user &#8216;sa&#8217;. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452).</p>
<p>Please suggest me with an option to eradicate this issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Isaacs</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-156446</link>
		<dc:creator><![CDATA[Eric Isaacs]]></dc:creator>
		<pubDate>Fri, 12 Aug 2011 07:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-156446</guid>
		<description><![CDATA[You must be an Administrator on the box to enable the SA user or other SysAdmin users.  In addition to that, you probably need to run SQL Server Management Studio as an Administrator.  Right click on the SQL Server Management Studio icon and select Run As Administrator.  Once you do this and then attempt to enable the SA login, it should work.]]></description>
		<content:encoded><![CDATA[<p>You must be an Administrator on the box to enable the SA user or other SysAdmin users.  In addition to that, you probably need to run SQL Server Management Studio as an Administrator.  Right click on the SQL Server Management Studio icon and select Run As Administrator.  Once you do this and then attempt to enable the SA login, it should work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anand</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-156152</link>
		<dc:creator><![CDATA[Anand]]></dc:creator>
		<pubDate>Thu, 11 Aug 2011 11:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-156152</guid>
		<description><![CDATA[i have problem with SQL Express 2008 R2 i have restore the database and connected the application it throws an exception like Stored procedure not found in that database all SPs and tables are present like this [mruser].[SPname] so it throws the exception]]></description>
		<content:encoded><![CDATA[<p>i have problem with SQL Express 2008 R2 i have restore the database and connected the application it throws an exception like Stored procedure not found in that database all SPs and tables are present like this [mruser].[SPname] so it throws the exception</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pimsainnum</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-147611</link>
		<dc:creator><![CDATA[pimsainnum]]></dc:creator>
		<pubDate>Tue, 12 Jul 2011 04:06:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-147611</guid>
		<description><![CDATA[I had same problem.
My computer has install windows 7 and SQL Server 2008 Express.
Can&#039;t change password for &#039;SA&#039;]]></description>
		<content:encoded><![CDATA[<p>I had same problem.<br />
My computer has install windows 7 and SQL Server 2008 Express.<br />
Can&#8217;t change password for &#8216;SA&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauricio Gracia G</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-143430</link>
		<dc:creator><![CDATA[Mauricio Gracia G]]></dc:creator>
		<pubDate>Fri, 24 Jun 2011 15:00:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-143430</guid>
		<description><![CDATA[When trying to apply this process I get this error : You dont have permissions to perform this action (Microsoft SQL Server, Error: 15247)]]></description>
		<content:encoded><![CDATA[<p>When trying to apply this process I get this error : You dont have permissions to perform this action (Microsoft SQL Server, Error: 15247)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mahesh</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-136561</link>
		<dc:creator><![CDATA[mahesh]]></dc:creator>
		<pubDate>Wed, 25 May 2011 09:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-136561</guid>
		<description><![CDATA[create login mm with password=&#039;pwd&#039; 
drop login mm
sp_addlogin &#039;qq&#039;,&#039;pwd&#039;,&#039;master&#039;
sp_droplogin &#039;qq&#039;
create table q(id int )
insert into q values(79)
select * from q
grant  select on  q to qq

 and finally it is showing error msg like this 

Msg 15151, Level 16, State 1, Line 1
Cannot find the user &#039;qq&#039;, because it does not exist or you do not have permission.]]></description>
		<content:encoded><![CDATA[<p>create login mm with password=&#8217;pwd&#8217;<br />
drop login mm<br />
sp_addlogin &#8216;qq&#8217;,'pwd&#8217;,'master&#8217;<br />
sp_droplogin &#8216;qq&#8217;<br />
create table q(id int )<br />
insert into q values(79)<br />
select * from q<br />
grant  select on  q to qq</p>
<p> and finally it is showing error msg like this </p>
<p>Msg 15151, Level 16, State 1, Line 1<br />
Cannot find the user &#8216;qq&#8217;, because it does not exist or you do not have permission.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shailender Singh</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-127907</link>
		<dc:creator><![CDATA[Shailender Singh]]></dc:creator>
		<pubDate>Sat, 09 Apr 2011 08:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-127907</guid>
		<description><![CDATA[Hi

I have two databases, say DB1, DB2. DB1 has a view, say vw, and DB2 has a procedure, say proc. All objects in database are associated to dbo schema, and there is only one login &#039;sa&#039;. 

Problem is through [DB2].[dbo].[Proc], I am trying to refresh [DB1].[dbo].[vw] using following statement:

execute sp_refreshview &#039;[DB1].[dbo].[vw]&#039;

Following exception is raised, which is I am not able to resolve:

Msg 15165, Level 16, State 1, Procedure sp_refreshsqlmodule_internal, Line 55
Could not find object &#039;[DB1].[dbo].[vw]&#039; or you do not have permission.

Please let me know how I can resolve this issue or what alteranate I can use.]]></description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I have two databases, say DB1, DB2. DB1 has a view, say vw, and DB2 has a procedure, say proc. All objects in database are associated to dbo schema, and there is only one login &#8216;sa&#8217;. </p>
<p>Problem is through [DB2].[dbo].[Proc], I am trying to refresh [DB1].[dbo].[vw] using following statement:</p>
<p>execute sp_refreshview &#8216;[DB1].[dbo].[vw]&#8216;</p>
<p>Following exception is raised, which is I am not able to resolve:</p>
<p>Msg 15165, Level 16, State 1, Procedure sp_refreshsqlmodule_internal, Line 55<br />
Could not find object &#8216;[DB1].[dbo].[vw]&#8216; or you do not have permission.</p>
<p>Please let me know how I can resolve this issue or what alteranate I can use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wayne</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-66605</link>
		<dc:creator><![CDATA[wayne]]></dc:creator>
		<pubDate>Sat, 24 Apr 2010 08:43:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-66605</guid>
		<description><![CDATA[hello mr. dave, i submitted a question about object explorer. I am currnently running sql server 2005 express. 

when i login and connect to object explorer and can see the databases and I it work find. But i noticed that i do not see the solution explorer when I click on the view tab. 

is there a way that i can add solution explorer to the view under the view tab in management studio 2005 express?

I would like to use solution explorer if possible. 
Thanks 

Wayne]]></description>
		<content:encoded><![CDATA[<p>hello mr. dave, i submitted a question about object explorer. I am currnently running sql server 2005 express. </p>
<p>when i login and connect to object explorer and can see the databases and I it work find. But i noticed that i do not see the solution explorer when I click on the view tab. </p>
<p>is there a way that i can add solution explorer to the view under the view tab in management studio 2005 express?</p>
<p>I would like to use solution explorer if possible.<br />
Thanks </p>
<p>Wayne</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wayne</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-66432</link>
		<dc:creator><![CDATA[wayne]]></dc:creator>
		<pubDate>Fri, 23 Apr 2010 10:49:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-66432</guid>
		<description><![CDATA[I cannot see &quot;solution explorer&quot;  under the view tab in sql server 2005 management studio express. 

the first time I installed SQLEXPR.EXE and  connected to database and I couldn&#039;t see &quot;solution explorer&quot; on the view tab. so I uninstalled it.

next Iinstalled SQLEXPR32.EXE and I still didn&#039;t see &quot;solution explorer&quot; under the view tab in 2005 management studio.

can you tell me what to do.

also, I wanted to know if i install sql server 2008 express will I be able to see &quot;solution explorer&quot; tab in 2008 express management studio.

Thank you so much

wayne]]></description>
		<content:encoded><![CDATA[<p>I cannot see &#8220;solution explorer&#8221;  under the view tab in sql server 2005 management studio express. </p>
<p>the first time I installed SQLEXPR.EXE and  connected to database and I couldn&#8217;t see &#8220;solution explorer&#8221; on the view tab. so I uninstalled it.</p>
<p>next Iinstalled SQLEXPR32.EXE and I still didn&#8217;t see &#8220;solution explorer&#8221; under the view tab in 2005 management studio.</p>
<p>can you tell me what to do.</p>
<p>also, I wanted to know if i install sql server 2008 express will I be able to see &#8220;solution explorer&#8221; tab in 2008 express management studio.</p>
<p>Thank you so much</p>
<p>wayne</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER - Add Any User to SysAdmin Role - Add Users to System Roles Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-47328</link>
		<dc:creator><![CDATA[SQL SERVER - Add Any User to SysAdmin Role - Add Users to System Roles Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Wed, 25 Feb 2009 06:52:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-47328</guid>
		<description><![CDATA[[...] SQL SERVER - Fix : Error : Msg 15151, Level 16, State 1, Line 2 Cannot alter the login ’sa’, bec... [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER &#8211; Fix : Error : Msg 15151, Level 16, State 1, Line 2 Cannot alter the login ’sa’, bec&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-45146</link>
		<dc:creator><![CDATA[Imran Mohammed]]></dc:creator>
		<pubDate>Mon, 29 Dec 2008 05:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-45146</guid>
		<description><![CDATA[@Hoang

This is because may be you have SQL Server Management Studio Express. 

You might want to download SQL Server EXPRESS Edition (Free) , with which you will get free client tools.

This client tools will have solution explorer and tools.

Download SQL server Express edition from this link.

Link : http://go.microsoft.com/fwlink/?linkid=65212

Download this file and run this file.

Regards,
Imran.]]></description>
		<content:encoded><![CDATA[<p>@Hoang</p>
<p>This is because may be you have SQL Server Management Studio Express. </p>
<p>You might want to download SQL Server EXPRESS Edition (Free) , with which you will get free client tools.</p>
<p>This client tools will have solution explorer and tools.</p>
<p>Download SQL server Express edition from this link.</p>
<p>Link : <a href="http://go.microsoft.com/fwlink/?linkid=65212" rel="nofollow">http://go.microsoft.com/fwlink/?linkid=65212</a></p>
<p>Download this file and run this file.</p>
<p>Regards,<br />
Imran.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hoang Nguyen</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-45132</link>
		<dc:creator><![CDATA[Hoang Nguyen]]></dc:creator>
		<pubDate>Sat, 27 Dec 2008 17:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-45132</guid>
		<description><![CDATA[Hi Mr Dave !

   I&#039;m Hoang Nguyen. I had abig trouble and need to explrore so much.

   I installed SQL Server 2005 Express Edition, but in my VIEW options, i can not find out where is Solution Explorer and Toolbox windows, help me pls. What problem is that ???

    Pic of my SQL Management Studio here:

http://i259.photobucket.com/albums/hh308/Spector_photos/pic-1.jpg]]></description>
		<content:encoded><![CDATA[<p>Hi Mr Dave !</p>
<p>   I&#8217;m Hoang Nguyen. I had abig trouble and need to explrore so much.</p>
<p>   I installed SQL Server 2005 Express Edition, but in my VIEW options, i can not find out where is Solution Explorer and Toolbox windows, help me pls. What problem is that ???</p>
<p>    Pic of my SQL Management Studio here:</p>
<p><a href="http://i259.photobucket.com/albums/hh308/Spector_photos/pic-1.jpg" rel="nofollow">http://i259.photobucket.com/albums/hh308/Spector_photos/pic-1.jpg</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2008/12/26/sql-server-fix-error-msg-15151-level-16-state-1-line-2-cannot-alter-the-login-sa-because-it-does-not-exist-or-you-do-not-have-permission/#comment-45090</link>
		<dc:creator><![CDATA[Imran Mohammed]]></dc:creator>
		<pubDate>Fri, 26 Dec 2008 05:50:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1842#comment-45090</guid>
		<description><![CDATA[I am trying to disable BUILTIN\Administrators

ALTER LOGIN [BUILTIN\Administrators] DISABLE

gives me this error.

Msg 15151, Level 16, State 1, Line 1
Cannot alter the login &#039;BUILTIN\Administrators&#039;, because it does not exist or you do not have permission.


I am logged in as &quot;SA&quot;

Thanks,
IM]]></description>
		<content:encoded><![CDATA[<p>I am trying to disable BUILTIN\Administrators</p>
<p>ALTER LOGIN [BUILTIN\Administrators] DISABLE</p>
<p>gives me this error.</p>
<p>Msg 15151, Level 16, State 1, Line 1<br />
Cannot alter the login &#8216;BUILTIN\Administrators&#8217;, because it does not exist or you do not have permission.</p>
<p>I am logged in as &#8220;SA&#8221;</p>
<p>Thanks,<br />
IM</p>
]]></content:encoded>
	</item>
</channel>
</rss>
