Im Not sure what this is telling me? I have this in place:
<system.web>
<customErrors mode="Off"/>
When I click on a button that it is supposed to upload a file. I get the error Listed above when doing so. I am running on my local machine. I try to debug it and I get the error and not my break point. I put the "hello" line in thinking it was trying to evaluate the "if" statement before doing my breakpoint. Still fails and not sure why.
protected void btnUpload_Click(object sender, EventArgs e)
{
string a = "hello";
if (FuQuote.HasFile)
{
string path = "~/Quotes/" + FuQuote.FileName;
FuQuote.SaveAs(MapPath(path));
}
}
This problem can be caused by a variety of issues, including:
- Internet connectivity has been lost.
- The website is temporarily unavailable.
- The Domain Name Server (DNS) is not reachable.
- The Domain Name Server (DNS) does not have a listing for the website's domain.
- There might be a typing error in the address.
- If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.