I am affraid, the dll file is there. Following code snipped should make sure it
is before trying to load the dll
if (-not (Test-Path -Path $log4netDllPathString)) {
assert-fatal(
'I cannot find the logging library at ' +
$log4netDllPathString
It looks like powershell can't find where log4net.dll is located. As log4net is
platform neutral (compiled as any CPU), I don't think 32 x 64 bit OS is issue.
Where you have log4net.dll installed? Probably is good idea to put it into GAC.
Or put it into folder where powershell is installed. Key
Assuming that on either system the most resent framework gets loaded, on both
systems 4.0.30319 is used. However, on the server there are both flavours, 32
and 64 bit. I do not know which one is loaded.
I forgot to mention that we use log4net 1.2.13, in case this makes a
difference. The
Hi all
I am at my wits' end. We developped PowerShell script which uses log4net. I can
run the script successfully from a batch file on my laptop but on the server I
get
Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem'
provider failed.
To be honest, the error message is rather cryptic to me. What I know is that
log4net is not compiled against a specific architecture. If the targeted
.NET framework is installed it should work. Have you checked that?
Von: thiemo.kell...@bfs.admin.ch [mailto:thiemo.kell...@bfs.admin.ch]
I found https://issues.apache.org/jira/browse/LOG4NET-138 . Maybe there is a
problem?
Liebe Grüsse/Cordialement/Cordialità
Thiemo Kellner
--
Office fédéral de la statistique
Espace de l'Europe 10
2010 Neuchâtel / Suisse
IT-AB
Tel +41 32 71 36516
Von: thiemo.kell...@bfs.admin.ch