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


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


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.


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:
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.


ID do Artigo: 888326 - Última Revisão: 17 de jan de 2006 - Revisão: 1