Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2009
    Location
    Boucherville
    Posts
    2

    example/DotNetStockListDemo with Net 2.0

    Hi,

    I compile xample/DotNetStockListDemo, I try to load the DotNetStockListDemo.dll using
    DotNetServer_N2.exe, I got log file error can not lock *.log file it is accecced by another process. Can someone help me? I create bat file based on DotNetServers.bat batch file.

    Thanks

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    This is a known issue. The supplied DotNetServer_N2.exe takes its logging configuration from the nearby DotNetServer_N2.exe.config file.
    As this exe can be made to run in multiple instances (as DotNetServers.bat does), two instances started from the same directory would get the same configuration and could conflict on the same log file.

    Maybe, a log4net configuration expert knows how different processes can be made to log on the same file with no conflicts.

    However, this limitation should not prevent any instance from running. May you please confirm that?

 

 

Similar Threads

  1. Replies: 6
    Last Post: May 7th, 2007, 06:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 06:46 AM.