Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PS2.0 Import-Module fails with FileLoadException

56 views
Skip to first unread message

SoniaPP

unread,
May 28, 2010, 1:44:17 PM5/28/10
to

Hi,
I have a clean Windows Server 2008 R2 machine.
When I open a PS Modules window, I see the following error:
Import-Module : Could not load file or assembly 'rmconfighelper' or one of
its dependencies. An argument was out of its
legal range. (Exception from HRESULT: 0x80131502)
At line:24 char:34
+ Import-Module <<<< $_.Name -ErrorAction
SilentlyContinue
+ CategoryInfo : NotSpecified: (:) [Import-Module],
FileLoadException
+ FullyQualifiedErrorId :
System.IO.FileLoadException,Microsoft.PowerShell.Commands.ImportModuleCommand

I get a similar exception when trying: Import-Module WebAdministration

Thanks much for your help,
Sonia

Bob Landau

unread,
Jun 1, 2010, 9:35:01 PM6/1/10
to
Sonia hopefully your still around. I don't have a lot of suggestions other
than it looks like these errors are caused by these module and not the system
as a whole.

Can you load the PSDiagonstics, BitsTransfer or anything else?

On your W2K8r2 machine do you have a website. Have you added that role? If
not that could be the cause.

I do have such a machine and while I'm no expect on the WebAdmin module I've
had no problems either loading or doing simply stuff.

I have no idea what this other module requires but I suspect that you are
missing a prerequisite of some type.

stej

unread,
Jun 2, 2010, 12:47:27 AM6/2/10
to
Is there anything in your profile? If so, can you post it?
Or what command is behind the link 'Ps Modules'? There must be some
modules being loaded and during that some of them probably fail
because of dependency on rmconfighelper.
0 new messages