Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Web Part Error

96 views
Skip to first unread message

Raymond

unread,
Oct 2, 2008, 5:19:00 PM10/2/08
to
This error started today and it happens on every web application/sites that
uses Web Parts.

“Web Part Error: 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. “

1. I’ve attempted to remove and add the web parts, but I get this
“---------------------------
Windows Internet Explorer
---------------------------
Unable to add selected web part(s).

Image Web Part: 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.
---------------------------
OK
---------------------------“

2. I’ve followed this resolution and was unsuccessfull

http://support.microsoft.com/kb/826786


3. I’ve tried to repair the WSS 3.0 services and reboot
4. I’ve created new site and continue to get the error

5. I’ve set <SafeMode MaxControls="50" CallStack="true" /> and <customErrors
mode="Off" /> and get the following

“[WebPartPageUserException: 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.]
at Microsoft.SharePoint.WebPartPages.WebPart.ParseXml(XmlReader reader,
Type type, String[] links, SPWeb spWeb)
at Microsoft.SharePoint.WebPartPages.WebPart.Parse(String s, Type type,
String[] links, SPWeb spWeb)
at Microsoft.SharePoint.WebPartPages.WebPartImporter.CreateWebPart(Boolean
clearConnections)
at
Microsoft.SharePoint.WebPartPages.WebPartImporter.Import(SPWebPartManager
manager, XmlReader reader, Boolean clearConnections, Uri webPartPageUri,
SPWeb spWeb)
at
Microsoft.SharePoint.WebPartPages.SPWebPartManager.CompressWebPartNoSave(Boolean isClosed)

[Exception: Cannot create XmlSerializers for this Web Part.]
at
Microsoft.SharePoint.WebPartPages.TypeCacheEntry.CheckFailedEntry(XmlSerializer& xmlSerializer)
at Microsoft.SharePoint.WebPartPages.TypeCacheEntry.get_XmlSerializer()
at Microsoft.SharePoint.WebPartPages.WebPart.ParseXml(XmlReader reader,
Type type, String[] links, SPWeb spWeb)”

6. This is on the server event logs
“Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: Web Parts
Event ID: 6635
Date: 10/2/2008
Time: 4:47:54 PM
User: N/A
Computer: ASGSERV10
Description:
Unable to generate a temporary class (result=1).
error CS0021: Cannot apply indexing with [] to an expression of type
'Microsoft.SharePoint.WebPartPages.UnknownXmlElementCollection'
error CS0021: Cannot apply indexing with [] to an expression of type
'Microsoft.SharePoint.WebPartPages.UnknownXmlElementCollection'
error CS0021: Cannot apply indexing with [] to an expression of type
'Microsoft.SharePoint.WebPartPages.UnknownXmlElementCollection'
error CS0021: Cannot apply indexing with [] to an expression of type
'Microsoft.SharePoint.WebPartPages.UnknownXmlElementCollection'
error CS0117:
'Microsoft.SharePoint.WebPartPages.UnknownXmlElementCollection' does not
contain a definition for 'Add'

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Any help will be greatly appreciated

Thanks,
Raymond

Vaibhav Desai

unread,
Oct 3, 2008, 2:12:37 AM10/3/08
to
Are these out of the box web part or are you getting these errors on
custom webparts.?

Regards,

Vaibhav Desai

Raymond

unread,
Oct 3, 2008, 9:10:01 AM10/3/08
to
Thanks for your reply. The web parts are out of the box.

krishna

unread,
Oct 22, 2008, 4:18:00 AM10/22/08
to
Even we got the same error after installing few security patches.
Announcements & Calendar displayed as Web Part are getting the same error.

Installed the following patches.
http://support.microsoft.com/kb/956390
http://support.microsoft.com/kb/956803
http://support.microsoft.com/kb/956841
http://support.microsoft.com/kb/954211
http://support.microsoft.com/kb/957095
http://support.microsoft.com/kb/953749
http://support.microsoft.com/kb/953750

But, still it didn't help to resolve this problem.
--
thanks & Regards
-Krishna

Raymond

unread,
Oct 22, 2008, 9:31:02 AM10/22/08
to
I did nothing more and the next day the error disappeared. I’m guessing my
previous day efforts may have something to do with it.

Strom@discussions.microsoft.com Kris Strom

unread,
Dec 3, 2008, 4:01:03 AM12/3/08
to
This was the same case for our intranet! All of a sudden on Dec 2nd we got
this on some webparts. Some of them were not even complicated, they just
displayed a title yet got this error message. When I arrived the day after I
tried the universal fix (rebooting the machine) and it works fine now for
some reason.
No errors in the event viewer to help us.

Since they are custom webparts and we have a non-standard version of our
Sharepoint installation (12.0.0.6317) I'm not counting on much help from MS
regarding this.

spentsarskyy

unread,
Jan 4, 2009, 5:49:01 PM1/4/09
to
Try droping the DLL for the webpart into GAC. Performan IISRESET
--
Yaroslav Pentsarskyy (MCAD)
Blog: www.sharemuch.com
0 new messages