FileNotFoundException sharepoint 2010
Nov 5, 2012

You may see error like Unhandled Exception: System.IO.FileNotFoundException: The Web application at http://sp2010:12523 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. while debugging the code.

Workaround:

When you create a new application, it defaults to x86. However SharePoint 2010 is a 64 bit application. To resolve the issue, View your project properties, go to the Build tab and change the platform target to x64. Run your application again and everything should work as expected now.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Related Posts

Changing the language of an existing SharePoint site

Recently, I had a problem with an existing SharePoint site. The problem was…

Dec 26, 2008

Full trust proxy in SharePoint sandbox solution

You know that sandbox solution in SharePoint 2010 has certain limitation like: It…

Oct 20, 2012

Solving SharePoint object model exception “Web application at URL could not be found”

You are bound to hit this exception once in your life time while…

Aug 18, 2012
Top

Copyright © Prakash Software Solutions Pvt. Ltd. All Rights Reserved.