?? msdb SQL Server ??? ??????? ??? ????? ?????????? ????? ???? ???? ?????

???? ?????? ???? ??????
???? ID: 2539091 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

??????

SQL ????? ???????? ?????? ?? ???????? ??????? ??? ????? ?????????? ??????? ????? ???????? ???? ?? ??? ??????? ?????? ?? ??? ??? ????? ???? ?? ??????? ???? ??? Tomaster, msdb, ?? tempb ?????? ??????? ?? ??????? ???? ???? ???? ???????? ???? ?? ???, ??? Microsoft SQL ????? ???????? ?? ???? ??? ????? ???????????????? msdb ??????? ??? ????? ??? ?? ???? ??? ?? ????? ?????????? msdb ??????? ??? ????? ???? ??? ?? ?? ???? ???? ???????? ?? ????? ???? ??? ???? ?? ???????? ?? ?? ???? ?? ????? ?? ???? ??? ??????? ?? ?????? ????? ???

SQL ????? ???????? ?????? ??? ?? ??????? ?? ???? ??? ???? ??????? ?? ???, ????? Microsoft ?????? ??????? (MSDN) ??? ???? ?? ????:

SQL ????? ??? ???? ?? ????? ?? ????? ?? ???? ??? ???????

???? ???????

????? ?????????? msdb ??????? ??? ????? ???? ??? ?? ?? ?????

????? ?????????? msdb ??????? ??? ????? ???? ??? ??, ?? ?? ?????? ??????? ?? ???? ?? 916?? ?? ?????? ???? ?? ?? ??????? ???????? ??? ?? ?? ??????? ??? ?? ??????? ???? ?? ?? OCS ???? ???? serverapplication ???? ?? ??? ?????? ???? ?? ?????? ???? ??, ?? SQL Server.You ??? ?? ?? ?? ???? ???? ?????? ??? ????? ????? ????? ?? ???? ????

N??????? ??? ??????, ???????? ?? ???? ?? ????? ?? ???? ???? ???????, ?????????? ???? essentially ?? ??? ????????? ??????????? msdb ??????? ??? ?? ?? ???? ??? ???? ?? ????? ??????? ?? ?????? ??????? ???? ???????? ??????? ?? ?????? ?????? ?? ??? ???????? Explorer ?? ?????? ???? ??? ?? ?????? ?? ???? ?? ??????? ?? ???, msdb ??????? ?? ?????? ???? ?? ??? ???????? Explorer ??????? ????? ?? ?????? ?? ????? ???? ???

????? 1

?????? ???? msdb ??? ??????? ????????? ?? ?? SQL ????? ??? ????? ??? ??????? Sysadmin ?? ????? ???? ?? ?? ?????????? ??????? ??? ?? ??? ?? ??? ?? ??????? ????????? ??????? ???? ?? ?????? ???? ??, ?? SQL Server 2008 ?? SQL Server 2008 R2 ????????? ???, ?? ????? ?? ???? ?? ?????? ????? ??????? ???? ??:

?? ?????? ?? ??? ???? ??????? ???? ??? ????? (Microsoft.SqlServer.Manager.Sdk.Sfc)

???????? ???????:

Transact-SQL ??? ?? ??? ????????? ???? ??? ?? ????? ??????? ????

(Microsoft.SqlServer.ConnectionInfo)

????? ????? <Servername>"msdb" ?? ??????? ??????? ??????? ?????? ??????? ?? ??????? ??? ????? ???? ??? (Microsoft SQL ?????, ??????: 916)</Servername>

?????????? ??? ??????? ???? ??? msdbdatabase ???? ?? ??? ????? ???? ?? ????????? ?????? ?????? ?? ???????? ?? ?? ?????????? ?? ???? ?? ??? Themsdb ??????? ?? ??? ?? ?? ?? ??????? ?? ????? ?? ???????? ?? ???? ?? ??????? ?? ??? ?? ???? ?????? ?? ???? ???

????? 2

SQL ????? 2005 ???, ?? ?????????? ?? SQL ????? ??? ????? ??? ??????? Sysadmin ?? ????? ???? ??, ?? ?? ?????? msdb ??? ???? ?????? ???? ?? ??, ?? ??????? ??? ?? ??????? ???? ?? ???? ???? ?? ?????????? ???? ??????? ?? ??? ????? ?? ??? ?? ?????? ???? ??, ???????, ?? ????? ?????? ????? ??????? ???? ??:

?????? ??? ?? ????? ?????? ???? ?? ?????

???????? ???????:
?????? ??? ?? ????? ?????? ???? ?? ????? (SqlMgmt)
Transact-SQL ??? ?? ??? ????????? ???? ??? ?? ????? ??????? ???? (Microsoft.SqlServer.ConnectionInfo)
????? ????? ????????? ??? "msdb" ?? ??????? ??????? ??????? ?????? ??????? ?? ??????? ??? ????? ???? ??? (Microsoft SQL ?????, ??????: 916)

????? ?????? ????? ?? ???? ?? ?? ?? ?????????? ?? ??????? ??? dbo ?????? ?? ?? ????? ???

????? 3

Microsoft Office ????? ????? 2007 (OCS 2007) ?? ?????? ?? ???????? ???????? ??? ?? ?? ??? ??????-??? ???? ??????? ???? ????? ?? ??????? ???? ?? ?????? ???? ???? ???? ??? ??, ???? ????? ?????? ????? ????? ?????? ??? ?????:

????? ??????: ??????
????? ?????: OCS ?????????? ??????
????? ??????: (1006)
???? ?? ???: 30962
??????: ??????
???: ???
??????????: n/a
????????: Computer_name
?????: ???-??? ??????? ?? ??????? ???? ??? ???, ????? ????-??? ?? ??????? ???????? ????????? ????????? ???? ??? ???? ???? ?? ?????? ?? ? ??????? ???????? ?????? ?? ??? ???? ???? ?????? ?????? ?????? ?? ?????? ?????
???-??? ?????: ?????? ???????: ??? ?????? Sql rtc: 916 ??????? ???????? ??: ??????? {SQL ??? ???????} =;Trusted_Connection = ???;AutoTranslate ????; = ????? =??????; ??????? = rtc;
????: ???? ???-??? ??????? ?? ??? ?????????
???????????:
????????? ???? ?? ???-??? ??? ?? ????? ?? ??? ???
???? ??????? ?? ???, ??? ?? ?????? ?????? ?? ????? http://go.microsoft.com/fwlink/events.asp.

???? ??????? ?? ???, ????? ????? OCS ?????? ????? ??? ?????:

http://social.microsoft.com/Forums/en-US/communicationsserversetup/thread/8b428bd3-0509-4859-ac11-122bdbef06cc

?????? ?? ???????? ???? ????

????? ?????????? ??? msdb ??????? ??? ????????? ???? ??? ?? ?? ???? ?? ????????? ???? ?? ???, ????? ?????? sysadmin ??????? ????? ??? ?? ?? ????? ?? ??? ??? ?????:

USE msdb;

SELECT prins.name AS grantee_name, perms.*

FROM sys.database_permissions AS perms

JOIN sys.database_principals AS prins

ON perms.grantee_principal_id = prins.principal_id

WHERE prins.name = 'guest' AND perms.permission_name = 'CONNECT';

GO

???? ?????? ??? ??????? ???? ?? ?? ????? ?? ???? ???? ??, ????? ?????????? ?? ?????? ????????? ????
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
grantee_name????class_descmajor_idminor_idgrantee_principal_idgrantor_principal_id??????permission_name?????state_desc
?????0???????0021??????? ????G?????? ????

??? ?? ?? ?? ??? ???? ?????? ??? ??????? ?? state_desc ????? ??? ?????? ?????? ??, ?? ?? ??? ????, ????? ?????????? msdb ??????? ??? ????? ???? ??? ?? ????? ??? ??? ?? ?? ???? ??????? ?? ?????? ?????? 916 ??? ???? ???

?? ?????? ?? ?? ???? ?? ??? ????

?? ?????? ?? ?? ???? ?? ???, ????? ?????? SQL ????? ??????? ???????? ??? ????? ??? ??????? sysadmin ?? ?? ????? ?? ??? ??? ?????:

USE msdb;

GRANT connect TO guest;

GO


???

???? ID: 2539091 - ????? ???????: 25 ??? 2014 - ??????: 6.0
???? ???? ???? ??:
  • Microsoft SQL Server 2008 Standard
  • Microsoft SQL Server 2008 Developer
  • Microsoft SQL Server 2008 Enterprise
  • Microsoft SQL Server 2008 Express
  • Microsoft SQL Server 2008 R2 Standard
  • Microsoft SQL Server 2008 R2 Developer
  • Microsoft SQL Server 2008 R2 Enterprise
  • Microsoft SQL Server 2008 R2 Express
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Express Edition
??????: 
kbsurveynew kbexpertiseadvanced kbtshoot kbprb kbmt KB2539091 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:2539091

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com