20480000 byte file size limit in .NET 4.0 or Windows?
I've notice that either .NET 4.0 applications or Windows itself cannot save file large than 20480000 kbytes! Basically, .NET application just reach this limit and reports success saving, while only 20480000 kbytes have been stored. The application use BinaryWriter class. I have the latest .NET 4.0 framework running under Windows 7 x64. I know that MS Office has the same limitation for personal data files, but it is not clear for me how it can be related to my issue. Moreover, it looks like each application should use some registry settings to override this limiting value. However, I thinking that it should be some policy setting regarding maximum file size. Therefore, could you please help me to solve this issue?
April 30th, 2010 6:08pm

Hi, windows filesytem NTFS have no limits for files. 20GB is normal size. In Windows is no problem. Maybe in .NET framework..
Free Windows Admin Tool Kit Click here and download it now
May 1st, 2010 11:56am

The office limitations are imposed by Microsoft manamgement. There is no impediment outsise of the application that causes the .NET framwork to open sand save files up to the amount of free space available when using a 64-bit project. Even a 32-bit one can use large files with a different API. Vote if answered or helpful, I am running for Office (joke)! IT/Developer, Windows/Linux/Mainframe Need a CPU to finish the new server, AM2/AM2+/AM3
May 1st, 2010 4:59pm

Hi, Does the suggestion on the following thread you posted help? http://social.msdn.microsoft.com/Forums/en/netfx64bit/thread/38cad972-b533-44e6-a400-e460461435d4Vivian Xing - MSFT
Free Windows Admin Tool Kit Click here and download it now
May 4th, 2010 9:33am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics