In asp.net you would likely use a aspx page. In your callback for that page you could do:
--- Edit ---
After some ribbing from my fellow developers they brought up the point that only the server would be able to see this page, so I'm going to change this to write to a file instead.
---------------
private void Page_Load(object sender, System.EventArgs e)
{
System.IO.StreamWriter StreamWriter1 =
new System.IO.StreamWriter(Server.MapPath("querylog.txt"));
StreamWriter1.WriteLine(Request.QueryString.ToString());
StreamWriter1.Close();
}
This will write the query string to the the file querylog.txt. Optionally you could get the specific values by using the request indexer such as Request["Nvx.ErrorMessage"].
Regards,
Barry R.