Bug: Unhandled Exception: System.IO.IOException: The requested operation could not be completed due to a file system limitation

Hello, I have a 35GB text file that I'm copying from one folder to another folder via c#
(I simply open a StreamReader and a StreamWriter and copy line by line (something like sw.WriteLine(sr.ReadLine());)
If [the destination folder is a "windows compress folder" (right click folder > properties > Advanced > Compress content to save disk space)] then it fails else it works well.
Any idea how to solve the issue?
I have windows 8.1 with all latest updates. The ssd is a samsung 850 pro, and I tried on 2 machines, same results.
So to recap, it seems the issue is with the writing of big files on a compress folder, the reading is fine.
thanks.
w
Error:
2015.01.08 10:15:27] Unhandled Exception: System.IO.IOException: The requested operation could not be completed due to a file system limitation
[Err, 2015.01.08 10:15:27] 
[Err, 2015.01.08 10:15:27]    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
[Err, 2015.01.08 10:15:27]    at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
[Err, 2015.01.08 10:15:27]    at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
[Err, 2015.01.08 10:15:27]    at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
[Err, 2015.01.08 10:15:27]    at System.IO.StreamWriter.Write(String value)
w.

Hi w,
Per my understanding. This is not a C# code issue. I doubt the issue related your OS.
After search the error info,
here is a possible solution, please take a look
“The requested operation
could not be completed due to a file system limitation.”
<copied>
Please use Disk Defragmenter to defrag the NTFS volume on your side, which should fix this issue.
Please refer to:
A heavily fragmented file in an NTFS volume may not grow beyond a certain size
http://support.microsoft.com/kb/967351
For the limitation of NTFS, please check the following online guide.
How NTFS Works
http://technet.microsoft.com/en-us/library/cc781134(WS.10).aspx
</copied>
Best of luck!
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • When I try to access GameCenter on my Mac it says "The requested operation could not be completed due to an error communicating with the server." How can I fix this?

    When I try to access GameCenter on my Mac it says "The requested operation could not be completed due to an error communicating with the server." How can I fix this?

    This usually caused by a customised hosts file.
    These need to be the only entries in your /etc/hosts file:-
    # Host Database
    # localhost is used to configure the loopback interface
    # when the system is booting.  Do not change this entry.
    127.0.0.1       localhost
    255.255.255.255 broadcasthost
    ::1             localhost
    fe80::1%lo0     localhost
    Remove anything below these entries, then try and reconnect with GC. Once GC starts properly you can put the extra entries back in your hosts file, GC should start normally afterwards.
    https://discussions.apple.com/message/19276629#19276629
    Jerry

  • HT4314 Game Center problem. When I try to start a new Letterpress game, I get the message "Unable to create match please try again later. When I press "OK" I get the following message, " Error starting game. The requested operation could not be completed

    ...I get the following message, "Error starting game. The requested operation could not be completed because local player has not been authenticated".
    Can anyone advise me how to resolve this please?

    You should contact the developer of the game for assistance.

  • The requested operation could not be performed because OLE DB provider "MSOLAP" for linked server does not support the required transaction interface.

    I am getting the following error when attempting to INSERT the results of an "EXEC(@MDXQuery) at SSAS LinkedServer":
    The requested operation could not be performed because OLE DB provider "MSOLAP" for linked server does not support the required transaction interface.
    Here is code that illustrates what I am doing:
    DECLARE @MDX varchar(max);
    SET @MDX='
    SELECT
    [Measures].[Extended Service Count]
    } ON COLUMNS,
    NON EMPTY [Organization].[By Manufacturer].[Manufacturer]
    ON ROWS
    FROM (
    SELECT
    {[Organization].[Org Tree].&[2025],[Organization].[Org Tree].&[2040]} ON 0
    FROM [MyCube]
    /* Test 1 */
    EXECUTE(@MDX) at SSASLinkedServer;
    /* Test 2 */
    DECLARE @ResultsB TABLE (
    Manufacturer varchar(255)
    , ExtendedServiceCount float
    INSERT INTO @ResultsB (Manufacturer, ExtendedServiceCount) EXECUTE(@MDX) at SSASLinkedServer;
    Test 1 succeeds, returning expected results, and Test 2 fails returning the error mentioned above.
    Other articles I've found so far don't seem to apply to my case.  I am not creating any explicit transactions in my code.   When I use OPENQUERY, I am able to do the insert just fine, but not when I use EXEC @MDX at LinkedServer.
    Unfortunately in some variations of the query, I run into the 8800 character limit on OPENQUERY, so I need to use this other approach.
    Any ideas?
    -Tab Alleman

    Hi Tab,
    In this case, SQL Server Analysis Services doesn’t support Distributed Transactions by design. Here is a similar thread about this issue for your reference, please see:
    http://social.technet.microsoft.com/Forums/en-US/8b07be45-01b6-49d4-b773-9f441c0e44c9/olaplinked-server-error-msolap-for-linked-server-olaplinked-server-does-not-support-the?forum=sqlanalysisservices
    One workaround is that use SQLCMD to execute the EXEC AT command and saved the results to a file, then import using SSIS.
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • Java.io.IOException: The specified module could not be found

    Hi.
    I am using Runtime.exec() to run egrep on some files, and then trying to read its ouput in the following way:
    String command2 = "egrep \"" + pattern +
    "\" " + category + "egrep.txt";
    Process p2 = Runtime.getRuntime().exec(command2);
    double counterA = 0;
    try {
    BufferedReader fin3 = new BufferedReader(new InputStreamReader(p2.
    getInputStream()));
    String reader = "";
    while ( (reader = fin3.readLine()) != null) {
    counterA++;
    if (counterA != 0)
    //System.out.println(read + " ::: " + counterA);
    fin3.close();
    catch (Exception e) {
    System.out.println("E");
    And I get the following exception:
    java.io.IOException: The specified module could not be found
    at java.io.FileInputStream.readBytes(Native Method)
    and this goes on to show exceptions in BufferedInputStream and then my code.
    This does not happen all the time, so I cannot reproduce it easily. I have searched on google and in this forum looking for information but have not found out anything useful.
    Help would be appreciated. Thanks.

    The only possible reason for this error occurring that I can think of is that it is somehow a side effect of the limited buffer size for stdin and stderr.
    For an example of emptying both output streams simultaneously, see the StreamGobbler class in this article:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    (this applies to unix, the author just mixed it in with his discussion of windows issues, just remove the "cmd.exe" and other windows stuff)
    Another thing to try if only for the sake of experimentation would be to throw in a "exitValue = p2.waitFor()" just in case there's some unpredictable resource conflict going on (although I can't imagine why for egrep, but it's something to experiment with).
    Let me know if you can narrow down the conditions for reproducing the bug.

  • Help with a fcpx library that is locked "could not be opened. Read-only file system"

    Hi all,
    I recently moved all my fcpx projects/events to a new Harddrive - I thought I did this correctly by copying/duplicating all projects/events from within FCPX.
    When I last used FCPX all the projects/events were there - no issues.  Also, when I look at package contents - everything is still there in terms of events and file sizes.  
    All the library files are on an external hard drive, on an encrypted disk image.  Now a week later I have tried to open FCPX and I get the following error
    "The document “MND_Z_FCPX” could not be opened. Read-only file system" and nothing will open.
    Have checked permissions - these all seem in order.  OSX is10.9.5 
    Any suggestions as to what might be the issue? 
    Thanks in advance.
    R

    the permissions themselves look ok - they have my two computer profiles as read/write.   I also note that on some occasions the library has opened in my other Computer profile, but not in the one that I want it to open.
    So I think you're right, there is something with permissions happening here.  I keep a work and personal computer profile.
    Don't know how it happened - but the volume is definitely Read Only - even though I've created a Read/Write permissions for it

  • Java.io.IOException: The specified procedure could not be found

    I get this error in this code.
    private boolean updateCICServer(){
    boolean updatestatus=true;
    long fsize=0;
    int arraysize=0;
    byte temp[];
    try{
    if(f.length()>this.m_iCICDataSize){
    if(DEBUG) System.err.println("update file");
    fsize = f.length();
    arraysize = (int)f.length()-this.m_iCICDataSize;
    temp = new byte[arraysize];
    if (this.fs.read(temp,0,arraysize)!=-1){
    //THIS READ () Throws "java.io.IOException: The specified procedure could not be found"
    fs is a fileinput stream and it is open.
    addByte(temp);
    } else{
    updatestatus=false;
    }catch(Exception e){
    updatestatus=false;
    System.err.println(fsize);
    System.err.println(arraysize);
    System.err.println(this.m_iCICDataSize);
    System.err.println(e.toString());
    return(updatestatus);
    Any suggestions?

    Never mind I found it.
    It was a programmer (Me) IQ error.
    I did close the fs in another place in the program and for got about it.
    Still it is a strange error message.
    Well now I know.

  • The requested operation is not supported on forward only result sets.

    hi,
    com.microsoft.sqlserver.jdbc.SQLServerException: The requested operation is not supported on forward only result sets when using rs.relative() method. this exception occurs when using com.microsoft.sqlserver.jdbc
    st = con.createStatement();
    rs= st.executeQuery("select * from emp1");
    rs.relative(2);
    regards,
    gopi

    I suggest you use the following instead of 'relative'. Its a more standard way of doing it.
    while(rs.next()){
    String x1=rs.getString("firstName");
    }

  • The save for the web function has stopped working in my copy of photoshop elements 12.  I get this message, " The operation could not be completed.  The system cannot find the path specified" Resetting preferences did not fix.

    The save for the web function has stopped working in my copy of photoshop elements 12.  I get this message, “ The operation could not be completed.  The system cannot find the path specified” Resetting preferences did not fix.

    my os is windows 7.  elements 12 worked fine for many months then save for the web stopped working

  • PS CS5 The operation could not be completed. A file system I/O error has occurred

    Howdy...
    I'm using Photoshop CS5 and when I go to use a handful of filters such as Liquify or Lens Correction I am suddenly getting an error message saying:
    "The operation could not be completed. A file system I/O error has occurred"
    Doesn't matter if it's a massive file or a small one. Sometimes the Liquify box will actually come up, but after I make one or two strokes, the beachball comes up and moments later I get the error message again. It doesn't actually crash PS, it just prevents me from using those filters. Each time I click, the error message comes up again. I've also tried it with my PS CS3 on the same Mac and it does the same thing. However on my 4 year old MacBook Pro, it's absolutely fine. Grrrrr!
    I have my PS set as default on 64 bit. I have a scratch disk with nearly 500gb free (which is not my start-up disk) I am running a Mac Pro 2.8 GHz 8 Core Intel with 16gb of ram, so it's not a memory problem. Running Mac OS 10.6.7 but did the same on 10.6.6 too.
    I have repaired the disk permissions on the start-up disk. I have reloaded a fresh copy of PS (a few times). Even did a hard Un-install with maccs3clean after trying a regular Un-install with no success.
    I had an 1.5hr conversation with an Adobe Tech guy earlier today and he's scratching his head, so I'd thought I'd throw it open to you guys hoping someone has had the same problem and can save the rest of my hair from being pulled out.
    HELP!

    Hi Guys,
    I know this is an old post but I need to bump it.
    I work for a image processing company and we all sit on top spec mac pro's with 16-32 GB of RAM, top graphic cards and SSD drives.
    All of my collegaues' computers are working fine when it comes to using liquify and all of the filters that come with CS5, but it sure doesn't work on my mac at all.
    We have a tech guy who has re-installed the OSX on a new SSD drive now two times and we have started from scratch with installing CS5 but it still will not work. I keep getting "the operation could not be completed..." every time i try
    to liquify or do any other filter work.
    I am 100% sure it doesn't have to do with any disk permissions or broken drives in my case.
    Could there be an issue with the graphic card or any other hardware component since it's clearly not a software related issue?
    Any help would be much appreciated because we are very much in the dark here.
    Best regards,
    Anders

  • On Firefox I get The requested URL could not be retrieved On Internet explorer it works What is wrong?

    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: http://www.google.com.au/
    The following error was encountered:
    * Unable to forward this request at this time.
    This request could not be forwarded to the origin server or to any parent caches. The most likely cause for this error is that:
    * The cache administrator does not allow this cache to make direct connections to origin servers, and
    * All configured parent caches are currently unreachable.
    Your cache administrator is webmaster.
    Generated Tue, 08 Jun 2010 03:40:48 GMT by proxy.syd.connect.com.au (squid/2.7.STABLE5)

    It could be a firewall or other security software blocking the access for Firefox - if you use the default Windows Firewall in XP, you can find help in article [[Configuring Windows Firewall]].
    If you use a 3rd party security program, you could look for help with configuration in our KB articles (use yellow Search box on right side of this page - search on provider, like Norton, AVG, F-Secure), or post the name here and we'll help you find relevant link(s).
    If the problem persists, this article might also help you solve it:
    [[Error loading web sites]] (comprehensive article with solutions and links to other articles).
    When you get online, I would recommend updating Firefox. The latest version is Firefox 3.6.3. You can get it from [http://getfirefox.com getfirefox.com] and install it over your current version. Also see article [[Updating Firefox]] for info.
    Please let us know how above works out, and if we can be of further assistance. Detailed feedback is appreciated and helps us to help you better, plus enables us to better help more users with similar problems.

  • The requested item could not be found...

    My phone is one of the tested for Firefox Mobile (Xperia X10), and yet I keep getting the "The requested item could not be found" when trying to download it...

    If you have a compatible device, you can download Firefox 4 Beta for Android by clicking the "apk" file on this page, using your phone's web browser:
    http://ftp.mozilla.org/pub/mozilla.org/mobile/releases/latest-beta/android-r7/multi/
    Short URL: http://bit.ly/fxmobilebeta
    Note: While the Sony Ericsson Xperia X10 is compatible with Firefox for Android, the X10 Mini and X10 Mini Pro are not. For details, see: https://wiki.mozilla.org/Mobile/Platforms/Android#System_Requirements

  • Specified driver could not be loaded due to system error 127: The specified procedure could not be found. (...SQORA32.DLL).

    I recently upgraded from 10g to 11g and upon this upgrade, a website of mine stopped working.
    It is a classic ASP website.  I added a "testdatabase" page to the website to test the basic functionality of opening a connection.  I've pasted the testdatabase page below.  Anyways, upon running this page, I get this error:
    Specified driver could not be loaded due to system error 127: The specified procedure could not be found. (Oracle in OraClient11g_home1_32bit, D:\app\oracleadm\product\11.2.0\client_1\BIN\SQORA32.DLL).
    I have two other environments where I have done the same upgrade and the site works just fine.  I have compared all the IIS settings in my other environments to that of the one suffering from the error.  Also, in the IIS settings, I have made sure that "Allow 32bit" was checked.
    D:\app\oracleadm\product\11.2.0\client_1\BIN\SQORA32.DLL is actually where this DLL resides. 
    I have also checked to make sure the environment variables are correct.
    The very first environment variable in the PATH setting is D:\app\oracleadm\product\11.2.0\client_1\bin; and there are no other references to oracle in the PATH environment variable.
    I have done a google search and I've seen that people also tell me to check ORACLE_HOME to make sure it's correct.  I've checked this in both of the working environments and there is nothing there.  There is also nothing there in the broken environment.  What should be there?  If anything?
    I don't know where else to look.  What could be causing this error?
    <%
    Option Explicit
    Response.Expires = 0
    Response.Buffer  = true
    Dim conn
    Err.Clear
    On Error Resume Next
    Set conn = Server.CreateObject("ADODB.Connection")
    conn.Open "DSN=RPS11;UID=FFXQM;PWD=ffxqm6prd$"
    If Err.Number <> 0 Then
    Response.Write (Err.Description & "<br><br>")
    Response.End
    conn.Close
    Set conn = Nothing
    End If
    conn.Close
    Set conn = Nothing
    On Error GoTo 0
    %>

    As a temporary solution, add the Administrators group to the IUSR and IWAM userids and see if that works. If it solves the problem, then it IS a matter of setting the users privledges correctly.

  • Remove-DfsnRootTarget - The requested object could not be found

    Hi,
    I just discovered that both target paths in a DFS root target is referenced by NetBIOS name, not FQDN (the names is generalized):
    Get-DfsnRootTarget -Path \\Contoso.local\AccountingSoftware| Format-List
    Path                  :
    \\Contoso.local\AccountingSoftware
    TargetPath            :
    \\Contoso-FS1\AccountingSoftware
    State                 : Online
    ReferralPriorityClass : sitecost-normal
    ReferralPriorityRank  : 0
    Path                  :
    \\Contoso.local\AccountingSoftware
    TargetPath            :
    \\Contoso-FS2\AccountingSoftware
    State                 : Online
    ReferralPriorityClass : sitecost-normal
    ReferralPriorityRank  : 0
    The goal is to remove and re-add the target paths one by one in order to use FQDN.
    When trying to remove one of the targets, I receive the following error:
    Remove-DfsnRootTarget -TargetPath "\\Contoso-FS2\AccountingSoftware" -Path "\\Contoso.local\AccountingSoftware"
    Remove-DfsnRootTarget : The requested object could not be found.
    What could be the reason for this? I get a similar error message both when using the DFS MMC tool and dfsutil.

    Hi,
    Based on your description, we can follow the article below to configure DFS to use fully qualified domain names in referrals.
    How to configure DFS to use fully qualified domain names in referrals
    http://support.microsoft.com/kb/244380/en-us
    Best regards,
    Frank Shen

  • The requested item could not be found error when trying to download Firefox 4 beta

    I get the error "The requested item could not be found" when trying to download Android Firefox 4 beta.

    Please check here to see whether Firefox is available for your phone:
    https://wiki.mozilla.org/Mobile/Platforms/Android#System_Requirements

Maybe you are looking for

  • How can i condense contacts? is their an app for this?

    Hi, I have a new iPhone 4 and i used google sync to pull in all my contacts from gmail and my old blackberry. this left me with seemingly infinite contacts, and many listings for the same names. Is there an app that would help me consolidate them (or

  • I need to remove a website that I allowed as an exception.

    I tried to go to a website and was told that it might not be secure. I allowed it and added it as an exception. Now I found that it was the wrong website and want to remove it from my exceptions. Where do I find that option?? Thanks!

  • Network Magic & E-1200s?

    My old router gone bad, I had and got this one, but seem network magic don't work with link/ Cisco router links WI-Fi Router N300 monitor model: 10822C66347939 like to have any tip how to get home  network with this router and share printer setting w

  • Urgent!!!! EDI- Invoice Verification - MRHR( INVL ) - IDOC_INPUT_INVOIC_MRM

    Hi all,        I'm facing an error while uploading a EDI format flat file into SAP. An Idoc gets generated and the status error message number is <b>51 :</b> and it tells that <b>IDOC_INPUT_INVOIC_MRM NOT ALLOWED.</b> <b>The Basic Type is INVOIC02 Th

  • What are the RMI Failure modes?

    I was surprised today when I pulled the network. My client was working with my server. Between calls I disconnected the connection. Made a call which failed. Then reconnected. The next call performed full speed. I expected a 'reconnection' delay. Why