.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Imran Ghani

Home >> Forum >> SharePoint >> Post New QuestionBookmark and Share Subscribe to Forum

Calling Sharepoint2010 object model code from vs 2008 .net

Posted By: sriram     Posted Date: October 25, 2010    Points:2   Category :SharePoint
hi, i've .net application in vs2008 and hosted in windows 2008 server and i've sharepoint server 2010 in the same windows 2008 server.
when im writing the object model coding to call sharepoint 2010 site from .net which is in vs2008 like

siteCollection = new SPSite(url);

im getting the following error.

The Web application at http://scshyd-100/ 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

Thanks!!! in advance

Author: Narayanan             
Posted Date: September 15, 2011     Points: 20   

Check with your IP address and Server Name

Regards, Lakshmi Naraayanan.S

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend