Hi,
When I try to search my website i am getting the following error. Illegal characters in path highlighting doc.Load(url);
Here is my code:
When I try to search my website i am getting the following error. Illegal characters in path highlighting doc.Load(url);
Here is my code:
Code:
public ActionResult Index()
{
string url = ConfigurationManager.AppSettings.Get("SearchBloxServer") + "?col=" + ConfigurationManager.AppSettings.Get("SearchBloxCollectionID") + "&" + HttpContext.Request.QueryString.ToString();
ViewBag.TransformSource = "~/upload/xsl/default.xsl";
XmlDocument doc = new XmlDocument();
doc.Load(url);
return View(doc);
}
Comment