Click here to Skip to main content
15,789,700 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
MSXML2.ServerXMLHTTP objHTTP = new ServerXMLHTTP();
ServerIP = txtTallyPath.Text.ToString();
{"POST", ServerIP, false, null, null);
string strFileName = string.Empty;
strFileName = System.Configuration.ConfigurationManager.AppSettings["XMLPath"].ToString();

if (System.IO.File.Exists(strFileName))

using (StreamWriter sw = new StreamWriter(strFileName, true))

catch (System.Runtime.InteropServices.COMException ex)
ErrorLogClass.PrintText(ex.ToString(), "GetTallyInvoice()");

strResponse = string.Empty;
strResponse = objHTTP.responseText.ToString();

I am getting error on this line,
strResponse = objHTTP.responseText.ToString();

and data is not imported into Tally. There is no error shown apart from this.

What I have tried:

I tried all the possible ways to solve this issue even i am getting help from my senior also, but he also cannot solve this. Anyone give the solution. Last 3 days i am trying to solve this.

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