Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Created sample webpart and i run that application, i am getting the following error.

Created sample webpart and i run that application, i am getting the following error.

Scheduled Pinned Locked Moved SharePoint
sharepointsysadminwindows-adminhelpannouncement
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HemadriT
    wrote on last edited by
    #1

    Hi, Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://thomas/. 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. Thank you.

    S A 2 Replies Last reply
    0
    • H HemadriT

      Hi, Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://thomas/. 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. Thank you.

      S Offline
      S Offline
      SPMatt
      wrote on last edited by
      #2

      IS there a DNS entry for this SharePoint install? Is it the same as your computername, or did you create a web app called Thomas on a machine with a totally different name. Likely you will need to create an entry in your "hosts" file located at C:\Windows\System32\drivers\etc - that points the name "thomas" to the necessary IP address (or 127.0.0.1 if you are on the same machine as the web app).

      1 Reply Last reply
      0
      • H HemadriT

        Hi, Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://thomas/. 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. Thank you.

        A Offline
        A Offline
        Anandavel p
        wrote on last edited by
        #3

        1st copy your sharepoint site url and then go to your webpart solution explorer ,just click on solutionexplorer and press f4 key change the site name(past the sp site url on siteurl) it will works Anand

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups