Problems with System.OutOfMemoryException At System.String.GetStringForStringBuilder in 32-Bit Managed Solutions

If you are working with a VSTO or managed code solution for Office, you may encounter a System.OutOfMemoryException when working with very large DataSets, XML files, or numerious object serialization calls. The problem typically occurs on a call to System.String.GetStringForStringBuilder in the managed call stack. For details on the problem and its general cause, see…

1

Problems with System.OutOfMemoryException At System.String.GetStringForStringBuilder in 32-Bit Managed Solutions

Symptom Managed code solutions that use classes from the System.Data or System.Xml name may encounter a System.OutOfMemoryException when working with large datasets, XML files, or repeated operations that involve hundreds of (xml) object serialization calls from standardized components.  The exception may cause the program to stop working or report an unexpected error to the user.  When…

1

OLE Link to Word 97-2003 File May Fail with OLE_E_CLASSDIFF Error on Open

You may encounter an OLE_E_CLASSDIFF (0x80040008) error on calls to OleRun or IOleObject::DoVerb when attempting to bind to a Word document saved as an OLE link by Word 2007.  See the following post for details: OLE Link to Word 97-2003 File May Fail with OLE_E_CLASSDIFF Error on Open

0

OLE Link to Word 97-2003 File May Fail with OLE_E_CLASSDIFF Error on Open

Symptoms You may encounter an OLE_E_CLASSDIFF (0x80040008) error on calls to OleRun or IOleObject::DoVerb when attempting to bind to a Word document saved as an OLE link.  This occurs when the following conditions are true: The document linked to is a Word 97-2003 document (*.doc). Word 2007 was used to create the link. The OLE link…

1

Unable to Open Office Documents for Edit From SharePoint Behind Cisco CSS Load Balancer

If you use a Cisco CSS switch for load balancing or content caching to a SharePoint Server farm, you may be unable to edit Office documents correctly if the switch is configured for Layer 5 content rules. By default, the Cisco CSS switch will block certain HTTP methods that are used to establish web authoring,…

0

Unable to Open Office Documents for Edit From SharePoint Behind Cisco CSS Load Balancer

Summary When you build a Microsoft Office SharePoint (MOSS) server farm and configure it for load balancing, you may be unable to open Office documents for edit access (collaboration) if you are using a Cisco Content Server Switch (CSS) with Layer 5 content rules applied.  From the client, you may experience one of the following…

0

Excel 2007 XLL SDK Unicode String Support Update

The Microsoft Excel 2007 XLL SDK introduced a new data structure, the XLOPER12, which allows your addin to obtain Unicode strings in XLL function calls.  However, there were a couple of limitations with the implemention of the SDK which prevented your XLL from taking full advantage of this new capability. Specifically, while Excel 12 would allow strings in…

0

Problems with SharePoint DateTime Columns in Office 2007 Documents Edited by Office 2003

A problem was recently discovered with the Office 2007 Compatibility Pack file converters when used to open Office 2007 Open XML files in previous Office versions, when those files have custom Date/Time properties attached associated with SharePoint. If the documents are opened and saved back to SharePoint in Office XP/2003, the Date/Time property may accidently get…

0

SharePoint Document Library Date Time Columns May Be Incorrectly Changed for Office 2007 Documents if Opened and Saved by Office XP/2003

Symptoms If you create a document library in Microsoft Office SharePoint Server (MOSS) with a custom column of a Date/Time data type, and you store Office 2007 (Open XML) documents in that library, if the files are opened, edited and then saved back to the SharePoint library using Office XP or Office 2003, the date/time…

1

Field’s promoted from an InfoPath form template during publishing to a Microsoft Office SharePoint Server are created multiple times

When publishing an InfoPath Form Template (XSN file) to multiple servers (i.e. a development server and a production server) and you are promoting fields from the InfoPath data source to be created as columns in SharePoint, those fields may get recreated each time you publish the XSN. See the following post for more information:Field’s promoted…

0