"The Web application at http://moss-dev:11690 could not be found.."
-
Monday, May 10, 2010 9:36 AM
Full error text
The Web application at http://moss-dev:11690 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.
---------------
Please go through this & give me solution. Actually I Have 3 Servers, I Connected these 3 servers in Server –Farm, Bellow I am providing those server details
1<sup>st</sup> Server
Moss-Farm (172.16.1.4): it’s a Production Server, here
1) Windows Server 2003 R2*64 with SP2
2) Moss 2007 *64 with SP2
3) Microsoft .Net Frame work 2.0 SP2
4) Microsoft .Net Frame work 3.0 SP2
5) Microsoft .Net Frame work 3.5 SP1
2<sup>nd </sup> Server
ASC-HV-FILESERV (172.16.1.69): it’s a Backend server, here We are using to store all backend details here like site Content DB, CONFIG DB. All database storing.
1) SQL Server 2005*86
3<sup>rd</sup> Server
Moss-Dev (172.16.1.91): it’s a Development Server, here
1) Windows Server 2003 R2*64 with SP2
2) .Net 3.5 SP1
3) Visual Studio 2008*64 Developer Edition
4) Visual Studio 2008 SP1
5) Moss 2007*64 with SP2
6) Windows Work Flow Developer Kit for WSS 3.0 Beta2
7) Share point Designer SP1+SP2
Now I create one site in Development Server through Central Admin. Site URL: http://moss-dev:11690 , I need some modifications in that newly created site, so that’s way am using object model in visual studio.I add Microsoft.sharepoint .dll to .net Application. Bellow code I wrote in page load event.
SPSite site = new SPSite ("http://moss-dev:11690" );
When I run that application am getting Following error
Exception: FileNotFoundException was unhandled by User Code
The Web application at http://moss-dev:11690 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.
- Edited by Mike Walsh FINMicrosoft Community Contributor Monday, May 10, 2010 9:42 AM Title far too long. NEVER write something is urgent. Forums are not for urgent issues. Ring MS Customer support services if in a hurry.
- Edited by Mike Walsh FINMicrosoft Community Contributor Monday, May 10, 2010 9:43 AM Addition of full error text, removed. It was already in the post at the end.
Answers
-
Wednesday, May 12, 2010 6:23 AMModerator
Hi, Muralikrishna
I would also advise to go back to Koen Vosters’s suggestion.
Since this is 64bit system, please check your Visual Studio projects platform target property(built panel) ,set it to Any CPU or X64 clean and rebuilt the solution, then deploy it.
Besides, if this issue still persists, please also look at if your scenario is similar to the post below:
Hope this can help.
Best Regards,
-Aaron
- Marked As Answer by Chengyi WuModerator Friday, May 14, 2010 6:15 AM
All Replies
-
Monday, May 10, 2010 9:47 AM
Hi there.
What kind of (error) message do you get when browsing to that URL using a browser?
What does the WSS log files say?
Regards,
Magnus
My blog: InsomniacGeek.com -
Monday, May 10, 2010 10:19 AM
if i browse the site through url its working.
In Log files i am not getting any Exception,Error Detials, but if i check with Event Viwer am getting following error.
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 5/10/2010 3:37:13 PM
Event time (UTC): 5/10/2010 10:07:13 AM
Event ID: 1413adb264d948f98434782d46ada934
Event sequence: 21
Event occurrence: 4
Event detail code: 0
Application information:
Application domain: 518721e5-1-129179587026968303
Trust level: Full
Application Virtual Path: /WebSite4
Application Path: C:\WebSite4\
Machine name: MOSS-DEV
Process information:
Process ID: 4964
Process name: WebDev.WebServer.EXE
Account name: ASCENDUM-INDIA\sharepoint2
Exception information:
Exception type: FileNotFoundException
Exception message: The Web application at http://moss-dev:11690 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.
Request information:
Request URL: http://localhost:2036/WebSite4/Default.aspx
Request path: /WebSite4/Default.aspx
User host address: 127.0.0.1
User: ASCENDUM-INDIA\sharepoint2
Is authenticated: True
Authentication Type: NTLM
Thread account name: ASCENDUM-INDIA\sharepoint2
Thread information:
Thread ID: 4
Thread account name: ASCENDUM-INDIA\sharepoint2
Is impersonating: False
Stack trace: at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken)
at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
at _Default.Page_Load(Object sender, EventArgs e) in c:\WebSite4\Default.aspx.cs:line 16
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. -
Monday, May 10, 2010 12:26 PM
Hi there.
It seems that you are using the code from a standalone ASP.NET application.
Please make sure that you either impersonate the end user (who has/should have permissions), or permission the account that runs your application pool correct permissions on your SharePoint site.
Hope this helps.
Regards,
Magnus
My blog: InsomniacGeek.com -
Monday, May 10, 2010 1:16 PMare you able to access the site through your browser?
http://softwareengineering-in-a-can.blogspot.com -
Monday, May 10, 2010 2:38 PMDid you install it in x64 bit? Make sure your compile options are set to Any CPU or it will not find the web application.
Hope this helps, Koen Vosters http://www.koenvosters.be -
Tuesday, May 11, 2010 4:20 AM
Hi Magnus,
ya i checked that SHAREPOINT2 is the admin user that user have full rids in application pool & sharepoint site
-
Wednesday, May 12, 2010 6:23 AMModerator
Hi, Muralikrishna
I would also advise to go back to Koen Vosters’s suggestion.
Since this is 64bit system, please check your Visual Studio projects platform target property(built panel) ,set it to Any CPU or X64 clean and rebuilt the solution, then deploy it.
Besides, if this issue still persists, please also look at if your scenario is similar to the post below:
Hope this can help.
Best Regards,
-Aaron
- Marked As Answer by Chengyi WuModerator Friday, May 14, 2010 6:15 AM
-
Sunday, November 14, 2010 2:12 PMjust documented solution for above problem below http://dhananjaykumar.net/2010/11/14/the-web-application-could-not-be-found-verify-that-you-have-typed-the-url-correctly-error-sharepoint-2010-object-model/ I tried to give solution for both scenarios 1. using SharePoint object model 2010 in Windows / Console application. 2. using SharePoint object model 2010 in Web service or IIS hosted WCF service
Thanks Dhananjay Kumar
MVP Connected System Developer http://dhananjaykumar.net/
Contact: dhananjay.kumar@live.com Twitter: http://twitter.com/debugmode_ -
Sunday, November 14, 2010 2:12 PM
just documented solution for above problem below
I tried to give solution for both scenarios 1. using SharePoint object model 2010 in Windows / Console application. 2. using SharePoint object model 2010 in Web service or IIS hosted WCF service
Thanks Dhananjay Kumar
MVP Connected System Developer http://dhananjaykumar.net/
Contact: dhananjay.kumar@live.com Twitter: http://twitter.com/debugmode_

