Quick tip: Troubleshoot “Web Application not found” errors in SharePoint 2010 development

When developing against SharePoint 2010, you might come across the following error: “The web application at [URL] 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.” What this is essentially telling you is that SharePoint could not find the address that you specified in your code. It’s a verbose “file not found” message. If you google around you will find there are more than just a couple of proposed solutions for this error. They range from anything code related to permissions. One thing to keep in mind -because it could just save you from a lot of trouble and time wasting- is that all code that runs against SharePoint should be x64 bit architecture. If it isn’t, if your code is targeting the x86 architecture, you will most probably encounter the aforementioned error. Go back to your code, right click and select properties and make sure that you’re building for the x64 bit architecture.

MGR: the Intelogist

About MGR: the Intelogist

SharePoint Server developer, turned Sitefinity developer, turned Angular developer, turned SharePoint Online consultant, turned Unily consultant, turned O365 consultant... Never a dull moment!

Leave a Reply

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

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

This site uses Akismet to reduce spam. Learn how your comment data is processed.