Home
Articles
Forums
Tips
Training
FAQ's
Blogs
Software
Books
About Us
RSS Feeds
Sign in
|
Join
FAQ Topics
All FAQ's
General DBA
General Developer
DBA Performance Tuning
Developer Performance Tuning
Clustering
Error Messages
Write for Us
Share your SQL Server knowledge with others and raise your profile in the community
More...
Latest Articles
Working with Windows Communication Foundation (WCF)
Transfer Logins Task and Transfer Database Task in SSIS
Practical Database Change Management (Part 2)
Practical Database Change Management (Part 1)
More
Latest SQL Server FAQ's
Usage: sp_bindefault defaultname, objectname [, 'futureonly']
Cannot bind a default to a computed column or to a column of data type timestamp, varchar(max), nvarchar(max), varbinary(max), xml or sqlclr type.
Cannot bind a default to a column created with or altered to have a default value.
Cannot change the owner of the master, model, tempdb or distribution database.
The CHECK_EXPIRATION option cannot be used when CHECK_POLICY is OFF.
The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is ON.
'%s' is not a valid option for the @updateusage parameter. Enter either 'true' or 'false'.
The data type or table column '%s' does not exist or you do not have permission.
IDENTITY_INSERT is already ON for table '%.*ls.%.*ls.%.*ls'. Cannot perform SET operation for table '%.*ls'.
ALTER TABLE SWITCH statement failed because column '%.*ls' does not have the same nullability attribute in tables '%.*ls' and '%.*ls'.
ALTER TABLE SWITCH statement failed. Target table '%.*ls' has an XML index '%.*ls' on it. Only source table can have XML indexes in the ALTER TABLE SWITCH statement.
ALTER TABLE SWITCH statement failed. Check constraint '%.*ls' in source table '%.*ls' and check constraint '%.*ls' in target table '%.*ls' have different 'Not For Replication' settings.
ALTER TABLE SWITCH statement failed. Check constraints or partition function of source table '%.*ls' allows values that are not allowed by check constraints or partition function on target table '%.*ls'.
ALTER TABLE SWITCH statement failed. Computed column '%.*ls' defined as '%.*ls' in table '%.*ls' is different from the same column in table '%.*ls' defined as '%.*ls'.
ALTER TABLE SWITCH statement failed. Column '%.*ls' in table '%.*ls' is computed column but the same column in '%.*ls' is not computed.
'%ls' statement failed because the expression identifying partition number for the %S_MSG '%.*ls' is not of integer type.
ALTER TABLE SWITCH statement failed. There is no identical index in source table '%.*ls' for the index '%.*ls' in target table '%.*ls' .
ALTER TABLE SWITCH statement failed because column '%.*ls' has data type %s in source table '%.*ls' which is different from its type %s in target table '%.*ls'.
ALTER TABLE SWITCH statement failed because column '%.*ls' has data type %s in source table '%.*ls' which is different from its type %s in target table '%.*ls'.
A cursor with the name '%.*ls' already exists.
A cursor with the name '%.*ls' does not exist.
Cursor is not open.
Usage: sp_dbcmptlevel [dbname [, compatibilitylevel]]
Invalid partition number %I64d specified for %S_MSG '%.*ls', partition number can range from 1 to %d.
Cannot bind a rule to a computed column or to a column of data type text, ntext, image, timestamp, varchar(max), nvarchar(max), varbinary(max), xml or sqlclr type.
Cannot bind a default to an identity column.
Usage: sp_dbcmptlevel [dbname [, compatibilitylevel]]
Invalid partition number %I64d specified for %S_MSG '%.*ls', partition number can range from 1 to %d.
Saving changes is not permitted. The changes that you have made require the following tables to be dropped and re-created.
Remove a Node From a SQL Server 2008 Cluster
Report Builder Fails to Launch
Error when Inserting data to Replicated Databases
How to run SQL Profiler without sysadmin rights?
How to Perform Multiple lookups to the same table
How to import an Excel file which has columns with more than 255 characters to SQL Server using SSIS?
How to Manually Uninstall SQL Server 2005
How to send a SSRS report from SSIS?
How to alter a User Defined Data Type?
How to view previous query plans?
How to unzip a File in SSIS?
ALTER TABLE SWITCH statement failed because the object '%.*ls' is not a user defined table.
ALTER TABLE SWITCH statement failed because table '%.*ls' has %d columns and table '%.*ls' has %d columns.
ALTER TABLE SWITCH statement failed because column '%.*ls' at ordinal %d in table '%.*ls' has a different name than the column '%.*ls' at the same ordinal in table '%.*ls'.
ALTER TABLE SWITCH statement failed. The table '%.*ls' has clustered index '%.*ls' while the table '%.*ls' does not have clustered index.
SQL Server Reporting Server (SSRS) service is failing to start
Cannot Start SQL Server Service
Users are able to connect to report manager but not able to connect to report server.
Errors when SQL Server Snapshot Replication is Running
How to Display Server Name or IP Address in a Reporting Services Report
How to schedule SSAS Database backup?
Error messages when you try to process a database or a cube in SQL Server 2005 Analysis Services: "The attribute key cannot be found" and "The record was skipped because the attribute key was not found"
How to Eliminate Unions After a Lookup Operation
How to Integrate Performance Monitor and SQL Profiler
SSIS Lookups are Case Sensitive
Convert Number to Words in SSRS
After installing SP2 on SQL Server 2005 x64, when trying to open existing SSIS package or try to add data component to a new SSIS package, is giving error saying that designer could not be initialised.
Remote Name Could not be Resolved in SQL Server Reporting Services
Database Mirror Certificate Expired
How to Generate an Auto Incremental Number in a SSIS Package?
How to replicate more than 256 articles in Merge Replication?
Unable to Enlist in the Transaction
XML Error when Opening SSIS Packages
SQL Server 2005 - clients using native client, should clients be upgrade as well
Errors in the OLAP Storage Engine: The attribute key cannot be found
Error 0xC0012050 while loading package file
There was an unexpected failure during the setup wizard. You may review the setup logs and/or click the help button for more information
A Connection Cannot be Made to Redirector
How to Configure Multiple SQL Server Reporting Service Instances on the Same Computer
Error When Configuring SSRS Database
Invalid zero-length device name. Reissue the BACKUP statement with a valid device name.
The file size, max size cannot be greater than 2147483647 in units of a page size. The file growth cannot be greater than 2147483647 in units of both page size and percentage.
Cannot specify both READ_ONLY and FOR READ ONLY on a cursor declaration.
The %S_MSG that starts with '%.*ls' is too long.
INSERT into an identity column not allowed on table variables.
Cannot %S_MSG the %S_MSG '%.*ls'.
Cannot %S_MSG the %S_MSG '%.*ls', because it does not exist or you do not have permission.
Setuser failed because of one of the following reasons: the database principal '%.*ls' does not exist, its corresponding server principal does not have server access, this type of database principal cannot be impersonated, or you do not have permissi
The MUST_CHANGE option is not supported by this version of Microsoft Windows.
Cannot change the owner of an indexed view.
Usage: sp_dboption [dbname [,optname [,'true' | 'false']]]
User does not have permission to perform this action.
sp_indexoption is not supported for XML Index. Use ALTER INDEX instead.
sp_indexoption is not supported for XML Index and the table has an XML index on it. Use ALTER INDEX instead to set the option for ALL the indexes.
Could not obtain information about Windows NT group/user '%ls', error code %#lx.
SQL Web Assistant: Could not execute the SQL statement.
SQL Web Assistant: Could not open the output file.
SQL Web Assistant: @singlerow must be 0 or 1. Cannot specify this parameter with @nrowsperpage.
SQL Web Assistant: The @blobfmt parameter specification is invalid.
SQL Web Assistant: @fixedfont must be 0 or 1.
SQL Web Assistant: @bold must be 0 or 1.
SQL Web Assistant: @italic must be 0 or 1.
SQL Web Assistant: @colheaders must be 0 or 1.
SQL Web Assistant: @lastupdated must be 0 or 1.
SQL Web Assistant: @HTMLheader must be in the range 1 to 6.
SQL Web Assistant: @whentype must be in the range 1 to 9.
SQL Web Assistant: @unittype must be in the range 1 to 4.
SQL Web Assistant: @targetdate is invalid. It must be a valid date after 1900-01-01.
SQL Web Assistant: The @targettime parameter must be between 0 and 240000.
SQL Web Assistant: @dayflags must be 1, 2, 4, 8, 16, 32, or 64.
SQL Web Assistant: @numunits must be greater than 0.
Cannot create %S_MSG on view '%.*ls' because its select list does not include a proper use of COUNT_BIG. Consider adding COUNT_BIG(*) to select list.
Cannot create %S_MSG on view "%.*ls" because it references common table expression "%.*ls". Views referencing common table expressions cannot be indexed. Consider not indexing the view, or removing the common table expression from the view definition
Cannot create %S_MSG on view "%.*ls" because it uses aggregate "%.*ls". Consider eliminating the aggregate, not indexing the view, or using alternate aggregates. For example, for AVG substitute SUM and COUNT_BIG, or for COUNT, substitute COUNT_BIG.
Cannot create %S_MSG on view "%.*ls" because it contains the DISTINCT keyword. Consider removing DISTINCT from the view or not indexing the view. Alternatively, consider replacing DISTINCT with GROUP BY or COUNT_BIG(*) to simulate DISTINCT on groupin
Ad hoc updates to system catalogs are not allowed.
CREATE FUNCTION failed because a column name is not specified for column %d.
An aggregate cannot appear in an ON clause unless it is in a subquery contained in a HAVING clause or select list, and the column being aggregated is an outer reference.
The target '%.*ls' of the OUTPUT INTO clause cannot be a view or common table expression.
The target table '%.*ls' of the OUTPUT INTO clause cannot have any enabled check constraints or any enabled rules. Found check constraint or rule '%ls'.
Only base table columns are allowed in the TEXTPTR function.
The compute by list does not match the order by list.
An aggregate may not appear in the WHERE clause unless it is in a subquery contained in a HAVING clause or a select list, and the column being aggregated is an outer reference.
A COMPUTE BY item was not found in the order by list. All expressions in the compute by list must also be present in the order by list.
Cannot create the clustered index "%.*ls" on view "%.*ls" because the view references an unknown value (SUM aggregate of nullable expression). Consider referencing only non-nullable values in SUM. ISNULL() may be useful for this.
In EXECUTE
, procname can only be a literal or variable of type char, varchar, nchar, or nvarchar.
The object '%.*ls' does not exist or is invalid for this operation.
Only UNIQUE or PRIMARY KEY constraints can be created on computed columns, while CHECK, FOREIGN KEY, and NOT NULL constraints require that computed columns be persisted.
Cannot create two constraints named '%.*ls'. Duplicate constraint names are not allowed.
'%.*ls' has fewer columns than were specified in the column list.
'%.*ls' has more columns than were specified in the column list.
The column '%.*ls' was specified multiple times for '%.*ls'.
No column was specified for column %d of '%.*ls'.
String or binary data would be truncated.
Both a PRIMARY KEY and UNIQUE constraint have been defined for column '%.*ls', table '%.*ls'. Only one is allowed.
Multiple NULL constraints were specified for column '%.*ls', table '%.*ls'.
Could not create IDENTITY attribute on nullable column '%.*ls', table '%.*ls'.
Procedure %.*ls has no parameters and arguments were supplied.
%.*ls is not a parameter for procedure %.*ls.
More than one key specified in column level %ls constraint, table '%.*ls'.
None of the result expressions in a CASE specification can be NULL.
Column '%.*ls.%.*ls' is invalid in the HAVING clause because it is not contained in either an aggregate function or the GROUP BY clause.
Column '%.*ls.%.*ls' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
Argument data type %ls is invalid for argument %d of %ls function.
Attempting to add multiple identity columns to table '%.*ls' using the SELECT INTO statement.
Cannot add identity column, using the SELECT INTO statement, to table '%.*ls', which already has column '%.*ls' that inherits the identity property.
'%.*ls' is not a user table. Cannot perform SET operation.
'%.*ls' does not contain an identity column.
The required parameter %.*ls was not specified.
Could not find server '%.*ls' in sys.servers. Verify that the correct server name was specified. If necessary, execute the stored procedure sp_addlinkedserver to add the server to sys.servers.
NULL textptr (text, ntext, or image pointer) passed to %ls function.
The offset and length specified in the READTEXT statement is greater than the actual data length of %ld.
Invalid text, ntext, or image pointer type. Must be binary(16).
The primary xml index '%.*ls' does not exist on table '%.*ls' column '%.*ls'.
Cannot create secondary xml index '%.*ls' without a USING XML INDEX clause.
'%.*ls' is not a valid XML Index name because it starts with '%c' character. XML Index name should not start with '#' or '@'
Could not create XML index on object '%.*ls' because that object is not a table.
Could not find %ls XML index named '%.*ls' on table '%.*ls'
Table '%.*ls' needs to have a clustered primary key with less than %d columns in it in order to create a primary XML index on it.
Primary XML Index '%.*ls' already exists on column '%.*ls' on table '%.*ls', and multiple Primary XML Indexes per column are not allowed.
Column '%.*ls' on table '%.*ls' is not of type XML, which is required to create an XML index on it.
KILL command cannot be used inside user transactions.
You do not have permission to run the RECONFIGURE statement.
Windowed functions do not support constants as ORDER BY clause expressions.
Windowed functions do not support integer indices as ORDER BY clause expressions.
Cannot create file '%ls' because it already exists. Change the file path or the file name, and retry the operation.
Directory lookup for the file "%ls" failed with the operating system error %ls.
A file activation error occurred. The physical file name '%.*ls' may be incorrect. Diagnose and correct additional errors, and retry the operation.
MAXSIZE cannot be less than SIZE for file '%ls'.
The %S_MSG '%.*ls' is dependent on %S_MSG '%.*ls'.
The option "%.*ls" conflicts with another requested option. The options cannot both be requested at the same time.
Option '%.*ls' cannot be set in database '%.*ls'.
Cannot have a filegroup with the name 'DEFAULT'.
MODIFY FILE failed. File '%.*ls' does not exist.
MODIFY FILE failed. Size is greater than MAXSIZE.
MODIFY FILE failed. Specified size is less than current size.
MODIFY FILE failed for file "%.*ls". At least one property per file must be specified.
The primary data or log file cannot be removed from a database.
The master and model databases cannot have files added to them. ALTER DATABASE was aborted.
One or more files listed in the statement could not be found or could not be initialized.
ALTER TABLE ALTER COLUMN DROP ROWGUIDCOL failed because a column does not exist in table '%.*ls' with ROWGUIDCOL property.
ALTER TABLE ALTER COLUMN ADD ROWGUIDCOL failed because a column already exists in table '%.*ls' with ROWGUIDCOL property.
%ls failed because column '%.*ls' does not exist in table '%.*ls'.
ALTER TABLE DROP COLUMN failed because '%.*ls' is the only data column in table '%.*ls'. A table must have at least one data column.
%ls %.*ls failed because one or more objects access this column.
ALTER TABLE only allows columns to be added that can contain nulls, or have a DEFAULT definition specified, or the column being added is an identity or timestamp column, or alternatively if none of the previous conditions are satisfied the table must
Cannot grant, deny or revoke permissions to or from special roles.
Grantor does not have GRANT permission.
Cannot schema bind %S_MSG '%.*ls' because name '%.*ls' is invalid for schema binding. Names must be in two-part format and an object cannot reference itself.
Create View or Function failed because no column name was specified for column %d.
Views or functions are not allowed on temporary tables. Table names that begin with '#' denote temporary tables.
View or function '%.*ls' is not updatable because the modification affects multiple base tables.
Cannot update the view or function "%.*ls" because it contains aggregates or a DISTINCT clause.
BACKUP LOG cannot be performed because there is no current database backup.
At least one of the arguments to COALESCE must be a typed NULL.
The function 'ntile' takes only a positive int or bigint expression as its input.
The newsequentialid() built-in function can only be used in a DEFAULT expression for a column of type 'uniqueidentifier' in a CREATE TABLE or ALTER TABLE statement. It cannot be combined with other operators to form a complex scalar expression.
The function '%.*ls' takes exactly %d argument(s).
"%.*ls" is not a valid windowing function, and cannot be used with the OVER clause.
The ranking function "%.*ls" must have an ORDER BY clause.
The CREATE SCHEMA statement should be followed by a name or authorization keyword.
Windowed functions cannot be used in the context of another windowed function or aggregate.
Windowed functions can only appear in the SELECT or ORDER BY clauses.
Cannot drop XML Index '%.*ls' using old 'Table.Index' syntax, use 'Index ON Table' syntax instead.
Cannot drop non-clustered index '%.*ls' using drop clustered index clause.
Cannot drop a clustered index created on a view using drop clustered index clause. Clustered index '%.*ls' is created on view '%.*ls'.
Only a clustered index can be dropped online.
Could not drop the primary key constraint '%.*ls' because the table has an XML index.
Cannot use DROP %ls with '%.*ls' because '%.*ls' is a %S_MSG. Use DROP %ls.
Cannot %S_MSG the %S_MSG '%.*ls', because it does not exist or you do not have permission.
BACKUP DATABASE cannot be used on a database opened in emergency mode.
Cannot access temporary tables from within a function.
The SELECT INTO statement cannot have same source and destination tables.
The ROWGUIDCOL property can only be specified on the uniqueidentifier data type.
SET DEADLOCK_PRIORITY option is invalid. Valid options are {HIGH | NORMAL | LOW | [%d ... %d] of type integer}.
Error severity levels greater than %d can only be specified by members of the sysadmin role, using the WITH LOG option.
Column or parameter #%d: Specified column precision %d is greater than the maximum precision of %d.
The text, ntext, and image data types are invalid for local variables.
Cannot create primary xml index '%.*ls' on '%.*ls' because PRIMARY KEY constraint contains column(s) of type timestamp.
Cannot schema bind %S_MSG '%.*ls' because it references system object '%.*ls'.
Column, parameter, or variable #%d: Cannot find data type %.*ls.
Column names in each table must be unique. Column name '%.*ls' in table '%.*ls' is specified more than once.
Cannot create procedure '%.*ls' with a group number of %d because a procedure with the same name and a group number of 1 does not currently exist in the database. Must execute CREATE PROCEDURE '%.*ls';1 first.
Violation of %ls constraint '%.*ls'. Cannot insert duplicate key in object '%.*ls'.
Cannot insert duplicate key row in object '%.*ls' with unique index '%.*ls'.
Parameter %d is incorrect for this DBCC statement.
The CONCAT_NULL_YIELDS_NULL option must be set to ON to run DBCC CHECKCONSTRAINTS.
Cannot find a table or object with the name "%.*ls". Check the system catalog.
Index hints cannot be specified within a schema-bound object.
The object '%.*ls' is not a procedure so you cannot create another procedure under that group name.
Procedure '%.*ls' has already been created with group number %d. Create procedure with an unused group number.
Procedures with a group number cannot have parameters of xml or sqlclr user defined types. Parameter '%.*ls' of procedure '%.*ls' has type '%ls'.
Cannot create index enforcing primary key constraint '%.*ls' using DROP_EXISTING option while table has an XML Index.
Cannot rebuild clustered index '%.*ls' online because it is disabled.
Could not create %S_MSG '%.*ls' on table '%.*ls'. Only XML Index can be created on XML column '%.*ls'.
Cannot perform the specified operation on disabled index '%.*ls' on %S_MSG '%.*ls'.
Cannot create an index on a view or computed column because the compatibility level of this database is less than 80. Use sp_dbcmptlevel to raise the compatibility level of the database.
Cannot create %S_MSG on view '%.*ls'. The function '%s' yields nondeterministic results. Use a deterministic system function, or modify the user-defined function to return deterministic results.
Cannot create %S_MSG on view "%.*ls". The view contains a self join on "%.*ls".
Cannot create nonunique clustered index on view '%.*ls' because only unique clustered indexes are allowed. Consider creating unique clustered index instead.
Cannot create %S_MSG on view '%.*ls'. It does not have a unique clustered index.
Cannot create %S_MSG on view '%.*ls' because the view is not schema bound.
Statistics cannot be created on object '%.*ls' because the object is not a user table or view.
There are already statistics on table '%.*ls' named '%.*ls'.
Cannot convert a clustered index to a nonclustered index by using the DROP_EXISTING option. To change the index type from clustered to nonclustered, delete the clustered index, and then create a nonclustered index by using two separate statements.
Invalid %S_MSG '%.*ls' specified.
Column '%.*ls' in table '%.*ls' is of a type that is invalid for use as a key column in an index.
Cannot create, rebuild or drop an index on a local temporary table online. Perform the index operation offline.
CREATE INDEX options %ls and %ls are mutually exclusive.
Cannot alter a non-unique index with ignore_dup_key index option. Index '%.*ls' is non-unique.
Index cannot be created on object '%.*ls' because the object is not a user table or view.
The operation failed because an index or statistics with name '%.*ls' already exists on %S_MSG '%.*ls'.
Column name '%.*ls' does not exist in the target table or view.