Home > Development, SharePoint > The Web application at (url) could not be found.

The Web application at (url) could not be found.

Possible causes:

– You made a typo.
– You made a typo.
– You created a SharePoint 2007 x64 development machine. Don’t do that, make a x86 (32bit) installation and forget about developing under x64 for MOSS 2007.
– You are running a website that accesses SharePoint data and the application pool does not have the same identity as the application pool SharePoint is running under. In my opinion this should work with any identity as long as it has acces to SharePoint but clearly it doesn’t… Rules there are supposed to be that the user accessing the SPSite object should be a site collection administrator?

Note that I added you made a typo twice, it’s because for some reason in my environment the create a new web application page added a dot (.) after my servername, so my web application url was http://servername.:2010 instead of http://servername:2010. Internet Explorer works PERFECTLY when you use http://servername:2010 without the dot (.) but when you copy this into your code it gives an error as it is looking for http://servername.:2010. This one got me stuck for quite a while.

  1. February 4, 2010 at 5:14 am

    Well-written. Thanks. I have been learning a lot about different CMS programs lately. I have also been experimenting with setting up an e-commerce site using WordPress. Have you ever done that? Any suggestions for me? It’s pretty fun learning it. Visit my blog if you’d like to read more. Thanks again for this blog – it is really well-done.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: