First Steps with the SharePoint Tool Provider
The SharePoint tool provider requires a couple of preliminary steps before it can successfully generate a project portal.
The following description assumes a blank Windows Server 2003 with SharePoint installed.
Installation of Site Templates and WebParts
Before the tool provider can generate a V-Modell XT portal, the associated webparts and site templates must be installed on the target server. These are bundled in a SharePoint WSP solution file (this file can be downloaded here:
PET 0.9.0.0 SP Deployment
). The ZIP contains a command-line script
that contains the commands necessary to install the WSP solution in the target SharePoint root website. Before running it, please do the following:
- Open the file deployment_script.cmd in a text editor.
- If necessary, change the path to point to the bin
directory of your SharePoint installation. For an English default installation, this would be
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
- Change the URL of the target root website to the URL of the SharePoint root website that you want to install the WSP solution in. Replace all occurences of
http://sts-server in the file with the URL of your website.
- Now execute the customized deployment_script.cmd
- If the solution has not yet been installed in the target website,
deployment_script.cmd will output several errors because it attempts to remove any previous version of the solution. These messages can be safely ignored.
Grant SharePoint object model access to the newly installed webparts
By default, SharePoint does not allow webparts to access it's object model. The webparts coming with the SharePoint tool provider will not work without access to the SharePoint object model. For more information, please refer to:
Microsoft Windows SharePoint Services and Code Access Security
The easiest (but not the safest) way is to set the trust level to full. To do so, please do the following:
- Open the web.config file. It is usually located in
- Look for this line: <trust level="WSS_Minimal" originUrl="" />
- Change the trust level to "Full", like so:
<trust level="Full" originUrl="" />
- Save and close the file
- Restart IIS by issuing the command iisreset.exe
on the command line.
Run the PET SharePoint tool provider
Now the SharePoint server is ready for the SharePoint tool provider.