Quantcast
Channel: SQL Server Database Engine forum
Viewing all 15264 articles
Browse latest View live

The conversion from date to BINARY is unsupported. ERROR

$
0
0

I try to query database, sometime it can query and sometimes it cannot

And It show error below

caused by: Unable to retrieve result from data source "xxxxxxx" during
    query execution.  Failed query: "SELECT

and then

Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The conversion from date to BINARY is unsupported.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)
at com.microsoft.sqlserver.jdbc.DataTypes.throwConversionError(DataTypes.java:1117)
at com.microsoft.sqlserver.jdbc.ServerDTVImpl.getValue(dtv.java:2481)
at com.microsoft.sqlserver.jdbc.DTV.getValue(dtv.java:193)
at com.microsoft.sqlserver.jdbc.Column.getValue(Column.java:132)
at com.microsoft.sqlserver.jdbc.SQLServerResultSet.getValue(SQLServerResultSet.java:2082)
at com.microsoft.sqlserver.jdbc.SQLServerResultSet.getValue(SQLServerResultSet.java:2067)
at com.microsoft.sqlserver.jdbc.SQLServerResultSet.getBytes(SQLServerResultSet.java:2218)
at com.compositesw.cdms.ds.jdbc.shunt.SqlServerRawDateShunt.jdbc2Value(SqlServerRawDateShunt.java:44)
at com.compositesw.cdms.ds.jdbc.JdbcConnectionTableCursor.next(JdbcConnectionTableCursor.java:214)
... 16 more

How can I fix it?

Thanks and Regard


Distributed Transaction using set remote_proc_transactions, sp_addserver and sp_addlinked server

$
0
0
Moving a server from SQL 2000 to SQL 2008, and within a proc there are a number of remote server references. I added a new linked server from the old  to the newer 2008 sql server to replace these and have come across a distributed query. It is coded as such:

<do a bunch of sql then...>
set remote_proc_transactions ON
execute remoteserver1.database1.dbo.updatestoredproc1
<do a bunch more sql.

It does not use an explicit Begin Distributed Transaction anywhere in the code and does no error checking. It seems to be due to how the remote server was created where SQL Server will automatically enlist a transaction in a distributed transaction. I have DTC set up and running on both machines and when I use the remote server that has the setting "isremote" = 1, it does create a distributed transaction across the servers. When I use the new linked server that has a setting "isremote" = 0, it does not create and use a distributed transaction. I can get the new linked server to do the same behave the same way if I use a "begin distributed transaction" and add some error checking, but I do not want to change any code more code than necessary at this point. My question is how do I create a new remote server or script out the existing one from the old machine? The only way i see to do this is by accessing under Server Objects >>Linked servers but doing so creates a script using sp_addlinkedserver. I have also seen an article that here that explains this behavior and  found that the microsoft doc indicates not to use sp_addserver to add a remote server any more, use sp_addlinkedserver here. When I look at the SQL 2000 Enterprise Manager, I see under Security there is a Linked Servers and a Remote Servers group. The strange thing here is this server used in the existing distributed transaction shows up under Linked Servers, not Remote servers, but again it has the "isremote" = 1, and all the other servers that are in the Linked Servers group have the "isremote" = 0 setting.

Thanks for any insight here.

Query store query duration and waittime

$
0
0

Hi All.

1.Is it possible to have waittime > than duration in a single query ?

2. Query 533 not showing in  grid format "details", but only in other grid format

3. and the query shown unknow waittime. what's that ?

Surprise: deadlock only when using 1 of 3 detection mechanisms

$
0
0

The 3 methods were:
1. sp_who and sp_who2
2. trace flags 1204 and 1222
3. profiler, selecting certain lock items

Per method 1, re-running the statement repeatedly, I could see the deadlock lasted at least 15 seconds. However methods 2 and 3 did not return anything.

Why not?


-Tom. Microsoft Access MVP

SSDT 2016 installation Error

$
0
0

Hi Folks,

I am trying to install SSDT 2016 for SQL Server 2016 Standard Edition but getting below error, Can anyone help me out to resolve this issue.

[0BB4:0704][2018-08-22T07:00:09]: Burn v3.6.3542.0, Windows v6.3 (Build 9600: Service Pack 0), path: L:\Software\SSDTSetup--for SQL Server2016.exe, cmdline: '-burn.unelevated BurnPipe.{E5A47CB4-981F-45A5-8778-AE6EBAAB2DB1} {ABD30E78-5793-48D3-82B9-15A9287D3EB7} 6864'
[0BB4:0704][2018-08-22T07:00:09]: Initializing numeric variable 'InstallLanguage' to value '1033'
[0BB4:0704][2018-08-22T07:00:09]: Initializing numeric variable 'EnglishLanguage' to value '1033'
[0BB4:0704][2018-08-22T07:00:09]: Initializing numeric variable 'INSTALLINTEGRATEDSHELL' to value '1'
[0BB4:0704][2018-08-22T07:00:09]: Initializing numeric variable 'INSTALLAS' to value '0'
[0BB4:0704][2018-08-22T07:00:09]: Initializing numeric variable 'INSTALLRS' to value '0'
[0BB4:0704][2018-08-22T07:00:09]: Initializing numeric variable 'INSTALLIS' to value '0'
[0BB4:0704][2018-08-22T07:00:09]: Initializing numeric variable 'INSTALLALL' to value '0'
[0BB4:0704][2018-08-22T07:00:09]: Initializing numeric variable 'SKIPENVIRONMENTSETUP' to value '0'
[0BB4:0704][2018-08-22T07:00:09]: Initializing numeric variable 'INSTALLSHORTCUT' to value '1'
[0BB4:0704][2018-08-22T07:00:09]: Initializing numeric variable 'TELEMETRYOPTIN' to value '1'
[0BB4:0704][2018-08-22T07:00:09]: Setting string variable 'WixBundleLog' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009.log'
[0BB4:0704][2018-08-22T07:00:09]: Setting string variable 'WixBundleOriginalSource' to value 'L:\Software\SSDTSetup--for SQL Server2016.exe'
[0BB4:0704][2018-08-22T07:00:09]: Setting string variable 'WixBundleName' to value 'Microsoft SQL Server Data Tools - Visual Studio 2015'
[0BB4:0520][2018-08-22T07:00:09]: Ignoring unknown argument: ignored
[0BB4:0704][2018-08-22T07:00:10]: Detect 43 packages
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'devenv_DetectKey' to value '1'
[0BB4:0704][2018-08-22T07:00:10]: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\VS\Servicing\14.0\premium'
[0BB4:0704][2018-08-22T07:00:10]: Setting numeric variable 'DEVENV_PROPLUS' to value 0
[0BB4:0704][2018-08-22T07:00:10]: Condition 'NOT DEVENV_PROPLUS' evaluates to true.
[0BB4:0704][2018-08-22T07:00:10]: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\VS\Servicing\14.0\professional'
[0BB4:0704][2018-08-22T07:00:10]: Setting numeric variable 'DEVENV_PROPLUS' to value 0
[0BB4:0704][2018-08-22T07:00:10]: Condition 'NOT DEVENV_PROPLUS' evaluates to true.
[0BB4:0704][2018-08-22T07:00:10]: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\VS\Servicing\14.0\enterprise'
[0BB4:0704][2018-08-22T07:00:10]: Setting numeric variable 'DEVENV_PROPLUS' to value 0
[0BB4:0704][2018-08-22T07:00:10]: Condition 'NOT DEVENV_PROPLUS' evaluates to true.
[0BB4:0704][2018-08-22T07:00:10]: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\VS\Servicing\14.0\community'
[0BB4:0704][2018-08-22T07:00:10]: Setting numeric variable 'DEVENV_PROPLUS' to value 0
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'devenvLang_DetectKey' to value '1'
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'intShellLPInstall_DetectKey' to value '1'
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'isoShellInstall_DetectKey' to value '1'
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'isoShellLPInstall_DetectKey' to value '1'
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'netfxfullredist_64_DetectKey' to value '4.6.01586'
[0BB4:0704][2018-08-22T07:00:10]: Setting numeric variable 'netfxfullredist_64_DetectKeyExists' to value 1
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'netfxfullredist_DetectKey' to value '4.6.01586'
[0BB4:0704][2018-08-22T07:00:10]: Setting numeric variable 'netfxfullredist_DetectKeyExists' to value 1
[0BB4:0704][2018-08-22T07:00:10]: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vs\Servicing\14.0\professional'
[0BB4:0704][2018-08-22T07:00:10]: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vs\Servicing\14.0\professional\1033'
[0BB4:0704][2018-08-22T07:00:10]: Registry key not found. Key = 'SOFTWARE\Microsoft\VWDExpress\14.0'
[0BB4:0704][2018-08-22T07:00:10]: File search: SearchForVWDEXPRESS_IDE_File, did not find path: \VWDExpress.exe
[0BB4:0704][2018-08-22T07:00:10]: Setting numeric variable 'VWDEXPRESS_IDE_FILE' to value 0
[0BB4:0704][2018-08-22T07:00:10]: Registry key not found. Key = 'SOFTWARE\Microsoft\WDExpress\14.0'
[0BB4:0704][2018-08-22T07:00:10]: File search: SearchForWDEXPRESS_IDE_File, did not find path: \WDExpress.exe
[0BB4:0704][2018-08-22T07:00:10]: Setting numeric variable 'WDEXPRESS_IDE_FILE' to value 0
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'SSASInstalledState' to value ''
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'SSISInstalledState' to value ''
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'SSRSInstalledState' to value ''
[0BB4:0704][2018-08-22T07:00:10]: Registry key not found. Key = 'Software\Microsoft\VisualStudio\10.0\VC\Runtimes\x86'
[0BB4:0704][2018-08-22T07:00:10]: Setting numeric variable 'VSDEVENV' to value 1
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'netfxfullredist_LangPack_Release_DetectKey' to value '394802'
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'netfxclientredist_Release_DetectKey' to value '394802'
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'netfxclientredist_LangPack_Release_DetectKey' to value '394802'
[0BB4:0704][2018-08-22T07:00:10]: Registry key not found. Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~amd64~~6.3.1.14'
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'netfxfullredist_Release_DetectKey' to value '394802'
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'netfxclientredist_64_Release_DetectKey' to value '394802'
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'netfxfullredist_64_Release_DetectKey' to value '394802'
[0BB4:0704][2018-08-22T07:00:10]: Registry key not found. Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~x86~~6.3.1.14'
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'netfxclientredist_64_LangPack_Release_DetectKey' to value '394802'
[0BB4:0704][2018-08-22T07:00:10]: Setting string variable 'netfxfullredist_64_LangPack_Release_DetectKey' to value '394802'
[0BB4:0704][2018-08-22T07:00:10]: Setting numeric variable 'BootstrapperAction' to value 4
[0BB4:0704][2018-08-22T07:00:10]: Condition 'RebootPending = 0' evaluates to true.
[0BB4:0704][2018-08-22T07:00:10]: Condition '(NOT((proplus_DetectKey) AND (NOT(proplusLang_DetectKey))))' evaluates to true.
[0BB4:0704][2018-08-22T07:00:10]: Condition '((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1))' evaluates to true.
[0BB4:0704][2018-08-22T07:00:10]: Condition '(netfxfullredist_DetectKeyExists AND netfxfullredist_DetectKey = v4.0.30319)' evaluates to false.
[0BB4:0704][2018-08-22T07:00:10]: Detected partially cached package: DEV14ISOSHELL, invalid payload: DEV14ISOSHELL, reason: 0x80070570
[0BB4:0704][2018-08-22T07:00:10]: Condition '(isoShellInstall_DetectKey = 1)' evaluates to true.
[0BB4:0704][2018-08-22T07:00:10]: Condition '(isoShellLPInstall_DetectKey = 1) OR (InstallLanguage = EnglishLanguage)' evaluates to true.
[0BB4:0704][2018-08-22T07:00:10]: Condition '(devenv_DetectKey = 1)' evaluates to true.
[0BB4:0704][2018-08-22T07:00:10]: Condition '(intShellLPInstall_DetectKey = 1) OR (InstallLanguage = EnglishLanguage)' evaluates to true.
[0BB4:0704][2018-08-22T07:00:10]: Condition '((netfxfullredist_Release_DetectKey >= 394256) OR (netfxfullredist_64_Release_DetectKey >= 394256) OR (netfxclientredist_Release_DetectKey >= 394256) OR (netfxclientredist_64_Release_DetectKey >= 394256))' evaluates to true.
[0BB4:0704][2018-08-22T07:00:10]: Condition '(InstallLanguage = EnglishLanguage) OR ((netfxfullredist_LangPack_Release_DetectKey >= 394256) OR (netfxfullredist_64_LangPack_Release_DetectKey >= 394256) OR (netfxclientredist_LangPack_Release_DetectKey >= 394256) OR (netfxclientredist_64_LangPack_Release_DetectKey >= 394256))' evaluates to true.
[0BB4:0704][2018-08-22T07:00:10]: Detected partially cached package: adalsql13X64, invalid payload: adalsql13X64, reason: 0x80070570
[0BB4:0704][2018-08-22T07:00:10]: Detected related package: {C78CC1C8-D0DF-4F47-BA93-F3AE6E80E047}, scope: PerMachine, version: 13.1.4001.0, language: 0 operation: Downgrade
[0BB4:0704][2018-08-22T07:00:10]: Detected partially cached package: VSTASetup2015, invalid payload: VSTASetup2015, reason: 0x80070570
[0BB4:0704][2018-08-22T07:00:10]: Condition '(VCRedist2010Key = 1)' evaluates to false.
[0BB4:0704][2018-08-22T07:00:10]: Detected package: DEV14ISOSHELL, state: Present, cached: Partial
[0BB4:0704][2018-08-22T07:00:10]: Detected package: DEV14ISOSHELLLP, state: Present, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: DEV14INTSHELLADDITIONAL, state: Present, cached: Complete
[0BB4:0704][2018-08-22T07:00:10]: Detected package: DEV14INTSHELLADDITIONALLP, state: Present, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: DotNet46, state: Present, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: DotNet46LangPack, state: Present, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: adalsql13X86, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: adalsql13X64, state: Present, cached: Partial
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLDOM13X86, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLDOM13X64, state: Obsolete, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: TSQLLANGSVC13X86, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: TSQLLANGSVC13X64, state: Present, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLLOCALDBX64, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLLOCALDBX32, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLCLRTYPES13X86, state: Present, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLCLRTYPES13X64, state: Present, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLSMO13X86, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLSMO13X64, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLNCLIX86, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLNCLIX64, state: Present, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SSDTEXTERNALS13, state: Present, cached: Complete
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SSDT14, state: Present, cached: Complete
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLASADOMD, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLASOLEDB, state: Present, cached: Complete
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLASOLEDBX64, state: Present, cached: Complete
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SQLAMO, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: CommonAzureTools, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: CommonAzureTools.Lang, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: CommonAzureTools.VwdExpress, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: CommonAzureTools.VwdExpress.Lang, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: CommonAzureTools.WdExpress, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: CommonAzureTools.WdExpress.Lang, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: VSTALS2015, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: VSTASetup2015, state: Absent, cached: Partial
[0BB4:0704][2018-08-22T07:00:10]: Detected package: VCRedist2010, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SSISOneDesigner2012, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SSISOneDesigner2014, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: AMO2012, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: AMO2014, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SSDTAS, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SSDTRS, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SSDTIS, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detected package: SSDTPOSTINSTALL, state: Absent, cached: None
[0BB4:0704][2018-08-22T07:00:10]: Detect complete, result: 0x0
[0BB4:0520][2018-08-22T07:00:14]: Setting numeric variable 'INSTALLAS' to value 1
[0BB4:0520][2018-08-22T07:00:14]: Setting numeric variable 'INSTALLRS' to value 1
[0BB4:0520][2018-08-22T07:00:14]: Setting numeric variable 'INSTALLIS' to value 1
[0BB4:0704][2018-08-22T07:00:16]: Plan 43 packages, action: Install
[0BB4:0704][2018-08-22T07:00:16]: Condition '(INSTALLINTEGRATEDSHELL = 1) AND ((NOT(isoShellInstall_DetectKey)) AND (NOT(devenv_DetectKey)))' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Skipping dependency registration on package with no dependency providers: DEV14ISOSHELL
[0BB4:0704][2018-08-22T07:00:16]: Condition '(INSTALLINTEGRATEDSHELL = 1) AND ((NOT(isoShellLPInstall_DetectKey)) AND (NOT(devenvLang_DetectKey)))' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Skipping dependency registration on package with no dependency providers: DEV14ISOSHELLLP
[0BB4:0704][2018-08-22T07:00:16]: Condition '(INSTALLINTEGRATEDSHELL = 1) AND (NOT(devenv_DetectKey))' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Skipping dependency registration on package with no dependency providers: DEV14INTSHELLADDITIONAL
[0BB4:0704][2018-08-22T07:00:16]: Condition '(INSTALLINTEGRATEDSHELL = 1) AND (NOT(devenvLang_DetectKey))' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Skipping dependency registration on package with no dependency providers: DEV14INTSHELLADDITIONALLP
[0BB4:0704][2018-08-22T07:00:16]: Skipping dependency registration on package with no dependency providers: DotNet46
[0BB4:0704][2018-08-22T07:00:16]: Skipping dependency registration on package with no dependency providers: DotNet46LangPack
[0BB4:0704][2018-08-22T07:00:16]: Condition '((NOT VersionNT64) AND ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1)))' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Condition '(VersionNT64 AND ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1)))' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Condition '((NOT VersionNT64) AND ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1)))' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Condition '((NOT VersionNT64) AND ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1)))' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Condition '(VersionNT64 AND ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1)))' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Condition '(VersionNT64 AND ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1)))' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_SQLLOCALDBX64' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_0_SQLLOCALDBX64.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition '((NOT VersionNT64) AND ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1))) AND NOT (VersionNT64 AND ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1)))' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Condition '((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1))' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Condition '(VersionNT64 AND ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1)))' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Condition '((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1))' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_SQLSMO13X86' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_1_SQLSMO13X86.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition '(VersionNT64 AND ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1)))' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_SQLSMO13X64' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_2_SQLSMO13X64.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition '((NOT VersionNT64) AND ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1))) AND (INSTALLIS = 1 OR INSTALLALL = 1)' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Condition '(VersionNT64 AND ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1))) AND (INSTALLIS = 1 OR INSTALLALL = 1)' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Condition 'INSTALLRS = 1 OR INSTALLAS = 1 OR INSTALLALL = 1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_SQLASADOMD' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_3_SQLASADOMD.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition 'INSTALLRS = 1 OR INSTALLAS = 1 OR INSTALLIS = 1 OR INSTALLALL = 1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Condition '(VersionNT64 AND ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT > v6.1))) AND (INSTALLRS = 1 OR INSTALLAS = 1 OR INSTALLIS = 1 OR INSTALLALL = 1)' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Condition 'INSTALLAS = 1 OR INSTALLIS = 1 OR INSTALLALL = 1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_SQLAMO' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_4_SQLAMO.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition 'VSDEVENV AND DEVENV_PROPLUS' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Condition 'VSDEVENV AND DEVENV_PROPLUS AND NOT(InstallLanguage = EnglishLanguage)' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Condition 'VWDEXPRESS_IDE_FILE' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Condition 'VWDEXPRESS_IDE_FILE AND NOT(InstallLanguage = EnglishLanguage)' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Condition 'WDEXPRESS_IDE_FILE' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Condition 'WDEXPRESS_IDE_FILE AND NOT(InstallLanguage = EnglishLanguage)' evaluates to false.
[0BB4:0704][2018-08-22T07:00:16]: Condition 'INSTALLIS = 1 OR INSTALLALL = 1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Skipping dependency registration on package with no dependency providers: VSTALS2015
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_VSTALS2015' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_5_VSTALS2015.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition 'INSTALLIS = 1 OR INSTALLALL = 1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Skipping dependency registration on package with no dependency providers: VSTASetup2015
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_VSTASetup2015' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_6_VSTASetup2015.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition 'INSTALLIS = 1 OR INSTALLALL = 1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Skipping dependency registration on package with no dependency providers: VCRedist2010
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_VCRedist2010' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_7_VCRedist2010.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition 'INSTALLIS = 1 OR INSTALLALL = 1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleRollbackLog_SSISOneDesigner2012' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_8_SSISOneDesigner2012_rollback.log'
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_SSISOneDesigner2012' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_8_SSISOneDesigner2012.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition 'INSTALLIS = 1 OR INSTALLALL = 1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleRollbackLog_SSISOneDesigner2014' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_9_SSISOneDesigner2014_rollback.log'
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_SSISOneDesigner2014' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_9_SSISOneDesigner2014.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition 'INSTALLIS = 1  OR INSTALLALL = 1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleRollbackLog_AMO2012' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_10_AMO2012_rollback.log'
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_AMO2012' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_10_AMO2012.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition 'INSTALLIS = 1  OR INSTALLALL = 1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleRollbackLog_AMO2014' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_11_AMO2014_rollback.log'
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_AMO2014' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_11_AMO2014.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition 'INSTALLAS = 1 OR INSTALLALL = 1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleRollbackLog_SSDTAS' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_12_SSDTAS_rollback.log'
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_SSDTAS' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_12_SSDTAS.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition 'INSTALLRS = 1 OR INSTALLALL = 1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleRollbackLog_SSDTRS' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_13_SSDTRS_rollback.log'
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_SSDTRS' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_13_SSDTRS.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition 'INSTALLIS = 1 OR INSTALLALL = 1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleRollbackLog_SSDTIS' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_14_SSDTIS_rollback.log'
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_SSDTIS' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_14_SSDTIS.log'
[0BB4:0704][2018-08-22T07:00:16]: Condition '1' evaluates to true.
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleRollbackLog_SSDTPOSTINSTALL' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_15_SSDTPOSTINSTALL_rollback.log'
[0BB4:0704][2018-08-22T07:00:16]: Setting string variable 'WixBundleLog_SSDTPOSTINSTALL' to value 'C:\Users\yashwant.v\AppData\Local\Temp\sql_SSDT_1400_20180822070009_15_SSDTPOSTINSTALL.log'
[0BB4:0704][2018-08-22T07:00:16]: Planned package: DEV14ISOSHELL, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: DEV14ISOSHELLLP, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: DEV14INTSHELLADDITIONAL, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: DEV14INTSHELLADDITIONALLP, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: DotNet46, state: Present, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: DotNet46LangPack, state: Present, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: adalsql13X86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: adalsql13X64, state: Present, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLDOM13X86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLDOM13X64, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: TSQLLANGSVC13X86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: TSQLLANGSVC13X64, state: Present, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLLOCALDBX64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: Register
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLLOCALDBX32, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLCLRTYPES13X86, state: Present, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLCLRTYPES13X64, state: Present, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLSMO13X86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: Register
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLSMO13X64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: Register
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLNCLIX86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLNCLIX64, state: Present, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SSDTEXTERNALS13, state: Present, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SSDT14, state: Present, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLASADOMD, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: Register
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLASOLEDB, state: Present, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLASOLEDBX64, state: Present, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SQLAMO, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: Register
[0BB4:0704][2018-08-22T07:00:16]: Planned package: CommonAzureTools, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: CommonAzureTools.Lang, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: CommonAzureTools.VwdExpress, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: CommonAzureTools.VwdExpress.Lang, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: CommonAzureTools.WdExpress, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: CommonAzureTools.WdExpress.Lang, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: VSTALS2015, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: VSTASetup2015, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: VCRedist2010, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SSISOneDesigner2012, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SSISOneDesigner2014, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0BB4:0704][2018-08-22T07:00:16]: Planned package: AMO2012, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0BB4:0704][2018-08-22T07:00:16]: Planned package: AMO2014, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SSDTAS, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SSDTRS, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SSDTIS, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0BB4:0704][2018-08-22T07:00:16]: Planned package: SSDTPOSTINSTALL, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0BB4:0704][2018-08-22T07:00:16]: Plan complete, result: 0x0
[0BB4:0704][2018-08-22T07:00:16]: Apply begin
[1AD0:0608][2018-08-22T07:00:17]: Creating a system restore point.
[1AD0:0608][2018-08-22T07:00:17]: System restore disabled, system restore point not created.
[1AD0:0608][2018-08-22T07:00:17]: Caching bundle from: 'C:\Users\yashwant\AppData\Local\Temp\{36239e0f-231f-49d5-a687-0ea260558484}\.be\SSDTSetup.exe' to: 'C:\ProgramData\Package Cache\{36239e0f-231f-49d5-a687-0ea260558484}\SSDTSetup.exe'
[1AD0:0608][2018-08-22T07:00:17]: Registering bundle dependency provider: {36239e0f-231f-49d5-a687-0ea260558484}, version: 14.0.61021.0
[0BB4:1D2C][2018-08-22T07:00:17]: Prompt for source of package: SQLLOCALDBX64, payload: SQLLOCALDBX64, path: L:\Software\payload\x64\SqlLocalDB.msi
[0BB4:1D2C][2018-08-22T07:00:17]: Acquiring package: SQLLOCALDBX64, payload: SQLLOCALDBX64, download from: https://go.microsoft.com/fwlink/?LinkId=824665&clcid=0x409
[1AD0:05BC][2018-08-22T07:00:21]: Verified acquired payload: SQLLOCALDBX64 at path: C:\ProgramData\Package Cache\.unverified\SQLLOCALDBX64, moving to: C:\ProgramData\Package Cache\{9B5F46D7-66AE-4796-B563-CA909FE87D4B}v13.0.2151.0\payload\x64\SqlLocalDB.msi.
[0BB4:1D2C][2018-08-22T07:00:21]: Prompt for source of package: SQLSMO13X86, payload: SQLSMO13X86, path: L:\Software\payload\x86\SharedManagementObjects.msi
[0BB4:1D2C][2018-08-22T07:00:21]: Acquiring package: SQLSMO13X86, payload: SQLSMO13X86, download from: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:21]: Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:21]: Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:21]: Error 0x80072f08: Failed to connect to URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:21]: Error 0x80072f08: Failed to get size and time for URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:21]: Error 0x80072f08: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409' to: 'C:\Users\yashwant\AppData\Local\Temp\{36239e0f-231f-49d5-a687-0ea260558484}\SQLSMO13X86'
[0BB4:1D2C][2018-08-22T07:00:21]: Prompt for source of package: SQLSMO13X86, payload: SQLSMO13X86, path: L:\Software\payload\x86\SharedManagementObjects.msi
[0BB4:1D2C][2018-08-22T07:00:24]: Acquiring package: SQLSMO13X86, payload: SQLSMO13X86, download from: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:24]: Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:24]: Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:24]: Error 0x80072f08: Failed to connect to URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:24]: Error 0x80072f08: Failed to get size and time for URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:24]: Error 0x80072f08: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409' to: 'C:\Users\yashwant\AppData\Local\Temp\{36239e0f-231f-49d5-a687-0ea260558484}\SQLSMO13X86'
[0BB4:1D2C][2018-08-22T07:00:24]: Prompt for source of package: SQLSMO13X86, payload: SQLSMO13X86, path: L:\Software\payload\x86\SharedManagementObjects.msi
[0BB4:1D2C][2018-08-22T07:00:27]: Acquiring package: SQLSMO13X86, payload: SQLSMO13X86, download from: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:27]: Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:27]: Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:27]: Error 0x80072f08: Failed to connect to URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:27]: Error 0x80072f08: Failed to get size and time for URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:27]: Error 0x80072f08: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409' to: 'C:\Users\yashwant\AppData\Local\Temp\{36239e0f-231f-49d5-a687-0ea260558484}\SQLSMO13X86'
[0BB4:1D2C][2018-08-22T07:00:27]: Prompt for source of package: SQLSMO13X86, payload: SQLSMO13X86, path: L:\Software\payload\x86\SharedManagementObjects.msi
[0BB4:1D2C][2018-08-22T07:00:30]: Acquiring package: SQLSMO13X86, payload: SQLSMO13X86, download from: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:30]: Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:30]: Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:30]: Error 0x80072f08: Failed to connect to URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:30]: Error 0x80072f08: Failed to get size and time for URL: https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409
[0BB4:1D2C][2018-08-22T07:00:30]: Error 0x80072f08: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409' to: 'C:\Users\yashwant.v\AppData\Local\Temp\{36239e0f-231f-49d5-a687-0ea260558484}\SQLSMO13X86'
[0BB4:1D2C][2018-08-22T07:00:30]: Error 0x80072f08: Failed to acquire payload from: 'https://go.microsoft.com/fwlink/?LinkId=817265&clcid=0x409' to working path: 'C:\Users\yashwant\AppData\Local\Temp\{36239e0f-231f-49d5-a687-0ea260558484}\SQLSMO13X86'
[0BB4:1D2C][2018-08-22T07:00:30]: Failed to acquire payload: SQLSMO13X86 to working path: C:\Users\yashwant.v\AppData\Local\Temp\{36239e0f-231f-49d5-a687-0ea260558484}\SQLSMO13X86, error: 0x80072f08.
[1AD0:05BC][2018-08-22T07:00:30]: Removing cached package: SQLLOCALDBX64, from path: C:\ProgramData\Package Cache\{9B5F46D7-66AE-4796-B563-CA909FE87D4B}v13.0.2151.0\
[0BB4:0704][2018-08-22T07:00:30]: Error 0x80072f08: Failed while caching, aborting execution.
[1AD0:0608][2018-08-22T07:00:30]: Removed bundle dependency provider: {36239e0f-231f-49d5-a687-0ea260558484}
[1AD0:0608][2018-08-22T07:00:30]: Removing cached bundle: {36239e0f-231f-49d5-a687-0ea260558484}, from path: C:\ProgramData\Package Cache\{36239e0f-231f-49d5-a687-0ea260558484}\
[0BB4:0704][2018-08-22T07:00:30]: Apply complete, result: 0x80072f08, restart: None, ba requested restart:  No

Check which column is Always encrypted

$
0
0

1. how to check which column is always encrypted ? use dmv ?

2. How to disable the encryption of the column and delete the master and column key ?

Deadlocks only seen using 1 of 3 methods

$
0
0

SQL Server 2016.

I checked for deadlocks 3 ways:

  1. Sp_who
  2. Turn on trace flags 1204 and 1222, then check sql server log
  3. Profiler, with certain lock options selected

When rapidly executing sp_who I would see the deadlock for at least 15 seconds.

Options 2 and 3 recorded nothing.

Why is that?



-Tom. Microsoft Access MVP

Where to download Sybase OLEDB Provider 64-bit

$
0
0

Hi Experts,

 Please let me knowW, Where to download Sybase OLEDB Provider 64-bit for Sql server.


Vinai Kumar Gandla


Need one DR to all Less critical applications !!

$
0
0

Hi Experts,

We need your advise to incorporate DR to our less critical database servers.

We have DR configured for Mission critical and Business critical database servers. However, customer requested to check for possible options to configure one DR server for our 6 Less critical DB servers (4-MSSQL 2012 and 2-MSSQL 2008 R2).So please advise, what is the best option from DB front to provide solution for this approach ?

Log shipping came to my mind for this approach,But i'm skeptical on DB performance for frequent log backup in primary server. So please advise on this.

Many thanks in advance !!

Regards,

Narendar Poosa



Narendar Poosa

Database Corruption caused by CHECKDB?

$
0
0

Hi,

We had an incident last week where our main database somehow encountered extensive corruption across multiple tables. We know the window during which this happened and there are only 3 things can think of that may be related:

1) Scheduled job to run CHECKDB (including indexes, do not automatically repair) job was stopped and SQL Server Agent taken offline
2) Error logs were shrunk for database
3) SCSI bus fault error noted on machine which "may result in downshift" according to event viewer

My question is, if CHECKDB is forcibly stopped during execution, can it actually lead to corruption of the database. I am sceptical as the option to repair corruption was not included so I would expect it to be a passive job and I have seen articles online saying CHECKDB will rollback if someone attempts to stop it.

Many thanks

deadlock, vendor's application, what is the normal process in your environment

$
0
0

SQL2008R2, DB compatible level 100 (sql2008 no R2) deadlock log posted in the reply to myself

I have a vendor's application got user's complaints slow and deadlock can be found all the day. There are many sessions waiting for an interface session which normally runs long time. (query will be shown below), during the waiting, one of the waiting sessions usually holds a key which blocks the interface session, causing deadlock. for example, seven sessions waited the interface 5 seconds, then interface requires a key lock owned by one of the waiting session, after 2 seconds, one becomes victim.

I provided vendor all the queries related and deadlock info, however, they are not able to find in their code and how to resolve it. 

in this senario, what is the normal process, to help resolve this  for example tuning the query in adviser, creating some indexes, increase memory, etc make it run faster to reduce the chance of being blocked or deadlocked. is there a way to find the whole code including the Begin transaction( I believe there is as there are 2 open transaction in the interface session) statement until the commit or rollback statement?

Since SQL profiler affects performance and we don't know the deadlock or blocking will happen, I don't like to use it. 

Does the Extend event can trap the statement start of a begin transaction statement? 

I created a job to trigger capture all the blocking queries and waiting queries sessions info but once the blocking happened and Begin transaction statement already run ,never caught in my script result.

any idea?

fyi, the interface session was running when deadlocking happened:

"<?query --
(@000_pfBed_SortOrder_20 int,@001_pfBed_IsDeleted_20 bit,@002_pfBed_Id_20 uniqueidentifier,@TimeStamp_20 varbinary(8),@000_pfBedLanguageValue_Name_21 nvarchar(9),@001_pfBedLanguageValue_Description_21 nvarchar(4000),@002_pfBedLanguageValue_BedId_21 uniqueidentifier,@003_pfBedLanguageValue_Locale_21 nvarchar(2),@Id_22 uniqueidentifier,@BedId_22 uniqueidentifier,@LocationId_22 uniqueidentifier,@IsCurrentTransition_22 bit,@IsDirty_22 bit,@IsStaffed_22 bit,@IsHoldingBed_22 bit,@IsInfected_22 bit,@BedStatusId_22 uniqueidentifier,@AccommodationTypeId_22 uniqueidentifier,@IsBedReady_22 bit,@IsOverflow_22 bit,@IsBassinet_22 bit,@IsFallRisk_22 bit,@PrimaryIsolationId_22 nvarchar(4000),@SecondaryIsolationId_22 nvarchar(4000),@Gender_22 nvarchar(1),@Code_22 nvarchar(1),@LastUpdatedDateTime_22 datetime,@LastUpdatedPersonId_22 uniqueidentifier,@000_pfBedCache_SortOrder_23 int,@001_pfBedCache_TransitionId_23 uniqueidentifier,@002_pfBedCache_LocationId_23 uniqueidentifier,@003_pfBedCache_BedStatusId_23 uniqueidentifier,@004_pfBedCache_IsDirty_23 bit,@005_pfBedCache_IsStaffed_23 bit,@006_pfBedCache_IsHolding_23 bit,@007_pfBedCache_IsOverflow_23 bit,@008_pfBedCache_IsInfected_23 bit,@009_pfBedCache_IsBassinet_23 bit,@010_pfBedCache_IsFallRisk_23 bit,@011_pfBedCache_IsBedReady_23 bit,@012_pfBedCache_AccommodationTypeId_23 uniqueidentifier,@013_pfBedCache_PrimaryIsolationId_23 nvarchar(4000),@014_pfBedCache_SecondaryIsolationId_23 nvarchar(4000),@015_pfBedCache_ProgramServices_23 nvarchar(4000),@016_pfBedCache_Gender_23 nvarchar(1),@017_pfBedCache_Code_23 nvarchar(1),@018_pfBedCache_DesignationIds_23 nvarchar(4000),@019_pfBedCache_Designations_23 nvarchar(4000),@020_pfBedCache_Name_23 nvarchar(9),@021_pfBedCache_Description_23 nvarchar(4000),@022_pfBedCache_LastUpdatedDateTime_23 datetime,@023_pfBedCache_Id_23 uniqueidentifier,@024_pfBedCache_Locale_23 nvarchar(2),@000_pfBedCache_SortOrder_24 int,@001_pfBedCache_TransitionId_24 uniqueidentifier,@002_pfBedCache_LocationId_24 uniqueidentifier,@003_pfBedCache_BedStatusId_24 uniqueidentifier,@004_pfBedCache_IsDirty_24 bit,@005_pfBedCache_IsStaffed_24 bit,@006_pfBedCache_IsHolding_24 bit,@007_pfBedCache_IsOverflow_24 bit,@008_pfBedCache_IsInfected_24 bit,@009_pfBedCache_IsBassinet_24 bit,@010_pfBedCache_IsFallRisk_24 bit,@011_pfBedCache_IsBedReady_24 bit,@012_pfBedCache_AccommodationTypeId_24 uniqueidentifier,@013_pfBedCache_PrimaryIsolationId_24 nvarchar(4000),@014_pfBedCache_SecondaryIsolationId_24 nvarchar(4000),@015_pfBedCache_ProgramServices_24 nvarchar(4000),@016_pfBedCache_Gender_24 nvarchar(1),@017_pfBedCache_Code_24 nvarchar(1),@018_pfBedCache_DesignationIds_24 nvarchar(4000),@019_pfBedCache_Designations_24 nvarchar(4000),@020_pfBedCache_LastUpdatedDateTime_24 datetime,@021_pfBedCache_Id_24 uniqueidentifier,@022_pfBedCache_Locale_24 nvarchar(2),@000_pfHousekeepingTaskTransition_IsCurrentTransition_25 bit,@001_pfHousekeepingTaskTransition_EffectiveTo_25 datetime,@002_pfHousekeepingTaskTransition_HousekeepingTaskId_25 uniqueidentifier,@003_pfHousekeepingTaskTransition_IsCurrentTransition_25 bit,@Id_26 uniqueidentifier,@HousekeepingTaskId_26 uniqueidentifier,@HousekeepingStateId_26 uniqueidentifier,@IsStat_26 bit,@EffectiveFrom_26 datetime,@EffectiveTo_26 datetime,@IsCurrentTransition_26 bit,@LastUpdatedDateTime_26 datetime,@LastUpdatedPersonId_26 uniqueidentifier,@000_pfHousekeepingTask_EndDateTime_27 datetime,@001_pfHousekeepingTask_IsProcessed_27 bit,@002_pfHousekeepingTask_LastUpdatedDateTime_27 datetime,@003_pfHousekeepingTask_LastUpdatedPersonId_27 uniqueidentifier,@004_pfHousekeepingTask_TimeInProgress_27 int,@005_pfHousekeepingTask_Id_27 uniqueidentifier,@000_pfHousekeepingTaskAssignment_HousekeepingTaskTransitionId_28 uniqueidentifier,@001_pfHousekeepingTaskAssignment_HousekeepingTaskTransitionId_28 uniqueidentifier,@002_pfHousekeepingTaskAssignment_EmployeeId_28 nvarchar(4000),@000_pfHousekeepingTaskCache_LocationId_29 uniqueidentifier,@001_pfHousekeepingTaskCache_BedId_29 uniqueidentifier,@002_pfHousekeepingTaskCache_EncounterId_29 uniqueidentifier,@003_pfHousekeepingTaskCache_HousekeepingTaskTypeId_29 uniqueidentifier,@004_pfHousekeepingTaskCache_IsDeleted_29 bit,@005_pfHousekeepingTaskCache_IsProcessed_29 bit,@006_pfHousekeepingTaskCache_EndDateTime_29 datetime,@007_pfHousekeepingTaskCache_Notes_29 nvarchar(4000),@008_pfHousekeepingTaskCache_CancelReasonId_29 nvarchar(4000),@009_pfHousekeepingTaskCache_CancelComments_29 nvarchar(4000),@010_pfHousekeepingTaskCache_LastUpdatedDateTime_29 datetime,@011_pfHousekeepingTaskCache_LastUpdatedPersonId_29 uniqueidentifier,@012_pfHousekeepingTaskCache_DischargeDate_29 datetime,@013_pfHousekeepingTaskCache_TransitionId_29 uniqueidentifier,@014_pfHousekeepingTaskCache_StateId_29 uniqueidentifier,@015_pfHousekeepingTaskCache_DelayId_29 nvarchar(4000),@016_pfHousekeepingTaskCache_CleanTypeId_29 nvarchar(4000),@017_pfHousekeepingTaskCache_IsCurrentTransition_29 bit,@018_pfHousekeepingTaskCache_IsStat_29 bit,@019_pfHousekeepingTaskCache_ExternalData_29 nvarchar(4000),@020_pfHousekeepingTaskCache_EffectiveFrom_29 datetime,@021_pfHousekeepingTaskCache_EffectiveTo_29 nvarchar(4000),@022_pfHousekeepingTaskCache_Id_29 uniqueidentifier,@@Locale nvarchar(2))
if exists (select 1 from pfBed where 1 = 1  and pfBed.Id = @002_pfBed_Id_20  and [TimeStamp] = @TimeStamp_20 ) BEGIN update pfBed set   [SortOrder]  = @000_pfBed_SortOrder_20, [IsDeleted]  = @001_pfBed_IsDeleted_20 where 1=1 
 and pfBed.Id = @002_pfBed_Id_20  END ELSE BEGIN  declare @IdString varchar(max) set @IdString = ' and @002_pfBed_Id_20 = daaca151-5f1c-4560-b210-4dcc1740a896. 
'  RAISERROR (50005, 16, 1, @IdString, 'pfBed')  END 
update pfBedLanguageValue set   [Name]  = @000_pfBedLanguageValue_Name_21, [Description]  = @001_pfBedLanguageValue_Description_21 where 1=1 
 and pfBedLanguageValue.BedId = @002_pfBedLanguageValue_BedId_21  and pfBedLanguageValue.Locale = @003_pfBedLanguageValue_Locale_21 
insert into pfBedTransition  ([Id], [BedId], [LocationId], [IsCurrentTransition], [IsDirty], [IsStaffed], [IsHoldingBed], [IsInfected], [BedStatusId], [AccommodationTypeId], [IsBedReady], [IsOverflow], [IsBassinet], [IsFallRisk], [PrimaryIsolationId], [SecondaryIsolationId], [Gender], [Code], [LastUpdatedDateTime], [LastUpdatedPersonId])  values  (@Id_22, @BedId_22, @LocationId_22, @IsCurrentTransition_22, @IsDirty_22, @IsStaffed_22, @IsHoldingBed_22, @IsInfected_22, @BedStatusId_22, @AccommodationTypeId_22, @IsBedReady_22, @IsOverflow_22, @IsBassinet_22, @IsFallRisk_22, @PrimaryIsolationId_22, @SecondaryIsolationId_22, @Gender_22, @Code_22, @LastUpdatedDateTime_22, @LastUpdatedPersonId_22) 
update pfBedCache set   [SortOrder]  = @000_pfBedCache_SortOrder_23, [TransitionId]  = @001_pfBedCache_TransitionId_23, [LocationId]  = @002_pfBedCache_LocationId_23, [BedStatusId]  = @003_pfBedCache_BedStatusId_23, [IsDirty]  = @004_pfBedCache_IsDirty_23, [IsStaffed]  = @005_pfBedCache_IsStaffed_23, [IsHolding]  = @006_pfBedCache_IsHolding_23, [IsOverflow]  = @007_pfBedCache_IsOverflow_23, [IsInfected]  = @008_pfBedCache_IsInfected_23, [IsBassinet]  = @009_pfBedCache_IsBassinet_23, [IsFallRisk]  = @010_pfBedCache_IsFallRisk_23, [IsBedReady]  = @011_pfBedCache_IsBedReady_23, [AccommodationTypeId]  = @012_pfBedCache_AccommodationTypeId_23, [PrimaryIsolationId]  = @013_pfBedCache_PrimaryIsolationId_23, [SecondaryIsolationId]  = @014_pfBedCache_SecondaryIsolationId_23, [ProgramServices]  = @015_pfBedCache_ProgramServices_23, [Gender]  = @016_pfBedCache_Gender_23, [Code]  = @017_pfBedCache_Code_23, [DesignationIds]  = @018_pfBedCache_DesignationIds_23, [Designations]  = @019_pfBedCache_Designations_23, [Name]  = @020_pfBedCache_Name_23, [Description]  = @021_pfBedCache_Description_23, [LastUpdatedDateTime]  = @022_pfBedCache_LastUpdatedDateTime_23 where 1=1  and [Id]  = @023_pfBedCache_Id_23  and [Locale]  = @024_pfBedCache_Locale_23 
update pfBedCache set   [SortOrder]  = @000_pfBedCache_SortOrder_24, [TransitionId]  = @001_pfBedCache_TransitionId_24, [LocationId]  = @002_pfBedCache_LocationId_24, [BedStatusId]  = @003_pfBedCache_BedStatusId_24, [IsDirty]  = @004_pfBedCache_IsDirty_24, [IsStaffed]  = @005_pfBedCache_IsStaffed_24, [IsHolding]  = @006_pfBedCache_IsHolding_24, [IsOverflow]  = @007_pfBedCache_IsOverflow_24, [IsInfected]  = @008_pfBedCache_IsInfected_24, [IsBassinet]  = @009_pfBedCache_IsBassinet_24, [IsFallRisk]  = @010_pfBedCache_IsFallRisk_24, [IsBedReady]  = @011_pfBedCache_IsBedReady_24, [AccommodationTypeId]  = @012_pfBedCache_AccommodationTypeId_24, [PrimaryIsolationId]  = @013_pfBedCache_PrimaryIsolationId_24, [SecondaryIsolationId]  = @014_pfBedCache_SecondaryIsolationId_24, [ProgramServices]  = @015_pfBedCache_ProgramServices_24, [Gender]  = @016_pfBedCache_Gender_24, [Code]  = @017_pfBedCache_Code_24, [DesignationIds]  = @018_pfBedCache_DesignationIds_24, [Designations]  = @019_pfBedCache_Designations_24, [LastUpdatedDateTime]  = @020_pfBedCache_LastUpdatedDateTime_24 where 1=1  and [Id]  = @021_pfBedCache_Id_24  and [Locale]  = @022_pfBedCache_Locale_24 
update pfHousekeepingTaskTransition set   [IsCurrentTransition]  = @000_pfHousekeepingTaskTransition_IsCurrentTransition_25, [EffectiveTo]  = @001_pfHousekeepingTaskTransition_EffectiveTo_25 where 1=1 
 and pfHousekeepingTaskTransition.HousekeepingTaskId = @002_pfHousekeepingTaskTransition_HousekeepingTaskId_25  and pfHousekeepingTaskTransition.IsCurrentTransition = @003_pfHousekeepingTaskTransition_IsCurrentTransition_25 
insert into pfHousekeepingTaskTransition  ([Id], [HousekeepingTaskId], [HousekeepingStateId], [IsStat], [EffectiveFrom], [EffectiveTo], [IsCurrentTransition], [LastUpdatedDateTime], [LastUpdatedPersonId])  values  (@Id_26, @HousekeepingTaskId_26, @HousekeepingStateId_26, @IsStat_26, @EffectiveFrom_26, @EffectiveTo_26, @IsCurrentTransition_26, @LastUpdatedDateTime_26, @LastUpdatedPersonId_26) 
update pfHousekeepingTask set   [EndDateTime]  = @000_pfHousekeepingTask_EndDateTime_27, [IsProcessed]  = @001_pfHousekeepingTask_IsProcessed_27, [LastUpdatedDateTime]  = @002_pfHousekeepingTask_LastUpdatedDateTime_27, [LastUpdatedPersonId]  = @003_pfHousekeepingTask_LastUpdatedPersonId_27, [TimeInProgress]  = @004_pfHousekeepingTask_TimeInProgress_27 where 1=1 
 and pfHousekeepingTask.Id = @005_pfHousekeepingTask_Id_27 
update pfHousekeepingTaskAssignment set   [HousekeepingTaskTransitionId]  = @000_pfHousekeepingTaskAssignment_HousekeepingTaskTransitionId_28 where 1=1 
 and pfHousekeepingTaskAssignment.HousekeepingTaskTransitionId = @001_pfHousekeepingTaskAssignment_HousekeepingTaskTransitionId_28  and pfHousekeepingTaskAssignment.EmployeeId  in (select value from dbo.UDF_Split(@002_pfHousekeepingTaskAssignment_EmployeeId_28,','))
update pfHousekeepingTaskCache set   [LocationId]  = @000_pfHousekeepingTaskCache_LocationId_29, [BedId]  = @001_pfHousekeepingTaskCache_BedId_29, [EncounterId]  = @002_pfHousekeepingTaskCache_EncounterId_29, [HousekeepingTaskTypeId]  = @003_pfHousekeepingTaskCache_HousekeepingTaskTypeId_29, [IsDeleted]  = @004_pfHousekeepingTaskCache_IsDeleted_29, [IsProcessed]  = @005_pfHousekeepingTaskCache_IsProcessed_29, [EndDateTime]  = @006_pfHousekeepingTaskCache_EndDateTime_29, [Notes]  = @007_pfHousekeepingTaskCache_Notes_29, [CancelReasonId]  = @008_pfHousekeepingTaskCache_CancelReasonId_29, [CancelComments]  = @009_pfHousekeepingTaskCache_CancelComments_29, [LastUpdatedDateTime]  = @010_pfHousekeepingTaskCache_LastUpdatedDateTime_29, [LastUpdatedPersonId]  = @011_pfHousekeepingTaskCache_LastUpdatedPersonId_29, [DischargeDate]  = @012_pfHousekeepingTaskCache_DischargeDate_29, [TransitionId]  = @013_pfHousekeepingTaskCache_TransitionId_29, [StateId]  = @014_pfHousekeepingTaskCache_StateId_29, [DelayId]  = @015_pfHousekeepingTaskCache_DelayId_29, [CleanTypeId]  = @016_pfHousekeepingTaskCache_CleanTypeId_29, [IsCurrentTransition]  = @017_pfHousekeepingTaskCache_IsCurrentTransition_29, [IsStat]  = @018_pfHousekeepingTaskCache_IsStat_29, [ExternalData]  = @019_pfHousekeepingTaskCache_ExternalData_29, [EffectiveFrom]  = @020_pfHousekeepingTaskCache_EffectiveFrom_29, [EffectiveTo]  = @021_pfHousekeepingTaskCache_EffectiveTo_29 where 1=1  and [Id]  = @022_pfHousekeepingTaskCache_Id_29 
--?>"



Executing SQL files through command line.

$
0
0

Good morning,

I would like to use a SQL Agent job step to execute sql files from a local directory. The service account that owns the job has sysadmin rights and has full rights to the directory. When I execute the following commands from a query window in SQLCMD mode, I get good results: 

:ON Error EXIT
:r "C:\Path\filename.sql"
GO
:r "C:\Path\filename.sql"
GO
:r "C:\Path\filename.sql"
GO

However, when I place the same code into a job step and run it under type Operating system (CmdExec), I get this error:

The process could not be created for step 1 of job  (reason: The system cannot find the file specified).  The step failed.

What am I missing here?

DMA for SQL Server 2005

$
0
0

HI All.

I would like to use DMA to do assessment on a SQL 2005 database

I have an script out for that SQL 2005 database, Is it possible to import the output script into DMA to do assessment directly ?

Or need to build a 2005 sql server to do the assessment ?

Where can I down load back SQL 2005 server iso ?

Maintenance Jobs , Backup jobs got slow after shifting servers.

$
0
0

Recently we have shifted our servers from one cabin to other cabin with same specs of Power , UPS & Network connections.

From next day we noticed that our SQL maintenance plans (Subplan2,3 . Sub plan 1 is running for same time) & Backup job running for long hours.

Details:

SSMS : 2008 R2  , OS : 2012 R2  , DB Size :220GB ,RAM 128Gig , SQL Allocated memory 85Gig.

Earlier Subplan 2 running time 3 Hrs 30mins ,now after shifting of servers 6hrs with locking of other application objects.

Earlier Subplan 3 running time 3Hrs 30Mins , Now running for 5Hrs 30mins.

We have disabled Subplan2 and running 1& 3 only now.

Backup earlier it used to take 35 Mins now its taking 90 mins.

What could be the issue ? Other application and server performance are running fine.

 

Avoid NVARCHAR of only 1 or 2 element

$
0
0

Hi All.

I use static code analysis to scan my tsql code. And hit the above warning.

 Avoid NVARCHAR of only one element. SR0009

what's the reason behind it ? Any official docs for the rules ? and recommendation ?


Deterministic function call (lower) might cause an unnecessary table scan

$
0
0

From Microsoft Doc :

"

In a WHERE predicate, a function call is deterministic if its value does not depend on the selected data. Such calls could cause unnecessary table scans, which decrease database performance."

Are there any example to show different when using deterministic function may cause table scans ??

Error: 30064: SQL Server failed to set security information on the full-text FilterData directory in the FTData folder.

$
0
0

SQL Server 2014 SP1 Standard Edition
The following message is in the SQL Error Log on start up:

"Error: 30064, Severity: 17, State: 1.
SQL Server failed to set security information on the full-text FilterData directory in the FTData folder. Full-text indexing of some types of documents may fail until this issue is resolved. You will need to repair the SQL Server installation."

The references I have found for this error refer to a possible misconfiguration with the registry key at: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\<instance id>\Setup\FullTextDefaultPath

There is no FullTextDefaultPath entry in any SQL 2014 or SQL 2012 installation. However it is in SQL 2008 R2.

Security on the FTData folder looks OK.

Any suggestions where to go from here?

BackupDiskFile::OpenMedia: Backup device '\\xxxxx-' failed to open. Operating system error 2(The system cannot find the file specified.).

$
0
0

Hello,

 Log  Restore Job Failed

1...Event Log Error

BackupDiskFile::OpenMedia: Backup device '\\xxx' failed to open. Operating system error 2(The system cannot find the file specified.).

2...SQL Error log.

Date8/24/2018 12:09:15 AM
LogSQL Server (Current - 4/7/2018 9:35:00 PM)
Sourcespid55
Message
Error: 18204, Severity: 16, State: 1.

Date8/24/2018 12:09:15 AM
LogSQL Server (Current - 4/7/2018 9:35:00 PM)
Sourcespid55
Message
BackupDiskFile::OpenMedia: Backup device '\\xxxxx' failed to open. Operating system error 2(The system cannot find the file specified.).

we are verify   RESTORE VERIFYONLY FROM DISK "please find below error"

Msg 3201, Level 16, State 2, Line 1
Cannot open backup device '\\xxxxx'. Operating system error 2(The system cannot find the file specified.).
Msg 3013, Level 16, State 1, Line 1
VERIFY DATABASE is terminating abnormally. 

Thanks..



Agent - Multiserver Environment - Create Master error for startup account login.

$
0
0

Hello,

While running the Agent Master creation wizard, I am getting error - Create failed for Login 'TARGETsqladmin@Domain.org'.  (the name & domain changed intentionally).  The format of the login in the error message doesn't match Domain\login which is how it is on the target server and how it was created as a login on the master server.  It seems like the Master wizard might be using login name TARGETsqladmin@Domain.org when it should be Domain\TARGETsqladmin

Details:

  1. The Master & Target are on the same domain.
  2. The Master & Target are on different servers.
  3. The Master & Target use Agent Log On service accounts that are different, both both are domain accounts, both are in the local admin group in their Instance's servers.
  4. Target Server= TARGET-hpdhcd01 Agent service account = Domain\TARGETsqladmin
  5. Master Server =  MASTER-hpdcdm01 Agent service account = Domain\MASTERsqladmin
  6. A login was created on the Master Instance for Domain\TARGETsqladmin with access to msdb and included in role TargetServersRole, and this target login was not given sysadmin DB instance rights on the master instance.
  7. Note - There is a second error that I am not focusing on in this tread.  I've seen details how to resolve this - "cannot establish an encrypted connection to the master server."

Output Report errors from Master setup wizard:

Enlist TSX Progress


- Create MSXOperator (Success)
* Checking for an existing MSXOperator.
* Updating existing MSXOperator.
* Successfully updated MSXOperator.

- Make sure the Agent service for 'MASTER-HPDCMD01' is running (Success)
* The service 'SQLSERVERAGENT' is running.

- Ensure the agent startup account for 'TARGET-hpdhcd01' has rights to login as a target server (Error)
* Checking to see if the startup account for 'TARGET-hpdhcd01' already exists.
* Login 'TARGETsqladmin@DOMAIN.org' does not exist on server 'MASTER-HPDCMD01'. Creating.

Messages
* Create failed for Login 'TARGETsqladmin@hpdnyc.org'.  (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=14.0.17254.0+((SSMS_Rel_17_4).180502-0908)

&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+Login&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

'TARGETsqladmin@Domain.org' is not a valid Windows NT name. Give the complete name: <domain\username>. (Microsoft SQL Server, Error: 15407)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=13.00.5026&EvtSrc=MSSQLServer&EvtID=15407&LinkId=20476


- Enlist 'TARGET-hpdhcd01' into 'MASTER-HPDCMD01' (Error)
* Enlisting target server 'TARGET-hpdhcd01' with master server 'MASTER-HPDCMD01'.
* Using new enlistment method.

Messages
* MSX enlist failed for JobServer 'TARGET-hpdhcd01'.  (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=14.0.17254.0+((SSMS_Rel_17_4).180502-0908)

&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=MSX+enlist+JobServer&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

The enlist operation failed (reason: SQLServerAgent Error: The target server cannot establish an encrypted connection to the master server 'MASTER-HPDCMD01'. Make 

sure that the MsxEncryptChannelOptions registry subkey is set correctly on the target server.) (Microsoft SQL Server, Error: 22026)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=13.00.5026&EvtSrc=MSSQLServer&EvtID=22026&LinkId=20476


Tony C

Getting error with default instance only

$
0
0


Server 2017 Configuration Manager opens with this error. I can access the instance in Management Studio by entering either:

MachineName\   or .\

(but not MachineName only)



Viewing all 15264 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>