Web part development in local machine or server

Hi, I have a server where the WSS installed and I have installed VS 2005 in my local machine. Trying to create a web part from local machine using the "Visual Studio 2005 Extensions for Windows SharePoint Services 3.0".

But the problem is, I am getting an error message saying "No sharepoint site exists for the URL" and the debug process stops. To correct the error, I went and changed the URL to the one hosting the sharepoint services under

project propeties > debug > start browser with URL

and I re-compile, still getting the same error.

I am wondering of few things:

- do I need to install VS 2005 in the server and start developing the web parts in the server itself

- If above is not a good idea, then how do I get rid of the error message and get the web part compiled successfully to be loaded into WSS

Really appreciate your help. Thanks in advance.

[1040 byte] By [Robet] at [2007-12-29]
# 1

If you have a sharepoint installed on your server then you have to create a Web Application from SharePoint Central Administation. Then provide the "start browser with URL" to that top level site.

SumitKute at 2007-9-4 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Development and Programming...
# 2

Thanks for the reply... I have tried what you asked me to do. But I am still getting the same error. when I try to access the website with the addess http://wp-myserver:24926/ it is giving the below error message. is the error message got anything to do to the debugging problem that says "no sharepoint site exists....". Thanks

Error: Access Denied

Current User
You are currently signed in as: NCHEO\W91207
Sign in as a different user

Robet at 2007-9-4 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Development and Programming...
# 3
http://www.devx.com/webdev/Article/33456

Similar problem gets a mentioned in this article

inbanco at 2007-9-4 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Development and Programming...
# 4

The recommendations i have come across are that you develop web parts, event handlers, custom field types, site definition templates etc on VS.NET on the server.

I agree it is not really a great way of doing things, especially when you work more than 2-3 on a project, but so far this is how its done.

You also get full step-by-step debugging when working on the server.

You can however create for example web parts remotely by adding sharepoint assembly to your project (remember to set Copy Local to false) if you build the web part from scratch, but if you use the extensions alot happens "under the hood" such as creating a solution (WSP file) and deploying this on your server. This is done with STSADM.exe that only runs on the server, so in that case you need to work directly on the server.

hth

AndersR

AndersR at 2007-9-4 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Development and Programming...
# 5
Hei. Thanks for all your replies. Finally I think I know where I am heading to.
Robet at 2007-9-4 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Development and Programming...

SharePoint Products and Technologies

Site Classified