This short blog shows you how to list the data in duplicated rows in SQL Server.
Let’s look at the Northwind (https://chanmingman.wordpress.com/2012/03/18/northwind-in-microsoft-sql-server-2012/) database in SQL Server. You can see the Shippers table has 2 duplicate rows, United Package.
As first, we find out which rows are duplicated, and how many duplication are there.
Then we list the content of those rows.
SELECT ship.CompanyName, ship.Phone
From [dbo].[Shippers] ship
SELECT CompanyName, Phone,
by CompanyName, Phone
as ship1 on
ship.CompanyName = ship1.CompanyName
AND ship.Phone = ship1.Phone
This short blog shows you how to resolve the error in Web Service asmx “Request format is unrecognized for URL unexpectedly ending in ‘xxxxxx’ “.
I have a .NET Web Service utilizing a class name ReceivedATA. Somehow when I am browsing it then it show the error below.
Request format is unrecognized for URL unexpectedly ending in ‘/ReceivedATA’
I have no clue of what the message is about totally. I found the link in Internet (the link is the reference). This link is saying if I disable the friendly error message than I am able to see the meaningful error.
So I open IE, choose Internet options, choose again the Advance tab then unclicked the Show friendly HTTP error messages.
Once I have done that then I see the error message below that I know how to resolve the problem. At least I know which file and which line is the issue on.
System.NullReferenceException: Object reference not set to an instance of an object.
at WebServiceCustoms.WebServiceATA.ReceivedATA() in C:\dev1\WebServiceCustoms\WebServiceCustoms\WebServiceATA.asmx.cs:line 57
This short blog shows you how to resolve the Oracle error “If the 64-bit driver is not installed, run the package in 32-bit mode” in SSIS
When you are running SSIS with Oracle Data Access Components, and you schedule to run your jobs then you might get the error below.
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 12.0.5000.0 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 3:58:15 PM Error: 2017-07-10 15:58:16.15 Code: 0xC0209303 Source: ssisDashboard_ODD_1 Connection manager “EXPDEV.EXPRESS” Description: The requested OLE DB provider OraOLEDB.Oracle.1 is not registered. If the 64-bit driver is not installed, run the package in 32-bit mode. Error code: 0x00000000. An OLE DB record is available. Source: “Microsoft OLE DB Service Components” Hresult: 0x80040154 Description: “Class not registered”. End Error Error: 2017-07-10 15:58:16.15 Code: 0xC020801C Source: Data Flow Task EXPDEV EXPRESS  Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager “EXPDEV.EXPRESS” failed with error code 0xC0209303. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2017-07-10 15:58:16.15 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline Description: EXPDEV EXPRESS failed validation and returned error code 0xC020801C. End Error Error: 2017-07-10 15:58:16.15 Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2017-07-10 15:58:16.15 Code: 0xC0024107 Source: Data Flow Task Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 3:58:15 PM Finished: 3:58:16 PM Elapsed: 0.235 seconds. The package execution failed. The step failed.
Again, in a big chuck of wording the useful words are only 7 of it.
Open your SSIS job in SQL Job Agent. Get to the SSIS Step. Click on the Execution Options then check the Use 32 bit runtime checkbox.
This is a quick blog is just tells you one of the reason my Visual Studio 2017 keep failing.
I still having a machine running Windows 10 build 1507. In this version I could never installed Visual Studio 2017 successfully. It keep failing Visual Studio installation with funny logs.
I upgrade from Windows 10 build 1507 to 1703 Creator Update. It succeeded the installation with only one time.