View Single Post
Old 02-04-2013, 05:11 AM  
Junior Member
Join Date: Dec 2012
Posts: 15

Originally Posted by Yil View Post
Is that error you were getting before when you ran it from ioFTPD's scheduler? If not then just run it from ioFTPD's scheduler else I'll be happy to help track down the issue so you can.

I'm not sure how C# handles writing to files if Jeza wants to write to it directly. Assuming it opens it for exclusive writes and can write whole lines at a time it should be ok, but it's not a great idea to write partial lines to the logfile as that tends to break simple scripts like eggdrop's which read it and get confused if lines aren't terminated.
Yil, this is the error that occurs everytime its ran via Scheduler:

[2013-01-31 13:00:21] System.Runtime.InteropServices.COMException (0x80090006): Invalid Signature. (Exception from HRESULT: 0x80090006)
   at System.StubHelpers.InterfaceMarshaler.ConvertToManaged(IntPtr pUnk, IntPtr itfMT, IntPtr classMT, Int32 flags)
   at Microsoft.Win32.Win32Native.CreateAssemblyNameObject(IAssemblyName& ppEnum, String szAssemblyName, UInt32 dwFlags, IntPtr pvReserved)
   at Microsoft.Win32.Fusion.ReadCache(ArrayList alAssems, String name, UInt32 nFlag)
   at System.Reflection.RuntimeAssembly.EnumerateCache(AssemblyName partialName)
   at System.Reflection.RuntimeAssembly.LoadWithPartialNameInternal(AssemblyName an, Evidence securityEvidence, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.LoadWithPartialName(String partialName, Evidence securityEvidence)
   at System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly(Type type, String defaultNamespace, XmlSerializerImplementation& contract)
   at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
   at jeza.ioFTPD.Framework.Extensions.Deserialize[T](T xmlObject, String fileName, String defaultNamespace)
   at jeza.ioFTPD.Framework.ConsoleAppTasks.ParseConfig()
   at jeza.ioFTPD.Archive.Program.Main()
biggysmlz is offline   Reply With Quote