When you try to load Microsoft Office InfoPath 2007 form
templates in a Web browser, the following error message is logged in the
Application log or in the System log:
This problem occurs if the following conditions are true:
- The server has InfoPath Forms Services enabled.
- The Web browser is running on an x86-based computer.
- You have more than 100 InfoPath form templates that contain
- There is insufficient free contiguous memory. The memory is
fragmented because the managed code DLLs are loaded in random segments and
because the common language runtime (CLR) does not compact large object heaps.
Therefore, the system cannot allocate the required contiguous memory.
To work around this problem, you can rebase the managed code
DLLs. After you do this, the DLLs are loaded into one segment of the large
To specify a base address in Microsoft Visual Studio at
build time, open the Visual Studio project, click
menu, select the Build
then click Advanced
To pick base address ranges,
create a memory dump file for the W3wp.exe process in which you will be loading
the DLLs. To do this, follow these steps:
- On the Debug menu, click Attach to
Process, click to select the Show processes in all
sessions check box, click the W3wp.exe process under
Available Processes, and then click
- On the Debug menu, click
Windows, and then click Modules. You will see
the address range that is being used to load the modules.
If rebasing is completed at post-build time, this will invalidate
the strong name that the InfoPath designer applies to managed code assemblies.
These assemblies have to be reset.
Alternatively, you can upgrade to an x64-based computer. An x64-based computer has more addressable memory. Therefore, you will rarely experience an out-of-memory problem.
For more information about rebasing, click the following
Microsoft Web site:
Article ID: 931415 - Last Review: February 8, 2007 - Revision: 2.1
- Microsoft Office Forms Server 2007
|kbexpertiseinter kbtshoot kberrmsg kbprb KB931415|