Je suis en train de tester sharepoint et a chaque fois que j'essais
d'installer un webpart j'aai le message :
"One of the properties of the Web Part has an incorrect format. Windows
SharePoint Services cannot deserialize the Web Part. Check the format of the
properties and try again."
A priori le webpart a été correctement installé...Je ne peux pas non plus
changer le nom de "annoucement"....
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
EROL [MVP SPS]
Bonjour,
Une piste...
Cela va plus parler à Renaud ou à Stéphane (ils pourront peut-être commenter) :
AfterDeserialize Method
The AfterDeserialize method of the WebPart class is the virtual function that is called after a Web Part's properties are deserialized from the SharePoint database or from a Web Part description file (.dwp). Suggested place for Web Part upgrade code.
The AfterDeserialize method supports upgrade scenarios where a new version of a Web Part needs to accommodate changes to properties that have been saved for a previous version of a Web Part. If a Web Part developer simply adds one or more new properties, no upgrade logic is required. However, if properties are deleted, renamed, or the values saved are changed, then overriding the AfterDeserialize method provides a way for handling these changes when a Web Part is upgraded.
Example
The following code example shows an example of how to handle when one or more properties have been removed from the later version of a Web Part. Since elements which the assembly cannot recognize will be added to the UnknownXmlElements collection, the following code sample is an example of iterating through that collection and removing the unknown elements.
Voir le SDK. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/SPSDKWelcome.asp et http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid64AF62-C2E9-4CA3-A2A0-7D4319980011
Two SDKs available for download:
Windows SharePoint Services 2003 SDK: http://www.microsoft.com/downloads/details.aspx?FamilyID64af62-c2e9-4ca3-a2a0-7d4319980011&DisplayLang=en SharePoint Products and Technologies 2003 Software Development Kit (SDK) http://www.microsoft.com/downloads/details.aspx?FamilyIDª3e7fe5-daee-4d10-980f-789b827967b0&DisplayLang=en
++++++++++++++++++++++++++++++++ Allez sur le site je l'ai refait et largement développé, voir : http://www.mysps.info
@bientôt sur les news de SharePoint. Bonne fin de semaine.
EROL [MVP SharePoint Microsoft France] ***************************************** http://www.sharepointpro.net http://www.clubsps.org http://sharepointerol.blogspot.com/ http://giraudyp.perso.cegetel.net/Livre2.htm ============================= "Rickpier" a écrit dans le message de news:
Bonjour,
Je suis en train de tester sharepoint et a chaque fois que j'essais d'installer un webpart j'aai le message :
"One of the properties of the Web Part has an incorrect format. Windows SharePoint Services cannot deserialize the Web Part. Check the format of
the
properties and try again."
A priori le webpart a été correctement installé...Je ne peux pas non plus changer le nom de "annoucement"....
Une idée,une solution??
Rickpier
Bonjour,
Une piste...
Cela va plus parler à Renaud ou à Stéphane (ils pourront peut-être
commenter) :
AfterDeserialize Method
The AfterDeserialize method of the WebPart class is the virtual function
that is called after a Web Part's properties are deserialized from the
SharePoint database or from a Web Part description file (.dwp). Suggested
place for Web Part upgrade code.
The AfterDeserialize method supports upgrade scenarios where a new version
of a Web Part needs to accommodate changes to properties that have been
saved for a previous version of a Web Part. If a Web Part developer simply
adds one or more new properties, no upgrade logic is required. However, if
properties are deleted, renamed, or the values saved are changed, then
overriding the AfterDeserialize method provides a way for handling these
changes when a Web Part is upgraded.
Example
The following code example shows an example of how to handle when one or
more properties have been removed from the later version of a Web Part.
Since elements which the assembly cannot recognize will be added to the
UnknownXmlElements collection, the following code sample is an example of
iterating through that collection and removing the unknown elements.
Voir le SDK.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/SPSDKWelcome.asp
et
http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid64AF62-C2E9-4CA3-A2A0-7D4319980011
Two SDKs available for download:
Windows SharePoint Services 2003 SDK:
http://www.microsoft.com/downloads/details.aspx?FamilyID64af62-c2e9-4ca3-a2a0-7d4319980011&DisplayLang=en
SharePoint Products and Technologies 2003 Software Development Kit (SDK)
http://www.microsoft.com/downloads/details.aspx?FamilyIDª3e7fe5-daee-4d10-980f-789b827967b0&DisplayLang=en
++++++++++++++++++++++++++++++++
Allez sur le site je l'ai refait et largement développé,
voir : http://www.mysps.info
@bientôt sur les news de SharePoint.
Bonne fin de semaine.
EROL
[MVP SharePoint Microsoft France]
*****************************************
http://www.sharepointpro.net
http://www.clubsps.org
http://sharepointerol.blogspot.com/
http://giraudyp.perso.cegetel.net/Livre2.htm
=============================
"Rickpier" <_rousseau_@_praxim_._fr_> a écrit dans le message de
news:evL0nh7UEHA.2388@TK2MSFTNGP09.phx.gbl...
Bonjour,
Je suis en train de tester sharepoint et a chaque fois que j'essais
d'installer un webpart j'aai le message :
"One of the properties of the Web Part has an incorrect format. Windows
SharePoint Services cannot deserialize the Web Part. Check the format of
the
properties and try again."
A priori le webpart a été correctement installé...Je ne peux pas non plus
changer le nom de "annoucement"....
Cela va plus parler à Renaud ou à Stéphane (ils pourront peut-être commenter) :
AfterDeserialize Method
The AfterDeserialize method of the WebPart class is the virtual function that is called after a Web Part's properties are deserialized from the SharePoint database or from a Web Part description file (.dwp). Suggested place for Web Part upgrade code.
The AfterDeserialize method supports upgrade scenarios where a new version of a Web Part needs to accommodate changes to properties that have been saved for a previous version of a Web Part. If a Web Part developer simply adds one or more new properties, no upgrade logic is required. However, if properties are deleted, renamed, or the values saved are changed, then overriding the AfterDeserialize method provides a way for handling these changes when a Web Part is upgraded.
Example
The following code example shows an example of how to handle when one or more properties have been removed from the later version of a Web Part. Since elements which the assembly cannot recognize will be added to the UnknownXmlElements collection, the following code sample is an example of iterating through that collection and removing the unknown elements.
Voir le SDK. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/SPSDKWelcome.asp et http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid64AF62-C2E9-4CA3-A2A0-7D4319980011
Two SDKs available for download:
Windows SharePoint Services 2003 SDK: http://www.microsoft.com/downloads/details.aspx?FamilyID64af62-c2e9-4ca3-a2a0-7d4319980011&DisplayLang=en SharePoint Products and Technologies 2003 Software Development Kit (SDK) http://www.microsoft.com/downloads/details.aspx?FamilyIDª3e7fe5-daee-4d10-980f-789b827967b0&DisplayLang=en
++++++++++++++++++++++++++++++++ Allez sur le site je l'ai refait et largement développé, voir : http://www.mysps.info
@bientôt sur les news de SharePoint. Bonne fin de semaine.
EROL [MVP SharePoint Microsoft France] ***************************************** http://www.sharepointpro.net http://www.clubsps.org http://sharepointerol.blogspot.com/ http://giraudyp.perso.cegetel.net/Livre2.htm ============================= "Rickpier" a écrit dans le message de news:
Bonjour,
Je suis en train de tester sharepoint et a chaque fois que j'essais d'installer un webpart j'aai le message :
"One of the properties of the Web Part has an incorrect format. Windows SharePoint Services cannot deserialize the Web Part. Check the format of
the
properties and try again."
A priori le webpart a été correctement installé...Je ne peux pas non plus changer le nom de "annoucement"....