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

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

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

Office 2007 File Format MIME Types for HTTP Content Streaming

Summary Office 2007 introduced new file formats for common document types (Word documents, Excel spreadsheets, and PowerPoint presentations), and has standardized on new MIME types for each new format.  The following information is provided to document the new MIME types and their proper use in HTTP content streaming situations. More Information The following table documents…

3

OCX Controls Used in VBA-Enabled Applications Cannot be Side-By-Side (SxS) Registered

Summary ActiveX Controls used in core Office Applications (such as Word, Excel, PowerPoint, or Visio) are bound using ITypeInfo from an associated type library (*.tlb) and extender library (*.exd) when created or loaded inside a document or macro dialog form (VBA UserForm).  VBA enables programmability to controls added to the host using code that assumes…

1

ShellExecute fails when called from Internet Explorer Protected Mode

Summary When calling ShellExecute to open of Office document from Internet Explorer, the call will fail with a “File not Found” error if Protected Mode is turned on. The problem occurs after installing Office 2007 Service Pack 1 on Windows Vista. Cause Internet Explorer Protected mode is available when running Internet Explorer 7 on Windows…

1

Changes in OCX Save Behavior for Office 2007 Documents

Summary As part of the change for default file formats in Microsoft Office 2007, ActiveX Controls (OCX) saved by Office applications will be asked to save themselves using IPersistPropertyBag, where the property bag being used is a text-only storage medium.  This allows Office to persist the control’s data as XML markup in the document, per the…

1

Description of the Microsoft Office Existence Discovery Protocol

Summary When opening documents from a URL location in Microsoft Office 2007, the Office library can make an HTTP HEAD request to the web server for the opening URL.  This request is sent with a User-Agent set to”Microsoft Office Existence Discovery”.  This call is new to Office 2007. More Information The purpose of the HEAD request is…

2

Availability of Office File Format Documentation

Developers working with Microsoft Office files can now freely download he specifications for both the Office 2007 Open Office XML (OOXML) Formats and the older Office 97-2003 Binary File Formats (BIFF), for Word/Excel/PowerPoint.  Microsoft has agreed to cover both sets of formats under the Open Specification Promise (OSP) program.  For information about the OSP program, visit this…

0