October 9, 2009
i tried to make user able to see their own jobs in sql 2005. First
thing you need to assign job owner as users account.
Second thing, sql 2005 server has some new server roles (on
MSDB database user only!) for managing sql agent stuff. Here is
the screenshot:
SQLAgentUserRole
This is the least privileged role among new three new fixed
server roles. This role has permissions only on operators, local
jobs, and job schedules. These types of users can only view the
operator but they cant create, modify or delete operators. They
SQLAgentReaderRole
SQLAgentReaderRole has all the options that SQLAgentUserRole
has. In addition, it does have permissions to view the list of
available multiserver jobs, their properties, and their history.
Members of this role can also view the list of all available jobs
and job schedules and their properties, not just those jobs and
job schedules that they own.
SQLAgentOperatorRole
SQLAgentOperatorRole is the most privileged of the SQL Server
Agent fixed database roles. It includes all the permissions of
SQLAgentUserRole and SQLAgentReaderRole. Members of this
role can also view properties for operators and proxies, and
enumerate available proxies and alerts on the server.
SQLAgentOperatorRole members have additional permissions
on local jobs and schedules. They can execute, stop, or start all
local jobs, and they can delete the job history for any local job
on the server.
Link: http://www.sqlservercentral.com/articles/Administration/
sqlserveragent2005/2376/
Leave a Comment
"Failed
<ServerName>.</ServerName>
</Folder>
<Folder xsi:type=FileSystemFolder>
<Name>File System</Name>
<StorePath>..\Packages</StorePath>
</Folder>
</TopLevelFolders>
</DtsServiceConfiguration>
Notice the ServerName element points to the default instance of
SQL Server (when connecting to the local machine . is the
same as (local) they both use NamedPipes to connect).
Modify the configuration file to point to the named instance as
follows.
<?xml version=1.0 encoding=utf-8?>
<DtsServiceConfiguration
xmlns:xsd=http://www.w3.org/2001/XMLSchema”
xmlns:xsi=http://www.w3.org/2001/XMLSchemainstance>
<StopExecutingPackagesOnShutdown>true
</StopExecutingPackagesOnShutdown>
<TopLevelFolders>
<Folder xsi:type=SqlServerFolder>
<Name>MSDB</Name>
<ServerName>.\SQL2005</ServerName>
</Folder>
<Folder xsi:type=FileSystemFolder>
<Name>File System</Name>
<StorePath>..\Packages</StorePath>
</Folder>
</TopLevelFolders>
</DtsServiceConfiguration>
After making the change you MUST restart the SSIS service for
the change to take effect.
Another normal issue to connect to SSIS in sqlserver 2005 is
access is denied. The following workground can resolve this
issue(http://msdn.microsoft.com/enus/library/aa337083.aspx):
1.
If the user is not a member of the local Administrators group, add the user to the Distributed COM
Users group. You can do this in the Computer Management MMC snap-in accessed from
theAdministrative Tools menu.
2.
Open Control Panel, double-click Administrative Tools, and then double-click Component Services to
start the Component Services MMC snap-in.
3.
Expand the Component Services node in the left pane of the console. Expand the Computers node,
expand My Computer, and then click the DCOM Config node.
4.
Select the DCOM Config node, and then select MsDtsServer in the list of applications that can be
configured.
5.
6.
7.
Under Launch and Activation Permissions, select Customize, then click Edit to open the Launch
Permission dialog box.
8.
In the Launch Permission dialog box, add or delete users, and assign the appropriate permissions to
the appropriate users and groups. The available permissions are Local Launch, Remote Launch, Local
Activation, and Remote Activation. The Launch rights grant or deny permission to start and stop the
service; the Activation rights grant or deny permission to connect to the service.
9.
10. Under Access Permissions, repeat steps 7 and 8 to assign the appropriate permissions to the
appropriate users and groups.
11. Close the MMC snap-in.
12. Restart the Integration Services service.