index > Team Foundation Server - Setup > Cannot create project (TF30225: xp_sqlagent_notify)

Cannot create project (TF30225: xp_sqlagent_notify)


The installation finished correctly but I still cannot create any project. (I already searched the forum and no luck).

This is the error I am getting:

---begin Exception entry---
Time: 2006-08-23 17:39:03Z
Module: Engine
Event Description: TF30162: Task "Populate Reports" from Group "Reporting" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF30225: Error uploading report : Work Item with Tasks
Exception Details: The Project Creation Wizard encountered a problem while
creating reports on the SQL Server Reporting Services on MARS.
The reason for the failure cannot be determined at this time.
Because the operation failed, the wizard was not able to finish
creating the SQL Server Reporting Services site.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.UploadReport(ProjectCreationContext context, XmlNode report)
at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.HandleCreateReports(ProjectCreationContext context, XmlNode node)
at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.Execute(ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
-- Inner Exception --
Exception Type: System.Web.Services.Protocols.SoapException
Exception Message: An internal error occurred on the report server. See the error log for more details. ---> An internal error occurred on the report server. See the error log for more details. ---> EXECUTE permission denied on object 'xp_sqlagent_notify', database 'mssqlsystemresource', schema 'sys'.
SoapException Details: <detail><ErrorCode xmlns="
http://www.microsoft.com/sql/reportingservices">rsInternalError</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="http://www.microsoft.com/sql/reportingservices">An internal error occurred on the report server. See the error log for more details.</Message><HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsInternalError&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=9.00.2047.00</HelpLink><ProductName xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">9.00.2047.00</ProductVersion><ProductLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsInternalError" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsInternalError&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=9.00.2047.00" xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An internal error occurred on the report server. See the error log for more details.</Message><MoreInformation><Source>.Net SqlClient Data Provider</Source><Message>EXECUTE permission denied on object 'xp_sqlagent_notify', database 'mssqlsystemresource', schema 'sys'.</Message></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.Proxy.Reporting.ReportingService.SetCacheOptions(String Report, Boolean CacheReport, ExpirationDefinition Item)
at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.UploadReport(ProjectCreationContext context, XmlNode report)
-- end Inner Exception --
--- end Exception entry ---

I already tried the following suggestion:

Hi,

The problem is with uploading a report to the report server. I think you have the correct permissions since you were able to create the site. The problem may have to do with the security settings on the datasources (TfsOlapReportDS and TfsReportDS) as these are the datasources for the reports.

Please verify the following settings: Navigate to the reporting site (
/Reports/Pages/Folder.aspx">http://<reportserver>/Reports/Pages/Folder.aspx), click on the TfsOlapReportsDS and the TfsReportDS and verify the connection settings for each, specifically the 'Connect using:' section. This is generally set to 'Credentials stored securely in the report server' and a valid username/password is specified. Also, the 'Use as Windows credentials when connection to the data source' is checked.

-Dennis

MarceloC
I called MS support and got it resolved.

The nt authority\network service account was missing a permission. We added RSExecRole role to the master database.


MarceloC
Can you walk me through that procedure. I am having the same problem.
AbsoluteIT

Hey AbsoluteIT,

I had the same problem when I tried to update the reports after upgrading from RC to RTM (the reports had been updated between versions). I got around the problem at the time by manually importing the reports one by one from the template. Then I had the exact same problem when I tried to create a new team project. Just when I thought I had removed all problems....

To fix, create a new database role in master and msdb: RSExecRole. In "Securables" add the following:

master:
  xp_sqlagent_notify (execute)
  xp_sqlagent_enum_jobs  (execute)
msdb:
  sp_add_category  (execute)
  sp_verify_job_identifiers  (execute)
  sysjobs (select)

Assign the role from each db to Network Service.

This fixed it for me. Not sure if will work for everyone as each case might be different, but again, it worked for me, I can now create team projects without any errors.

As to why I had this problem - a couple of factors. I had no problems at all with installation. But I deleted the encryption key from Reporting Services since I couldn't remember the passphrase for it, and then created a new encryption key and recreated the datasources etc. Maybe this process removed these permissions on master and msdb???

Enjoy!




Scotty
ScottyWakefield
reply 4

You can use google to search for other answers

 

More Articles

Installing Build Server?
Installation on PDC
SQL Server error 233
Problem with Sharepoint Permissions
Upgrade RC to Workgroup Edition and Workgroup Editon to TFS?
Error 28906. WiDbLoc: Failed to localize a field in the database.
Build Failed - When drop location is on other machine, than the b...
Team Foundation RC install Failures, Dr Watson
Adding a Team Server
Error 28925 - TFServerStatusValidator TFSService Account
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

TFS BETA3 & SHAREPORINT err!
Team Server & IIS Log files
Migration story - Beta 3 -> RTM
VSTS Beta 2 -> RTM migration story
Windows can not open this file:splash.ht…
Can not reference to Microsoft.VisualStu…
Unable to connect to BIS service
Help me to get started...
Recreate Project Portal Site
Work item type editor
Exception Message: The request failed wi…
no unique server registered
Error 28925 TFServerStatusValidator
VSTS July CTP Error 32000.Failed to exec…
J2SE runetime environment 5.0 update 6 -…

Hot Articles

Importing\Exporting Team Projects
28940 Error when Installing TFS
Installing TFS on same machine with ISA …
Move between machines
Single Server Installation Error 28002
Using Non-standard SQL Port Numbers
Unrecognized default notification 'From'…
tired about TFS ctp december 2005 and sh…
MCPD Details
Adding a Team Server
Setting up users
Problem with Sharepoint Permissions
How to access and specify the path of fi…
Clean single server install problem
Error on Add Work Item menu

Recommend Articles

Installing TFS
Deletiing TFS Projects that fail to crea…
CMMI template team project is created fa…
Event Description: TF30162: Task "S…
Team Project Creation Failed
External Web access
Let the submitter close the bug/issue only
Configuring Email address for the alert …
New Group remains invisible by WIT syste…
Problem with VSTS workgroup instalation
C:\Data folder
Moving Data to a localized Server
tfswss
Beta 3: Active directory requirements?
Beta 3 Refresh: Cannot add users from an…