Kako iz asp.net web part spravit v sharepoint web part

Naredil sem sledeče:
- naredil asp.net webpart  in za asp strani deluje
-potem spremenim dedovanje in sicer deduje iz Microsoft.SharePoint.WebPartPages.WebPart
-nesem dll na windows 2003 kjer  so nameščeni sharepoint-i , moj dll registriran v assemly (GAC)
-popravim web.config od Sharepointov (v iis) v web.configu dodam vrstico
<SafeControl Assembly="MojWebPart, Version=2.0.0.1, Culture=neutral, PublicKeyToken=c41c39d863f8d8a1" Namespace="MojWebPart" TypeName="*" Safe="True" />
-iis resetiram
-zazenem sharepointe v browserju -> site setting -> web Parts -> new in mi ga ne najde

Hvala za pomoč
Avtor: alex, objavljeno na portalu SloDug.si (Arhiv)

Leave a comment

Please note that we won't show your email to others, or use it for sending unwanted emails. We will only use it to render your Gravatar image and to validate you as a real person.

bing
bing - ponedeljek, 07. april 2008

Poskusi prenesti *.dll v bin direktorij. A&nbsp;je sharepoint na eni mašini ali na farmi? A je public class? Če ni, ga ne boš videl v seznamu novih web partov.Ful bedna fora, sam sem enkrat cel dan iskal napako....