.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Asad Ali
Fauzul Azmi
Post New Web Links

SQL Server Accounts

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :Sql Server
 

Hi,

I can see there have been many queries about this so I'm after a little confirmation.

I've gone through many articles about recommendations but was wondering if any one has had any real life experience.

What I have are two servers on a domain running SQL 2008 Standard. There will be replication, mirroring and jobs running server to server processes and jobs running SSIS packages that import data from a network share...

As far as the accounts go, I would use  a Local System Account for the SSIS Service..that is pretty much standalone

I would then use a Domain account for The Agent and the agent account must be a sysadmin...as we are dealing with server to server processes.

The SQL Server account....can that be a local system account for the scenario above or does it need to be a domain account. In my experience I've always set it to a domain account.

Has anyone dealt with this ?

Thanks

Graeme




View Complete Post


More Related Resource Links

Cannot add domain accounts to SQL Server 2008

  

I am trying to create a lab environment with 2 VMs, both have Windows Server 2008 R2 joined to domain called fz.local

Server 1: ad.fz.local running AD

Server 2: sql.fz.local running SQL Server 2008

both can see each other and ping.

I created a domain account in AD called sp_admin. Now when I login to sql.fz.local and try to add this user as NEW LOGIN to sql server 2008, I get error saying sp_admin not found. Strangely I can browse this user and select it from sql server search but as soon as i press OK I get this error:

TITLE: Microsoft SQL Server Management Studio
------------------------------

Create failed for Login 'FZ\sp_admin'.  (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600.1+((KJ_RTM).100402-1539+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+Login&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact

SQL Server 2005 Express (SP3) service accounts

  

According to http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/28627c31-0c39-4560-8cf9-f41a960fad6c ,   Network Service is 2nd best.

The only choices other than Network Service, Local Service, and Local System is Domain User. But my laptop isn't a part of a domain. My laptop is running Windows XP SP2.

What do I do?

 

 


Single shared "SQL Server Administrator" account or multiple accounts?

  

We have an environment where one of several admins might be asked to perform administrative tasks on a SQL Server 2008 running WS 2008 R2.

We are running mixed authentication and want admins to log in and administer SQL server and the database using their own admin accounts.

What I would like to do during installation, under "data base engine account provisioning" is add a domain security group to the list of SQL administrators and make sure that the admins who are allowed to administer SQL server and the database are in that group.

Is there a downside to doing that? for example the admin who runs the initial script to create the database might end up the owner of the DB... Will that be a problem, or is there some other approach we should take on this?

What I'm trying to avoid is having admins share a Windows account for DB administration. We mostly use remote desktop for admin tasks and that gets messy with a shared account.

thanks!

Sql server service accounts

  

Hi all,

I am connecting to a access database by a linked server through a network,

using the network service account. It works fine.

All i want to know is whether using the network service account has any drawbacks?

Can i achieve the same by using a local service account? If i can achieve that through local service account what are the steps i need to do?

Please share your ideas

Thanks


call JavaScript - jQuery code from ASP.NET Server-Side

  
jQuery got so close to me lately that I can see myself adding the scripts to my project almost unconsciously. The thing is, jQuery is very useful for me, in almost all situations and it has been a do or die enhancement for all my project since I first put my hands on it.

Of course while using it, you encounter few situations which need a bit of research to solve, mostly when you are trying to combine it with some other technologies like: UpdatePanels and ASP.NET Ajax. For instance there are many situations when I would like to run some jQuery magic based on some decision that I make on the server side.

Making Ajax Callbacks to the Server Using jQuery with ASP.NET

  
In the first part of this article series I introduced jQuery's functionality and how it provides a rich client side programming model. This time around I'll expand on these concepts and show you how you can use jQuery in combination with ASP.NET using it as an AJAX backend to retrieve data. I'll also discuss how you can create ASP.NET controls and otherwise interact with jQuery content from ASP.NET pages in WebForms.


jQuery is just a JavaScript library so it will work seamlessly with ASP.NET both from page code as well as through backend driven code using the Page.ClientScript object or ScriptManager. You can use jQuery on its own as a client side and Ajax library that communicates with ASP.NET or you can use jQuery in combination with ASP.NET AJAX. The two actually complement each other quite well as jQuery provides functionality that the ASP.NET AJAX library does not and vice versa. For the most part the interaction between the two libraries is trouble free except for a few very rare edge cases.

MS SQL Server: Disconnect Users From Database - Kill User Session

  
If you ever wanted to restore your database from a SQL backup file (.bak), but there are still users connected to your database, the backup operation will fail causing the error: Exclusive access could not be obtained because the database is in use.

MS SQL Server: Search All Tables, Columns & Rows For Data or Keyword Query

  
If you need to search your entire database for specific data, this query will come in handy.

So when a client needs a custom report or some sort of custom development using Great Plains, most of the time I will have to track down the data in the system by running this query and find the table(s) it is in.

call JavaScript - jQuery code from ASP.NET Server-Side

  
jQuery got so close to me lately that I can see myself adding the scripts to my project almost unconsciously. The thing is, jQuery is very useful for me, in almost all situations and it has been a do or die enhancement for all my project since I first put my hands on it.

Of course while using it, you encounter few situations which need a bit of research to solve, mostly when you are trying to combine it with some other technologies like: UpdatePanels and ASP.NET Ajax. For instance there are many situations when I would like to run some jQuery magic based on some decision that I make on the server side

Publishing SQL Server Database using Publishing Wizard : Tips & Tricks

  
We can use SQL Server Publishing Wizard to deploy our local Database to remote hosting server/production server.This feature is available in SQL Server 2008/VWD 2008.

Below is the complete step by step guide of this process.

CLR Integration With Microsoft SQL Server

  
Transact-SQL provides as much flexibility as possible but, because it is not a real programming language, it has some shortcomings about many issues (memory management, exception handling, debugging, file processing (or streaming), object-orientation (classes), or thread management). Transact-SQL also lacks features of normal libraries (arrays, collections, serialization, expressions, or string manipulations, etc).

IP Address Blocking or Restriction in SQL Server

  
"is it possible to block connections to SQL Server based on IP address". As far as now there is no official way in SQL Server to block the connections in SQL Server based on IP address. However this can be done from the OS end, we have the following three options available, refer HERE for more.


.Firewall
.IPSec
.RRAS IP Filter

Determine whether Forms Server is installed on a server

  
Check whether the Microsoft.Office.InfoPath.Server.dll and FormServer.aspx files are installed on the server.

Connestion string create any database server

  
This links important to how to create connection string to any data base sever.

SQL Server Database Transaction

  
A transaction is a group of SQL commands executed together as a single component of work to be accomplished. If all of these commands succeed, then a transaction is committed - the changes to the data are made final. If any of the commands within a transaction fail, then the entire transaction is cancelled, or in SQL Server terms, the transaction will be rolled back.

Transactions are one of the things that keep your data safe, but they're not necessarily easy to understand. Here's some help:

SQL Server Backup and Restore (video)

  
Restore your full backup, then run a few queries before you keep restoring transaction logs. Brent shows how to use the Standby option for restores.

In this five minute video, Brent demonstrates how to do it by creating a database, populating data, and then showing what disaster recovery is like by doing RESTORE WITH STANDBY.

SQL Server 2005 Try and Catch Exception Handling

  
I'm pretty excited to see that there is some real error handling for T-SQL code in SQL Server 2005. It's pretty painful to have your wonderfully architected .NET solution tainted by less-than-VBScript error handling for stored procedures in the database. The big difference being the addition of TRY..CATCH blocks. Let's take a look:
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend