No announcements
Found 2704852 threads
-
1 Votes
procedure property of SqlException class returns empty
fixed!! BTW, the best way to handle that exception so that you don't have unnecessary StackTraces, is to only log a StackTrace if ex1.Procedure is empty (because you could ...Proposed | 10 Replies | 641 Views | Created by arash ghasemi - Monday, April 16, 2018 9:48 AM | Last reply by BonnieB - Sunday, April 22, 2018 1:39 PM -
0 Votes
Stored Procedure inproperly returns empty result set
In your procedure you're not adding 1 to the month, so you're using the same date for both StartDate and EndDate. Also, I suggest to spell the interval in full, ...Answered | 3 Replies | 2179 Views | Created by PEng1 - Monday, April 23, 2012 6:36 PM | Last reply by PEng1 - Monday, April 23, 2012 6:45 PM -
0 Votes
SqlException State Property
posts, "this is a wrapper for the State property of the first SqlError in the Errors property."Answered | 7 Replies | 7183 Views | Created by twurtz - Thursday, November 5, 2009 4:43 PM | Last reply by twurtz - Sunday, March 21, 2010 10:56 PM -
0 Votes
DnsSafeHost property returns empty on Mac
(Application.Current.Host.Source.DnsSafeHost, 4502); which works fine on Windows XP/7 but when I test it on Mac, Application.Current.Host.Source.DnsSafeHost returns ... -
0 Votes
Stored procedure returns empty result set.
Hi, I had the same problem as you (empty resultset). Here is my procedure : ALTERAnswered | 6 Replies | 31134 Views | Created by Diversant_ - Tuesday, January 13, 2009 7:04 AM | Last reply by MoSnipe - Friday, April 4, 2014 2:23 PM -
0 Votes
can anyone specify Class property in SqlException class?
Well, this is not the appropiate mapping as the class maps to the severity, not the type of the error. If you raise a user defined exception you can define the severity on your own. ...Answered | 1 Replies | 4789 Views | Created by Liweiyin - Thursday, November 8, 2007 6:20 AM | Last reply by Jens K. Suessmeyer - - Thursday, November 8, 2007 11:48 PM -
0 Votes
richtextbox.text property always returns empty string
Guys I ended up using a text box instead of an rtb and so I don't have code to show you guys sorry.Unanswered | 5 Replies | 1679 Views | Created by MARV102 - Monday, October 15, 2012 5:05 PM | Last reply by MARV102 - Thursday, October 25, 2012 4:35 PM -
0 Votes
call to stored procedure occasionally returns empty recordset
the stored proc returns as empty recordset. A 'table not found' error occurs. There is no connection issue otherwise there would be a connection error ...Unanswered | 3 Replies | 10385 Views | Created by GusBeare - Monday, September 27, 2010 7:26 AM | Last reply by GusBeare - Tuesday, September 28, 2010 2:37 PM -
0 Votes
CONTAINSTABLE returns empty table
Hello, You are using INNER JOIN, so of course you will get an empty result if any of the result is empty. Olaf ...Answered | 3 Replies | 1247 Views | Created by Jeeten Parmar - Monday, August 26, 2013 7:17 AM | Last reply by Allen Li - MSFT - Tuesday, August 27, 2013 1:51 AM -
0 Votes
SqlException
You can also check the Number property of the sqlexception . There's specific error code for Foreign key exception, ....Answered | 11 Replies | 3590 Views | Created by GoDaddy - Monday, January 12, 2009 3:27 PM | Last reply by CetinBasoz - Monday, January 12, 2009 7:04 PM -
2 Votes
Capture Returns Empty Strings
. But the "Success"-Property of the group returns false in this case. You can filter them out e.g. with ...Answered | 3 Replies | 4888 Views | Created by Michael F. Coyle - Sunday, April 3, 2011 2:51 AM | Last reply by Michael F. Coyle - Sunday, April 3, 2011 8:44 PM -
0 Votes
SQLException
can display a much friendlier error message to the user. catch (SqlException ex) { MessageBox.Show("DA - InsertAFY -
0 Votes
PowerShell command returns lines of empty output
empty space for its output. To fix the problem, adding: "| Out-Null" to the end of the Ninject statement was able to allow this Azure commandlet to return the ...Answered | 2 Replies | 782 Views | Created by ryan-m-w - Tuesday, February 9, 2016 3:54 AM | Last reply by ryan-m-w - Wednesday, February 10, 2016 8:00 AM -
1 Votes
Best practice for adding an "Empty" property to a class?
Hi, First of all, I don't think there is a "best practice" for empty property in classes, because that depends on each class ...Answered | 5 Replies | 2619 Views | Created by KFrostILEM - Thursday, June 26, 2008 2:18 PM | Last reply by Dig-Boy - Friday, June 27, 2008 2:34 PM -
0 Votes
SPContext.Current.Web.Name returns empty string
property returns an empty string if the site is a top-level site.Answered | 1 Replies | 4684 Views | Created by MattKlepeis - Sunday, January 22, 2012 4:48 PM | Last reply by Tanmay Shahane - Sunday, January 22, 2012 6:32 PM -
3 Votes
Dns.GetHostEntry returns empty list
I've run into the same issue after my IT folks turned off DNS forwarding. But this doesn't throw an exception. It just returns an empty address list. Which as I ...Unanswered | 3 Replies | 4476 Views | Created by r_a_d_u - Wednesday, April 18, 2012 12:57 PM | Last reply by AlanJackson - Wednesday, April 25, 2012 2:57 PM -
0 Votes
AdPerformanceReport returns empty CurrencyCode
Hi Jay. I wouldn't expect CurrencyCode to be empty in the resulting report. When you run the report in the Bing Ads web application do you observe the same result? Either ...Answered | 2 Replies | 557 Views | Created by J-Harris - Monday, November 3, 2014 9:50 PM | Last reply by J-Harris - Thursday, November 13, 2014 7:35 PM -
0 Votes
GetManifestResourceStream returns null, GetManifestResourceNames returns empty list
works fine in SharePoint 2007, but is failing in SharePoint 2010, returning null instead of the resource stream. I checked Assembly.GetManifestResourceNames, and it ...Answered | 2 Replies | 9163 Views | Created by squebler - Wednesday, December 8, 2010 11:40 PM | Last reply by squebler - Thursday, December 9, 2010 12:40 AM -
0 Votes
Windows.System.UserProfile.UserInformation.GetPrincipalNameAsync() returns empty string
GetPrincipalNameAsync() but it returns an empty string, I wonder how I can get the right return value. Thanks in ...Answered | 4 Replies | 3606 Views | Created by Beverly1984 - Tuesday, April 24, 2012 9:09 AM | Last reply by RD8388 - Wednesday, August 28, 2013 11:44 AM -
0 Votes
Throw sqlException
Jolt dumb programmer error will not automatically return SqlExceptions. In your code sample, you 'throw' a unknown exception. There is unlikely to be a Exception in the ...Unanswered | 1 Replies | 13114 Views | Created by Krutika - Wednesday, December 20, 2006 7:02 PM | Last reply by Arnie Rowland - Wednesday, December 20, 2006 7:35 PM - Items 1 to 20 of 2704852 Next ›
No announcements