Showing posts with label agent. Show all posts
Showing posts with label agent. Show all posts

Friday, March 23, 2012

Export and Import of SSIS packages

Hello All,

Is there a way to completely export an SSIS package (the package, the configuration and the SQL Agent settings).

And a way to import it into another computer running SSIS.

If yes, then can this be done by means of a script?

regards,
Abhishek.

BOL has some topics covering that:

http://msdn2.microsoft.com/en-us/library/ms141034.aspx

http://msdn2.microsoft.com/en-us/library/ms141772.aspx

Additionally, If your are using file based packages (.dtsx); whatever method you choose that can copy the package files and configuration files (if used) will work.

Monday, March 19, 2012

Explanation of Security Groups for 2005

I've been reconfiguring my Windows service accounts for the SQL Server service and the SQL Agent service to comply with the security best practices for SQL Server 2005. Specifically, I created two new network accounts. One account runs the SQL Server service, the other runs the SQL Agent service.

Each account is an ordinary user account with no administrative privileges, althought the SQL Agent account is a member of the "Pre-Windows 2000 compatible access" group on the domain controller. This group membership was specified in Books Online ("Selecting an Account for SQL Server Agent Service").

If you have installed the September CTP, you will notice several new local Windows groups on your server. These groups simply the process of configuring accounts used to run SQL Server services. All you need to do is add the account you wish to use for the specified service to the group and the account will have all the appropriate permissions it needs to run the service.

Two of these groups have very similar descriptions:

The first group is named:
"SQLServer2005MSFTEUser$ComputerName$InstanceName"

The second group is named:
"SQLServer2005MSSQLUser$ComputerName$InstanceName"

The description for these groups is identical:
"Members in the group have the required access and privileges to be assigned as the log on account for the associated instance of SQL Server and SQL Server FullText Search in SQL Server 2005"

Could someone from Microsoft explain the differences between these two groups?

I'm not sure why these have the same description. Someone in SQL Server Setup & Upgrade might be able to provide more information on that.

For "SQLServer2005MSFTEUser$ComputerName$InstanceName", the description should be: "Members in the group have the required access and privileges to be assigned as the log on account for the associated instance of SQL Server FullText Search in SQL Server 2005".

And for "SQLServer2005MSSQLUser$ComputerName$InstanceName", the description should be: "Members in the group have the required access and privileges to be assigned as the log on account for the associated instance of SQL Server in SQL Server 2005".

If you setup different service accounts for SQLServer and SQL Server FullText via the SQL Server Configuration Manager (SCM), you will notice that each group will include the corresponding account. If you use SCM, you won't need to manually add accounts to these groups, they are managed automatically by the SCM tool.

Thanks
Laurentiu

Monday, March 12, 2012

Expired Subscription Agent is failing

I have recently setup a Merge Publication with two other servers subscribing
to it. While I was checking the progress of the sync I have noticed that
Expired Subscription Agent is failing. The error it is giving is:
Invalid object name 'sysarticleupdates'. [SQLSTATE 42S02] (Error 208).
Has anyone got any suggestions?
This is probably symptomatic of much larger problems.
I would find a SQL Server with the same version and sp, locate
sysarticleupdates, right click on it in EM, select copy and then paste it
into your subscription database on your subscriber.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
"Russell" <Russell@.discussions.microsoft.com> wrote in message
news:7B52FB71-6159-4818-85EC-7216AB277473@.microsoft.com...
> I have recently setup a Merge Publication with two other servers
subscribing
> to it. While I was checking the progress of the sync I have noticed that
> Expired Subscription Agent is failing. The error it is giving is:
> Invalid object name 'sysarticleupdates'. [SQLSTATE 42S02] (Error 208).
> Has anyone got any suggestions?