Viewing 15 posts - 436 through 450 (of 1,219 total)
Presumably because you still have an open transaction. Run SELECT @@trancount in the first window. Presumably you already had an open transaction when you issued the BEGIN TRANSACTION in your...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 1, 2014 at 2:04 pm
Keep in mind that the EXECUTE AS clause specifies a database user. I assume that you are a member of sysadmin. In that case, your login maps to dbo in...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 22, 2014 at 2:39 pm
This article on my web site includes examples for a related problem - having users to start a specific job,
http://www.sommarskog.se/grantperm.html. Maybe it can serve as inspiration?
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 21, 2014 at 2:59 pm
Having the application using only stored procedures certainly gives somewhat better security, since you don't have to grant direct access to the tables. And if all you want to keep...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 10, 2014 at 2:28 pm
It's fully clear what your question really is, but there is no way you can lock out users from doing things only from the application and never be able to...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 7, 2014 at 2:55 pm
Apparently, you have a transaction active in your application.
I seem to recall that I saw somewhere that MSOLAP does not support distributed transactions.
This should help
EXEC sp_serveroption LINKED_OLAP, 'remote proc transaction...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 3, 2014 at 4:22 am
pharmkittie (7/1/2014)
I assume here...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 1, 2014 at 1:42 pm
Neeraj Dwivedi (7/1/2014)
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 1, 2014 at 1:18 pm
Well, as they say in the trade, it depends.
If you have clients accessing SQL Server from a non-trusted domain, SQL logins is your only option. This includes the case you...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 1, 2014 at 12:45 pm
pharmkittie (7/1/2014)
They wanted me to develop using Visual Studio on the server.
Now, that is completely crazy! Many Windows admins would say flat no to having a Visual Studio on a...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 1, 2014 at 12:40 pm
Oh, the joys of company politics!
I certainly would not like to have a work computer where I don't have admin rights. But the only advice I can give is that...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 1, 2014 at 2:03 am
They are not logins. They are schemas, and for legacy reasons they are also database users. dbo is dbo, the overall almighty in the database and you can't do anything...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
June 30, 2014 at 1:00 pm
As long as you have db_owner permission in the database, you can do whatever you like. And if you are sysadmin on server level, you are db_owner on database level.
Exactly...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
June 30, 2014 at 10:58 am
You should keep the login and the group as a user. But you should drop the group from db_datawriter and db_datareader.
Which version (including service pack) does this server have?
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
June 26, 2014 at 1:57 pm
For the main instance DB1 the user has permission through group wingroup1. On the second instance DB2 (which is called using the four-part notation) they had no permissions...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
June 26, 2014 at 1:28 pm
Viewing 15 posts - 436 through 450 (of 1,219 total)