Quantcast
Browsing all 8156 articles
Browse latest View live

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 Article


New 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 Article


Decoding 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 Article

Desktop 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 Article


Split 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 Article

Handling "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 Article

how 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 Article


MembershipUser.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 Article


type 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 Article

CLR20r3 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 Article

Serial 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 Article

Single 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 Article

Image may be NSFW.
Clik here to view.

decimal 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 Article


Need 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 Article

Thread 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 Article


Generic 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 Article

DataSet 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 Article

Regarding 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
Browsing all 8156 articles
Browse latest View live


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