Sslstream Mutual Authentication : Client Certificate is NULL at Server
I am trying to establish a mutual authentication between a TCP Server and Client using SSLStream asynchronus APIs. I am using two self signed certificates in PFX format that is installed in Trusted...
View ArticleNew to VS, looking for Data Grid alternative to build in data grid (using VB)
Hi, I'm building a web page and need to display data in a table (data grid?) and would like to allow users to edit the data via text box and dropdowns. the built in data grid isn't what I'm looking...
View ArticleDecoding the encoded string is not getting the special characters correctly
Hi,I am using the below code to encode the content of *.ser fileforeach(string file inDirectory.EnumerateFiles("","*.SER")){byte[] content =File.ReadAllBytes( file );...
View ArticleDesktop App: Directory.Exists returns false but new FileStream inside it works?
Hi,I have a weird case with one of our deployments. The application is a Desktop .NET 4 Client Profile Winforms app that is usually started from a network share. During startup, our application does a...
View Article.net dbml generator bug
If your database contains a table with a column that is called 'string' , the .NET dbml generator fails. It fails due to each partial class that is generated contains the static field...
View ArticleSplit and Convert Sets of Union to Binary
How to fix this Code. I cant get the right code to deliver the string to split and connect to convert union set into binary The A u B is the process combining the Set A and Set B which the result...
View ArticleHandling "Server does not support secure connections" using an...
I would like to attempt to send mail via SSL first, and then only if that fails, revert back to EnableSsl = false and try again. I would prefer to check the exception for a StatusCode that indicates...
View Articlehow to divide string array
Hello, I have a problem to operate two numbers two much big, I have two numbers in two string arrays but I have to think the worse case, if the numbers are two much big I have to Split them before...
View ArticleMembershipUser.ChangePassword method returns false at all time
i having trouble with mvc4 membership issue , i cant change the user's password likepublicboolSetNewPassword(string newPassword){var generatedPassword = membershipUser.ResetPassword();return...
View Articletype exists in BOTH assemblies (BUT FOR GOOD REASONS)
Hi FolksI've been kind of forced between a "rock and a hard place" in terms of what we refer to as our "Global Directory" (SSO - single sign-on services) and how SQL Server 2012 SSRS works as well.1....
View ArticleCLR20r3 error
I had developed a Winform app with using Telerik RadGridview before.All clients use it without any problem.But a few days ago, a client called me and told that it crashes anytime when he/she clicked...
View ArticleSerial Port Communication
Hi,I am having a Win-7 PC. In that i install VM Ware Player (Linux OS). I need to write the data in serial port and how to get those data in VM-Ware. need help. pls. urgent....
View ArticleSingle C# API to access dropbox, iCloud, SkyDrive, etc.?
Hi all; Is there a library that provides access to all the different cloud storage systems out there? What we need is pretty simple:A way to get folder contents for a FileOpen dialog box.A way to read...
View Article.NET 4 with EventLog dumps entire log
My app has the following code to capture security event logsDim SecobjLog As EventLog = New EventLog("Security") AddHandler SecobjLog.EntryWritten, AddressOf SecurityLog_OnEntryWritten...
View Articledecimal in a datatable - == and equals disagreeing
In a simple data table, with a decimal column I am getting different results when using Equals and ==. I'm sure there is a good reason for this, I just cannot find it - can anyone please explain to me...
View ArticleNeed suggestion for developing print version of the .NET web site.
Friends,I am having a requirement where i need to develop a print version separately to the web pages. web site is basically a presentation site. client is expecting print versions to be high on...
View ArticleThread in a threadpool not being executed on time
My Windows Service is written in VB.NET Visual Studio 2010 (.NET framework 4). The service is using a threadpool like below: ThreadPool.QueueUserWorkItem(New WaitCallback(AddressOf clsA.ProcessIt))In...
View ArticleGeneric singleton instance generator
Hi,I am looking for a class which can return singleton instance of the type that client specifies. I want to use "Lazy" keyword feature so that I don't need to make the method thread-safe.Current...
View ArticleDataSet does not support System.Nullable
Hello every one, I have a following piece of code dt = new DataTable();var result = from row in ObjContext.Usersselect row;dt = result.CopyToDataTable(); when I execute this I am getting this error...
View ArticleRegarding Crystal report issue
HiThe assembly with display name 'BusinessObjects.Licensing.KeycodeDecoder' failed to load in the 'Load' binding context of the AppDomain with ID 1. The cause of the failure was:...
View Article