Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

SharePoint 2010 and 2013 are throwing error FileNotFoundException

$
0
0

Hi,

I developed a small utility and below is the code. I'm using IPv6 link-local address to communicate with SharePoint. Note that I don't have pure IPv6 network. I'm able to browse the SharePoint site in IE. However, when calling from code is failing in constructor.

using (SPSite site = new SPSite("http://[fe80::5d7b:885b:d403:9245]:7777"))
{
      SPWeb web = site.OpenWeb();

      if (web.Exists)
      {
           MessageBox.Show("Valid Site");
       }
       else
       {
            MessageBox.Show("Invalid Site");
       }
}

The Web application at http://[fe80::5d7b:885b:d403:9245]:7777 could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

I've added AAM using IPv6 address too.

Added a Host DNS entry on DNS server and checked for reverse DNS lookup. In both the cases, it is able to ping and resolve the host name and IPv6 address.

I could not able to get this working.

Any assistance is greatly appreciated.

Thanks,
Amit


Viewing all articles
Browse latest Browse all 7589

Trending Articles