Closed ghostsquad closed 9 years ago
Please try now-- I have made a few fixes and optimizations. The biggest issue was one of our collaborators actually committed a change that required traceName as a parameter-- I changed this to optional to keep things simple.
Closed due to no response
Constructor on type 'SQLCC.Impl.MsSqlProvider.MsSqlProvider' not found.
AssemblyLoader.cs: Line 68
here's the line that the exception occurs on: return (T)Activator.CreateInstance(type, args);
it's because args = object[0] and there is no constructor for MsSqlProvider that accepts that as input.
debugging GetNamedArgumentArray shows something interesting happen on line 84:
Here's the local variables being compared: orderedParams "dbp.applicationName,dbp.connString,dbp.traceDir" string providedSignature "dbp.applicationName,dbp.connString,dbp.traceDir,dbp.traceName" string
there are no other constructors, so the foreach ends, so then the last line of the method is:
This error occurs when the config file is edited (per instructions from issue: KeyNotFoundException) (config addition below)
I've removed the above line from the config file, and added --app.traceName to the arguments when running the EXE and all seems well. Looks like we need an update to support dbp.traceName in the config file.