[Mono-bugs] [Bug 398990] New: Sharing Violation on path

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 10 13:10:24 EDT 2008


           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: dick at novell.com
        ReportedBy: majidy at deltatau.com
         QAContact: mono-bugs at 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();
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.

More information about the mono-bugs mailing list