Thursday, September 4, 2008

The Web application at (URL) could not be found

I received 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 while trying to access sharepoint site collection using sp api from an asp.net web application.

This was happening because the ASP.net application pool identity did not have enough previlages. Changing asp.net application pool to run under same identity as MOSS application fixed the issue.

More details can be found at Dragon Panjkov's blog.

http://www.sharepointblogs.com/panjkov/archive/2007/10/18/asp-net-moss-and-app-pool-identities.aspx

3 comments:

Unknown said...

Thanks a lot ... your post did helped me and saved my time

Anonymous said...

Thanks ! for sharing this useful information. I have also faced this problem and now i am confident to overcome this problem. I have also a good news for app lovers as this organization also provides informations on web applications and internet application and also reviews on that.

Anonymous said...

Thank you for posting such an informative and helpful post.