I just encountered the same problem.
Make sure there is a user mapping for your login in the master table. No database role memberships are required, just tick ‘Map’ for the database master under ‘User Mapping’ in the properties for the login ‘UserName’.
Related Contents:
- Check if a string contains a substring in SQL Server 2005, using a stored procedure
- Insert results of a stored procedure into a temporary table
- Check if table exists in SQL Server
- Insert multiple rows WITHOUT repeating the “INSERT INTO …” part of the statement?
- Cannot truncate table because it is being referenced by a FOREIGN KEY constraint?
- Select columns from result set of stored procedure
- How do I find a stored procedure containing ?
- How to get Time from DateTime format in SQL?
- SQL Server String or binary data would be truncated
- Sql Server string to date conversion
- How to change identity column values programmatically?
- T-SQL stored procedure that accepts multiple Id values
- T-SQL: Opposite to string concatenation – how to split string into multiple records [duplicate]
- How much size “Null” value takes in SQL Server
- Datatype for storing ip address in SQL Server
- Current executing procedure name
- WHERE clause on SQL Server “Text” data type
- SQL Server ORDER BY date and nulls last
- Does T-SQL have an aggregate function to concatenate strings? [duplicate]
- Escape a string in SQL Server so that it is safe to use in LIKE expression
- SQL Server 2000: How to exit a stored procedure?
- Find non-ASCII characters in varchar columns using SQL Server
- Cannot find either column “dbo” or the user-defined function or aggregate “dbo.Splitfn”, or the name is ambiguous
- Parameter Sniffing (or Spoofing) in SQL Server
- What is the T-SQL syntax to connect to another SQL Server?
- Use transactions for select statements?
- How to debug stored procedures with print statements?
- Stored procedure with default parameters
- SQL Server 2005: T-SQL to temporarily disable a trigger
- EXEC sp_executesql with multiple parameters
- SQL Server error on update command – “A severe error occurred on the current command”
- Executing a stored procedure within a stored procedure
- Subtract minute from DateTime in SQL Server 2005
- How to remove accents and all chars a..z in sql-server?
- What are row, page and table locks? And when they are acquired?
- Linking ALL Users to Login after restoring a SQL Server 2005 database
- Select SQL results grouped by weeks
- Maximum stored procedure, function, trigger, or view nesting level exceeded (limit 32)
- Check if a temporary table exists and delete if it exists before creating a temporary table
- SQL Server SELECT into existing table
- SELECT INTO a table variable in T-SQL
- SET versus SELECT when assigning variables?
- Difference between database and schema
- How to check progress of DBCC SHRINKFILE?
- Inserting rows into a table with one IDENTITY column only [duplicate]
- How to find slowest queries
- SQL Server: Index columns used in like?
- To add server using sp_addlinkedserver
- Test Column exists, Add Column, and Update Column
- Natural (human alpha-numeric) sort in Microsoft SQL 2005