Click here to Skip to main content
15,918,516 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have to verify the pfx file and get certificate details from the web base application
but its not working after hosting the page in IIS, Its only work on single machine.

-Then I create exe for the fetching the details but still its not working,

(exe saves the response in one table.
And we want to fetch the response in the web Application.
It is working through Code But After Hosting this is not working.)


I am fetching the data through creating the batch files.

like :



System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = "c:/New.bat"; //System.Configuration.ConfigurationManager.AppSettings["BATCH_FULLBACKUP"].ToString().Trim();
proc.StartInfo.Arguments = String.Format("{0} {1} {2}","askdfsdf", panno, Server.MapPath("~/NEWDEV") + "\\ConsoleApplication4.exe");
//set the rest of the process settings String.Format("{0} {1} {2} {3} {4} {5} {6}",consolepath,Pc,database,UserName,Password,"F",bacPath);
proc.Start();
proc.WaitForExit();
proc.Close();

Please give me any suggestion or Idea for how to get the data from exe to web application.
can any one have idea please tell me.

thanks,

regards,
atul.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900