https://bugzilla.novell.com/show_bug.cgi?id=398990


           Summary: Sharing Violation on path
           Product: Mono: Runtime
           Version: 1.9.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: io-layer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: mono-bugs@lists.ximian.com
          Found By: DeveloperNet


Description of Problem:

When reading a file from .net web application. After some iteration it gives
the following error:

Error: Sharing Violation on path

I don't know where this error is thrown and I could not find any clue from
searching the web about this special error.


Steps to reproduce the problem:
1. using C# fileReader as follow
            FileStream myStream = new FileStream(fileName, FileMode.Open);
            StreamReader myStreamReader = new StreamReader(myStream);
            fileContent = myStreamReader.ReadToEnd();
            myStreamReader.Close();
            myStream.Close();
2. Keep reading from file for 4 or 5 times.


Actual Results:

This error is being thrown:

Error: Sharing Violation on path [unknown]


Expected Results:


How often does this happen? 

Always after some iteration (4-5 times)


Additional Information:


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to