Steps to deploy Webpart in Sharepoint Server 2007
1. Copy themes files to C:\Inetpub\wwwroot\wss\VirtualDirectories\80\_themes if you have it in webpart.
2. Open web.config file under the port 80 C:\Inetpub\wwwroot\wss\VirtualDirectories\80\
3. Add assembly information to safecontrol tag
Ex. <<SafeControl Assembly="HelloworldWebPart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9f4da00116c38ec5" Namespace="HelloworldWebPart" TypeName="HelloworldWebPart" Safe="True" />>
4. Move the webpart assembly file(.dll under bin folder) to GAC.
5. Restart IIS using iisreset command
6. Go to webpart Gallery and click New on the top.
7. You could find your webpart, select the webpart and click populate button to load the webpart to Gallery.
8. Eventually create a webpart page and add this webpart to the web page.
9. Hope you could see the result displayed in the webpage in the form of webpart.
Happy Coding...
No comments:
Post a Comment