Unhandled Exception: System.IO.FileNotFoundException

Jun 22, 2011 at 3:35 PM
Edited Jun 22, 2011 at 3:43 PM

Hello,
 In the start of migration process (Version 1.1 of the tool, making the application server migration) I get the following error message:

 

Unhandled Exception: System.IO.FileNotFoundException: The Web application at htt
p://XXXX could not be found. Verify that you have typed the URL correctly. If t
he URL should be serving existing content, the system administrator may need to
add a new request URL mapping to the intended application.
   at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean con
textSite, SPUserToken userToken)
   at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
   at FileMigrateConsole.Program.getGroupNames()
   at FileMigrateConsole.Program.Main(String[] args)

Can you help us?
Thank you!

Coordinator
Jun 22, 2011 at 11:54 PM
Edited Jun 22, 2011 at 11:54 PM
eduardoinfo wrote:

Hello,
 In the start of migration process (Version 1.1 of the tool, making the application server migration) I get the following error message:

 

Unhandled Exception: System.IO.FileNotFoundException: The Web application at htt
p://XXXX could not be found. Verify that you have typed the URL correctly. If t
he URL should be serving existing content, the system administrator may need to
add a new request URL mapping to the intended application.
   at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean con
textSite, SPUserToken userToken)
   at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
   at FileMigrateConsole.Program.getGroupNames()
   at FileMigrateConsole.Program.Main(String[] args)

Can you help us?
Thank you!

 Did you run it from the web front server "as administrator"? You also need to be the site collection adminsitrator.