I have return following code on button
if (!Request.IsSecureConnection)
{
Response.Redirect(Request.RawUrl.Replace("http://", "https://"));
return;
} it was working fine till yesterday. ( created self sertificate in IIS7). From yesterday when i try to run this code I get error message "Unable to start debugging on the Web server. Debug Request Could Not Be Processed By the Server Due to Invalid Syntax" Simillarly I found that when I am trying to open http://loacalhost/ it was not opening it. Please help me.
...
Go to the complete details ...