On 09/19/06 Shawn Vose wrote: > I have an exe that I built using visual studio 2000 that runs with out a > hitch on mono. The exe takes a name of an assembly from the command line > and executes the said method from the command line using refelection. > The assembly that I am trying to fire works to a point. The break occurs > when I try to create an instance to a web service. [...] > INNER_EXCEPTION:System.Reflection.TargetInvocationException: Exception > has been thrown by the target of an invocation. ---> > System.IO.IOException: Sharing violation on path ./logs/IntegrationBus.log > in <0x0032a> System.IO.FileStream:.ctor (System.String name, FileMode > mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean > isAsync, Boolean anonymous) [...] > in <0x0003d> System.Diagnostics.TextWriterTraceListener:.ctor > (System.String fileName, System.String name) > > In the exception message it is telling me of an unknown method. Is there > a way to find out what this "unknown method"'s name is?
The exception message is telling you that there is a sharing violation while opening the file "./logs/IntegrationBus.log". This probably means that another process has the file open already and the TextWriterTraceListener ctor wants to open it again (or there may be a bug in the code that keeps track of emulating the sharing policy of windows in the mono io-layer). Try removing the file, or file a bug report with a test case that reproduces the issue. lupus -- ----------------------------------------------------------------- [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
