0

While creating a new App For Sharepoint, in Sharepoint Site URL Validation Form.

When we click the Validate Button the following error is shown:

Cannot connect to the SharePoint site:'http://sample:16311/sites/DevCatalog/. Make sure that this is a valid URL and the SharePoint site is running on the local computer. If you moved this project to a new computer or if the URL of the SharePoint site has changed since you created the project, update the Site URL property of the project

0

First make sure that your Application Pool & SP Site are running in IIS.

You will able to fix with the help of this link

Steps from the Site

  1. Check what user vssphost14.exe (or vssphost15.exe) is running as (Generally the same user you are using to run VS)
  2. Launch SQL Management Studio and connect to your SharePoint SQl Instance

  3. Ensure the above user has DB_Owner rights on each of the following databases:

    SharePoint_Config
    SharePoint_AdminContent
    Content DB for the Site collection you are deploying to
    
  4. You may need to restart VS

The above databases may have different names (GUIDs), but the config, admin, and content DBs are the ones you want

  • is this helps you to solve your problem? – Hardik Apr 25 '16 at 12:52
  • Thanks Hardik. It's Worked After Providing DB_Owner rights for mentioned databases. – Vignesh amutha Apr 25 '16 at 14:30
0

Try changing the Site URL in your VS Project properties with the web application URL in your CA > Manage Web Applications.

enter image description here

  • the following error is shown When we click the Validate Button. Already mentioned in question – Hardik Apr 25 '16 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.