Microsoft KB Archive/888326

= You may receive a &quot;LNK1106: invalid file or disk full: cannot seek to 0x76364&quot; error message in Visual C++ .NET 2003 =

Article ID: 888326

Article Last Modified on 1/17/2006

-

APPLIES TO


 * Microsoft Visual C++ .NET 2003 Standard Edition

-





SYMPTOMS
When you have a Microsoft Visual C++ .NET 2003 program that is linked under IBM Rational ClearCase Source Code Control (SCC) and SCC uses local views, you may receive the following error message:

LNK1106: invalid file or disk full: cannot seek to 0x76364



CAUSE
This problem is caused by an interaction between the Link.exe file and the Rational ClearCase local views. The interaction causes Link.exe to fail when memory is allocated for files.



RESOLUTION
To resolve this problem, configure the Link.exe file to allocate enough file space for the expected image size when you link the program. To do this, add the following switch to your link:

/expectedoutputsize:50000000

Note Start at a value of 50000000, and increase the value to 75000000 in increments until your link is stable.

The ExpectedOutputSize switch allocates the memory for the image file instead of using the usual algorithm. The algorithm starts at 256 KB and doubles the size every time it is necessary to write beyond the end of the file. The ExpectedOutputSize switch reduces the address space fragmentation that those actions cause.

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Keywords: kbtshoot kbprb kbdesign KB888326

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.