Apply To :
* Microsoft SQL Server 2008 R2
Warning Message :
"Msg 8134, Level 16, State 1, Line 1. Divide by zero error encountered."
Cari Blog Ini
Tampilkan postingan dengan label IT - SQL Server - Warning or Error. Tampilkan semua postingan
Tampilkan postingan dengan label IT - SQL Server - Warning or Error. Tampilkan semua postingan
20 Februari 2014
09 Desember 2013
Warning Database is In Use when Restore
Apply To :
* Microsoft SQL Server 2008 R2
Warning :
Msg 3101, Level 16, State 1, Server TEST, Line 1
* Microsoft SQL Server 2008 R2
Warning :
Msg 3101, Level 16, State 1, Server TEST, Line 1
Exclusive access could not be obtained because the database is in use.
Msg 3013, Level 16, State 1, Server TEST, Line 1
RESTORE DATABASE is terminating abnormally.
03 Oktober 2013
10 Juli 2013
05 Juli 2013
Rule "Microsoft.Net Application Security" Generated A Warning
Apply To :
* Microsoft SQL Server 2008 R2
* Windows Server 2008
Case :
* Microsoft SQL Server 2008 R2
* Windows Server 2008
Case :
When running installation of Microsoft SQL Server 2008 R2,
there is a rule warning, that generated below
04 April 2013
Unable Connect To Server or Failed When Login for User 'sa'
Apply To:
Microsoft SQL Server 2000
Problem:
* Could not login to SQL Server Query Analyzer using user login SA ( or System Administrator )
* Forget the password of user login SA
* Display warning
28 Maret 2013
Warning Must Declare The Scalar Variable
Apply To :
Microsoft SQL Server 2008 R2
Warning:
Must declare the scalar variable "@sql_1".
22 Februari 2013
Could not Replace Space Character in SQL Server
Apply to:
Microsoft SQL Server 2008 R2
Problem:
Could not Replace Space Character in SQL Server
Note:
Control character Value
* Tab = char(9)
* Line feed = char(10)
* Carriage return = char(13)
07 Januari 2013
26 Juli 2012
19 Juli 2012
The Backup Set On File 1 Is Valid with RESTORE VERIFYONLY Statement
When run this query:
/*-----code:start-----*/
RESTORE VERIFYONLY FROM DISK = 'D:\DB_Simulasi_20120717_1500.bak'
/*-----code:end-----*/
Result Messages:
It Means:
* File backup "DB_Simulasi_20120717_1500.bak" is ok.
/*-----code:start-----*/
RESTORE VERIFYONLY FROM DISK = 'D:\DB_Simulasi_20120717_1500.bak'
/*-----code:end-----*/
Result Messages:
The backup set on file 1 is valid.
It Means:
* File backup "DB_Simulasi_20120717_1500.bak" is ok.
Msg 3201, Level 16, State 2, Line 1 - Cannot open backup device When Run RESTORE VERIFYONLY Statement
When run this query:
/*-----code:start-----*/
RESTORE VERIFYONLY FROM DISK = 'D:\DB_Simulasi_20120717.bak'
/*-----code:end-----*/
Error Messages:
/*-----code:start-----*/
RESTORE VERIFYONLY FROM DISK = 'D:\DB_Simulasi_20120717.bak'
/*-----code:end-----*/
Error Messages:
Msg 3201, Level 16, State 2, Line 1Cannot open backup device
'D:\DB_Simulasi_20120717.bak'.Operating system error 2 (The system cannot find the file specified.).
Msg 3013, Level 16, State 1, Line 1
VERIFY DATABASE is terminating abnormally.
06 Juli 2012
Msg 15281: SQL Server blocked access to procedure 'dbo.sp_send_dbmail' of component 'Database Mail XPs'
Error Messages:
Note:
Use the Database Mail XPs option to enable Database Mail on this server.
The possible values are:
• 0 indicating Database Mail is not available (default).
• 1 indicating Database Mail is available.
Msg 15281, Level 16, State 1, Procedure sp_send_dbmail, Line 0
SQL Server blocked access to procedure 'dbo.sp_send_dbmail'
of component 'Database Mail XPs'
because this component is turned off
as part of the security configuration for this server.
A system administrator can enable the use of 'Database Mail XPs' by using sp_configure.
For more information about enabling 'Database Mail XPs',
see "Surface Area Configuration" in SQL Server Books Online.
Note:
Use the Database Mail XPs option to enable Database Mail on this server.
The possible values are:
• 0 indicating Database Mail is not available (default).
• 1 indicating Database Mail is available.
20 Juni 2012
OLE/DB Provider 'Microsoft.Jet.OLEDB.4.0' IDBInitialize::Initialize returned 0x80004005
Error Messages :
Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error.
The provider did not give any information about the error.
OLE DB error trace
[OLE/DB Provider 'Microsoft.Jet.OLEDB.4.0' IDBInitialize::Initialize returned 0x80004005:
The provider did not give any information about the error.].
* * * * *
OLE DB provider 'Microsoft.Jet.OLEDB.4.0' Supplied Invalid Metadata For Column
Error Messages :
OLE DB provider 'Microsoft.Jet.OLEDB.4.0' supplied invalid metadata for column 'KdCabang'.
The data type is not supported.
OLE DB error trace
[Non-interface error: Column 'KdCabang' (ordinal 1) of object
'SELECT KdCabang, Cabang FROM [Sheet1$]'
reported an unsupported value for DBTYPE of 0].
* * * * *
13 Juni 2012
Error SQL: Could not locate entry in sysdatabases
Error Messages :
Server: Msg 911, Level 16, State 1
[Microsoft][ODBC SQL Server Driver][SQL Server]
Could not locate entry in sysdatabases for database
‘HRD’.
No entry found with that name.
Make sure that the name is entered correctly.
ODBC SQLState: 420000 - RESTORE DATABASE is terminating abnormally
Error Messages:
Microsoft SQL-DMO (ODBC SQLState: 420000)
Exclusive access could not be obtained because the database is in use.
RESTORE DATABASE is terminating abnormally.
12 Juni 2012
“The system cannot find the file specified” When Using xp_cmdshell
Apply To :
Microsoft SQL Server 2000
Error Messages :
Microsoft SQL Server 2000
Error Messages :
The system cannot find the file specified. When using xp_cmdshell.
01 Juni 2012
Error Messages - Incompatible Server Version When Restore Database
Apply To :
Microsoft SQL Server 2008 R2
Error Messages :
Microsoft SQL Server 2008 R2
Error Messages :