Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 141581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:47:58+00:00 2026-05-11T07:47:58+00:00

just now the dba let me connect to the database using Sql Server Management

  • 0

just now the dba let me connect to the database using Sql Server Management Studio, this is how i noticed that the default database for the tfs setup and service users is master, is this ok?, is this why I’m having this error?, Let me post part of the log and the properties of the Setup user to confirm that the users are configured correctly.

Here is part of the log with the error:

Using workflow file from location exe.  Executing workflow 'Quiesce ATDT'...  Stopping Windows Service 'TFSServerScheduler'...  Stopping Windows Service 'CoverAn'...  Stopping Windows Service 'W3SVC'...  Starting Windows Service 'W3SVC'...  Disabling SQL Jobs for databases      FSActivityLogging,TFSBuild,TFSIntegration,TFSVersionControl,TFSWorkItemTracking,TFSWorkItemTrackingAttachments,TFSWarehouse  CREATE TABLE permission denied in database 'master'.  Retrying...  Disabling SQL Jobs for databases TFSActivityLogging,TFSBuild,TFSIntegration,TFSVersionControl,TFSWorkItemTracking,TFSWorkItemTrackingAttachments,TFSWarehouse  CREATE TABLE permission denied in database 'master'.  Retrying...  Disabling SQL Jobs for databases TFSActivityLogging,TFSBuild,TFSIntegration,TFSVersionControl,TFSWorkItemTracking,TFSWorkItemTrackingAttachments,TFSWarehouse  CREATE TABLE permission denied in database 'master'.  Retrying...  Disabling SQL Jobs for databases  TFSActivityLogging,TFSBuild,TFSIntegration,TFSVersionControl,TFSWorkItemTracking,TFSWorkItemTrackingAttachments,TFSWarehouse  CREATE TABLE permission denied in database 'master'.  Retrying...  Disabling SQL Jobs for databases  TFSActivityLogging,TFSBuild,TFSIntegration,TFSVersionControl,TFSWorkItemTracking,TFSWorkItemTrackingAttachments,TFSWarehouse  CREATE TABLE permission denied in database 'master'.  Retrying...  Disabling SQL Jobs for databases  TFSActivityLogging,TFSBuild,TFSIntegration,TFSVersionControl,TFSWorkItemTracking,TFSWorkItemTrackingAttachments,TFSWarehouse  SQL Error #1  SQL Message: CREATE TABLE permission denied in database 'master'.  SQL LineNumber: 13  SQL Source: .Net SqlClient Data Provider  SQL Procedure:    System.Data.SqlClient.SqlException: CREATE TABLE permission denied in database 'master'.     at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()     at Microsoft.TeamFoundation.Admin.TFSQuiesce.Quiescer.DisableJobs(XPathNavigator workflow)     at Microsoft.TeamFoundation.Admin.TFSQuiesce.Quiescer.ProcessSqlDatabaseElement(XPathNavigator workflow, String action, String dbName)     at Microsoft.TeamFoundation.Admin.TFSQuiesce.Quiescer.ExecuteWorkflowStep(XPathNavigator workflow, String action, String nameAttribute)     at Microsoft.TeamFoundation.Admin.TFSQuiesce.Quiescer.ExecuteWorkflowStepWithRetry(XPathNavigator workflow, String action, String nameAttribute)     at Microsoft.TeamFoundation.Admin.TFSQuiesce.Quiescer.RunWorkflow(String workflowName)  Exception Data:  Key: HelpLink.ProdName, Value: Microsoft SQL Server  Key: HelpLink.ProdVer, Value: 09.00.3054  Key: HelpLink.EvtSrc, Value: MSSQLServer  Key: HelpLink.EvtID, Value: 262  Key: HelpLink.BaseHelpUrl, Value: http://go.microsoft.com/fwlink  Key: HelpLink.LinkId, Value: 20476   Executing workflow 'Unquiesce ATDT'...  Enabling SQL Jobs.  Unblocking service account from accessing database TFSActivityLogging  Unblocking service account from accessing database TFSBuild  Unblocking service account from accessing database TFSIntegration  Unblocking service account from accessing database TFSVersionControl  Unblocking service account from accessing database TFSWorkItemTracking  Unblocking service account from accessing database TFSWorkItemTrackingAttachments  Unblocking service account from accessing database TFSWarehouse  Stopping Windows Service 'W3SVC'...  Starting Windows Service 'W3SVC'...  Starting Windows Service 'TFSServerScheduler'...  Starting Windows Service 'CoverAn'...   Workflow 'Quiesce ATDT' failed! ExitCode = 9000.  12/03/08 16:29:03 DDSet_Status: Process returned 9000  12/03/08 16:29:03 DDSet_Status: Found the matching error code  for return value '9000' and it is: '29207'  12/03/08 16:29:03 DDSet_Error:  9000  12/03/08 16:29:03 DDSet_CARetVal: 29207  12/03/08 16:29:03 DDSet_Status: QuietExec returned 29207  12/03/08 16:29:03 DDSet_Exit: QuietExec ended  MSI (s) (44:18) [16:29:03:812]: User policy value 'DisableRollback' is 0  MSI (s) (44:18) [16:29:03:812]: Machine policy value 'DisableRollback' is 0  Action ended 16:29:03: InstallFinalize. Return value 3.  

Here are the properties of the setup user in SQL:

General
Login Name: CNBYV\SRVSTFTN
Windows Authentication
Default database: master
Default Language: English

Server Roles
dbcreator
public
sercurityadmin

User Mapping
Map Database User DefaultSchema Default Role
Checked master CNBYV\SRVSTFTN … public
Checked TfsActivityLogging dbo dbo dbo_owner, public
Checked TfsBuild dbo dbo dbo_owner, public
Checked TfsIntegration dbo dbo dbo_owner, public
Checked TfsVersionControl dbo dbo dbo_owner, public
Checked TfsWarehouse dbo dbo dbo_owner, public
Checked TfsWorkItemTracking dbo dbo dbo_owner, public
Checked TfsWorkItemTrackingAttachments dbo dbo dbo_owner, public

Those are the settings that i found more important, if you need more information let me know.

Thanks a lot.

PS: It was just a fck pain to post the table above, i don’t know why people like Markdown, if someone know how to fix it so it appears like a table please edit the question.

Juan Zamudio

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T07:47:59+00:00Added an answer on May 11, 2026 at 7:47 am

    The solution is to add the role ‘sysadmin’ to the setup user of TFS, i had another issues (TfsWarehouse problems) but the problem about permission denied in master was solved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 118k
  • Answers 118k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Just connect Case1 to Case2 with an OnSuccess restriction keeping… May 11, 2026 at 11:35 pm
  • Editorial Team
    Editorial Team added an answer As long as the relationship exists in your data model… May 11, 2026 at 11:35 pm
  • Editorial Team
    Editorial Team added an answer I've always favored re-use through composition (your second option) rather… May 11, 2026 at 11:35 pm

Related Questions

I've got an ms-access application that's accessing and ms-sql db through an ODBC connection.
Is there a database term for table or view? In my app, the table
I have a unit test which contains the following line of code Site.objects.get(name=UnitTest).delete() and
In an interview for a SQL DBA position a while back, I mentioned I

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.