Input string was not in a correct format.
private void btnAddPoints_Click(object sender, EventArgs e) { double dblPointsReturn; int DivisionPoints = 10; dblPointsReturn =...
View ArticleNo connection could be made because the target machine actively refused it...
I was trying to run a sample code where I want to connect to 127.0.0.1 using port number 27077. But always get the above error. try { this.client = new TcpClient(); this.client.SendTimeout = 3000;...
View ArticleThe type or namespace name Caching does not exist in the namespace...
Hello there, really stuck here someone please let me know what is wrong. I am using VS2012.Am having a problem with System.Runtime.Caching. I referenced the class library, build the solution....
View ArticleUniCode character storage in string array issue
I have written a brief application to practice French language. It is a flash card application and takes its source text from a plain text file created in Wordpad.As we know the French character set...
View ArticleCannot open Service Control Manager on computer ''. This operation might...
hi, i am getting error Cannot open Service Control Manager on computer ''. This operation might require other privileges. while using ServiceController to start/stop services of remote machine. I have...
View ArticleInput string was not in a correct format.
Line 655: { Line 656: JobCode j = new JobCode();Line 657: DataTable dt_subcode = j.Search_Subcode(Convert.ToInt32(hdnJobCode_ID.Value), hdnSearchCode.Value.ToString());Line 658: if...
View ArticleWhich is better to work with large data may more than 1000k records DataSet...
Hello,In our project a windows service that sends emails having DataSet that may contain minimum of 1000k records and we are sending emails by fetching batch wise (10k records per batch) from the...
View ArticleHow to retrive profile picture with DotNetOpenAuth
Hi,I'm using VS 2013 and DotNetOpenAuth to authenticate users with facebook and I would like to retrive the profile picture of the user, so I can show the picture of the logged in user in my site.I...
View ArticleHow to convert .pst to .msg
HiCan anybody help me out find a solution for conversion of .pst file to .msg files thanks & regardsKB
View ArticleUpgrade to MVC 5.0 causes @Html.Partial razor to no longer render on the...
I've recently upgraded my MVC 4 application to MVC 5. When debugging locally (IIS Express or full), the application runs as before. When deploying, via Visual Studio, to our development box, I get...
View ArticleUserPrincipal.GetGroups throws...
I wrote a web application which uses Active Directory user info for identiry authentication and Groups info for role access control. but I found it is instable. I used the code as follow.try {...
View ArticleWill the support for the System.IO.Compression be continued in future years?
Hi, I am a complete novice in .NETCurrently trying to compress the files which are around 1 GB. I tried System.IO.Compression class and results were satisfactory. Because the application I am doing...
View ArticleI am not able to view Console.writeline functionality in my visual studio...
I am not able to view Console.writeline functionality in my visual studio express . please help me out with this . what has to be done to enable the same.
View ArticleResolving and loading referenced assemblies outside application root directory
Hi,We have the following deployment structure:1. Client assemblies - C:\MyProduct\Client\2. Server assemblies - C:\MyProduct\Server\On our test environment, we create an extra folder which has all the...
View ArticleGetting problem on Gmail Open Count.
Hello,I am working on Email Marketing application. We have facing lot of problem with Gmail customers Mail Open count. I google on above issue but I did not get proper solution and also done some...
View ArticleAlternate for Network.Ping() method ..
Hi,I'm having trouble using Network.Ping method with Windows 7, i think that it is due to the security restrictions of Win 7. Can anyone help me in suggesting alternate for Network.Ping() ???thanks and...
View Articlehow to convert eml files to pst format
any idea about converting multiple eml's into single pst
View ArticleManagementEventWatcher stops raising EventArrived after running application...
To monitor some application, I am using ManagementEventWatcher class and I have registered EventArrived event.When I run application from .NET IDE it works fine. As I have not finished coding of other...
View ArticleHow to call Resgen code programatically
Hi AllI want to create resource file programatically.This can be acchieved manually by the following way:Open visual studio command prompt Then type the following command it will create a resource file...
View Article