Skip to content

Commit

Permalink
Not changing error message + fix error 40
Browse files Browse the repository at this point in the history
  • Loading branch information
cheenamalhotra committed Jan 16, 2021
1 parent 38b3a8c commit 41e79c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public SNINpHandle(string serverName, string pipeName, long timerExpire)

if (!_pipeStream.IsConnected || !_pipeStream.CanWrite || !_pipeStream.CanRead)
{
SNICommon.ReportSNIError(SNIProviders.NP_PROV, 0, SNICommon.ConnOpenFailedError, Strings.SNI_ERROR_1);
SNICommon.ReportSNIError(SNIProviders.NP_PROV, 0, SNICommon.ConnOpenFailedError, Strings.SNI_ERROR_40);
_status = TdsEnums.SNI_ERROR;
SqlClientEventSource.Log.TrySNITraceEvent("<sc.SNI.SNINpHandle.SNINpHandle |SNI|ERR> Pipe stream is not connected or cannot write or read to/from it.");
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@
<value>Associating port with I/O completion mechanism failed</value>
</data>
<data name="SNI_ERROR_11" xml:space="preserve">
<value>Connection timed out.</value>
<value>Timeout error</value>
</data>
<data name="SNI_ERROR_12" xml:space="preserve">
<value>No server name supplied</value>
Expand Down

0 comments on commit 41e79c6

Please sign in to comment.