Hi
I’m creating one windows service in my own purpose
Using msxml4.dll.
The process of service is to fetch the data from exchange server through webdav SEARCH METHOD
When i use this coding in windows form normal button click event , it works fine,
When I convert into windows service, it throws the error
The coding is below
MSXML2.XMLHTTP objXMLHTTP = new MSXML2.XMLHTTP( );
System.Xml.XmlD ataDocument xmlDOMParams = new System.Xml.XmlD ataDocument();
objXMLHTTP.open ("SEARCH", strInboxURL,fal se,strAliasName , strPassword);
objXMLHTTP.setR equestHeader("C ontent-type", "text/xml");
objXMLHTTP.setR equestHeader("D epth", "1");
string strXML;
strXML = "<?xml version=\'1.0\' ?>" +
"<D:searchreque st xmlns:D = \'DAV:\'>" +
"<D:sql>" +
"SELECT \"urn:schemas:h ttpmail:fromema il\"," +
------------------
---------etc…"
objXMLHTTP.send (strXML); // error raised
when I send the string containing query, it raise the error,
Any body Please Reply me with any suggestion
I'm using c#
Regards,
Arunkumar S