I get following
Logged in as Bot_MSSQL.
new-object : Exception calling ".ctor" with "3" argument(s): "Object reference not set to an instance of an object."
At C:\PS\OpdaterDokuwiki\Load_Instance_List.ps1:10 char:9
+ $site = new-object DotNetWikiBot.Site("http://xxxxxx.ku.dk", "B ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvocationException
+ FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
PowerShell 4 on Windows 2012 r2.
Both DotNetWikiBot and DotNetWikiBot4
Only working is Windows 2008 r2, all newer fails any idea
Look forward to hear from you
,
/Klaus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I get following
Logged in as Bot_MSSQL.
new-object : Exception calling ".ctor" with "3" argument(s): "Object reference not set to an instance of an object."
At C:\PS\OpdaterDokuwiki\Load_Instance_List.ps1:10 char:9
+ $site = new-object DotNetWikiBot.Site("http://xxxxxx.ku.dk", "B ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvocationException
+ FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
PowerShell 4 on Windows 2012 r2.
Both DotNetWikiBot and DotNetWikiBot4
Only working is Windows 2008 r2, all newer fails any idea
Look forward to hear from you
,
/Klaus
This error message doesn't provide enough information to find the cause.
If everything works fine on old Windows 2008 r2 you can try installing that specific .NET version on the new system.