I have been trying for a couple of days to run a program to migrate several
thousand documents form a thrid party vendor into a SharePoint document library.
One of the problems is that in this environment we do not have access to the
development server. So while the console application I have written to migrate
the data works fine in my Virtual PC environment, when the NetOps folks run it
on the development server, it throws this error:
"The Web application at http://site could not be found. Verify that you have
typed the URL correctly..."
The application is erring out on the following line:
site = new SPSite(ConfigurationSettings.AppSettings["SharePointSiteName"]);
I have tried using a full name and an IP address for the SharePointSiteName
value. I even had someone log into the Server using the same credentials as the
application pool for that sharepoint app. Still no luck.
So, has anyone had this problem before, or can anyone suggest steps for
troubleshooting?