Search code examples
sharepointwspbuildersharepoint-2007

WSPBuilder questions for first-time webpart


I have made my first webpart using WSPBuilder. When I try to deploy it using STSADM, I get an error stating access is denied. I am an admin on the machine (well it's a VM).

Also, with WSPBuilder, do I need to change the config files (I assume no as the point of the tool is to automate this)?

Thanks


Solution

  • There could two reasons for your problem

    1. Even though you are the admin of the system you may not have privilege in central Administration. So login in the system with the user name of sharepoint administrator and try to deploy it.
    2. There may be a problem in the way you created the WSP. if you deploy webpart using WSP then there is no need to edit the config file manually. Recently I have created a blog which explain how to create simple webpart, creating WSP and deployment. If interested check it out http://www.allaboutmoss.com/index.php/2010/03/22/hello-world-sharepoint-webpart-for-beginners/